Crypto Price Tracker is a Chrome extension that allows users to track real-time cryptocurrency prices directly from their browser. It provides a user-friendly interface to monitor your favorite coins and manage your crypto investment portfolio.
- Real-Time Price Tracking: Stay updated with automatic price refreshes every 15 seconds.
- Cryptocurrency Search: Quickly search for cryptocurrencies using fuzzy autocomplete.
- Coin Details: View in-depth information such as market cap, 24h volume, and price range.
- Price Charts: Visualize price changes with simple charts.
- Portfolio Management: Track your crypto investments and view summaries.
- Multi-Wallet Support: Create and manage multiple wallets to organize your assets.
- Profit/Loss Analysis: See how your investments are performing with auto-calculated P/L.
Built with:
- React
- TypeScript
- Vite
- Chrome Extension APIs
- Fuse.js (for fuzzy searching)
-
Clone this repository:
git clone <repository-url> cd vanilla-ts
-
Install dependencies:
npm install
-
Build the extension:
npm run build
This will generate a
dist/folder containing the production-ready extension. -
(Optional) For development with hot reload:
npm run watch
- Open Chrome and go to
chrome://extensions/ - Enable Developer mode (top-right corner)
- Click Load unpacked
- Select the
dist/folder from this project - The extension icon will now appear in your browser toolbar
- Click the extension icon to open the sidebar panel
- Go to the Crypto Prices tab
- Use the search bar to find and add coins to your watchlist
- Click "Add" to track them
- Click the expand icon to see more detailed information
- Go to the Portfolio tab at the top
- Add a coin by entering:
- The symbol (e.g. BTC)
- The amount you own
- The purchase price
- View your portfolio summary, including total value and profit/loss
- Create additional wallets by clicking the "+" button next to the wallet tabs
vanilla-ts/
├── public/ # Static assets
├── src/
│ ├── components/ # React components
│ │ ├── features/ # Feature-specific components (e.g., Autocomplete)
│ │ └── pages/ # Main pages
│ ├── styles/ # CSS files
│ ├── types/ # TypeScript definitions
│ ├── utils/ # Utility functions
│ ├── background.js # Extension background script (service worker)
│ └── main.tsx # Application entry point
├── manifest.json # Chrome extension manifest
└── vite.config.ts # Vite configuration
Contributions are welcome! Feel free to open issues or submit pull requests for bugs, improvements, or new features.