coinpeek

CoinPeek - Bitcoin Price Badge & Gas Tracker

Version License: MIT Chrome Web Store

A fast, lightweight Chrome extension that shows real-time Bitcoin price on the extension badge, plus ETH prices, gas fees, and a crypto converter.

CoinPeek Screenshot

πŸš€ Features

πŸ“¦ Installation

Install from Chrome Web Store

Manual Installation (Developer Mode)

  1. Download or clone this repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable β€œDeveloper mode” in the top right corner
  4. Click β€œLoad unpacked” and select the extension folder
  5. The extension icon will appear in your Chrome toolbar

🎯 Usage

Basic Usage

Advanced Features

πŸ”§ Technical Stack

Architecture

Performance Optimizations (v1.1.0)

🌐 API Integration

Primary Data Sources

| Service | Purpose | Fallback Available | |β€”β€”β€”|β€”β€”β€”|β€”β€”β€”β€”β€”β€”-| | CoinGecko | BTC/ETH prices | ❌ (Primary only) | | Blocknative | Ethereum gas fees | βœ… (Default values) | | mempool.space | Bitcoin gas fees | βœ… (2 additional APIs) |

Reliability Features

πŸ› οΈ Development

Project Structure

coinpeek/
β”œβ”€β”€ manifest.json           # Extension configuration
β”œβ”€β”€ background-simple.js    # Optimized service worker
β”œβ”€β”€ popup/                  # User interface
β”‚   β”œβ”€β”€ popup.html
β”‚   β”œβ”€β”€ popup.css
β”‚   └── popup.js
β”œβ”€β”€ config/
β”‚   └── constants.js        # Centralized configuration
β”œβ”€β”€ utils/
β”‚   └── formatters.js       # Shared utilities
β”œβ”€β”€ icons/                  # Extension icons (16, 48, 128px)
β”œβ”€β”€ dev-tools/              # Development utilities (optional)
└── docs/
    β”œβ”€β”€ README.md           # This file
    └── TECHNICAL_DOCS.md   # Developer documentation

Development Setup

  1. Clone the repository
  2. Make your changes
  3. Reload extension in chrome://extensions/
  4. Test functionality in popup and background service

Adding Features

πŸ”’ Privacy & Security

Permissions Explained

This extension requests only two minimal permissions:

Permission Why It’s Needed What It Does
storage Cache prices locally Saves last known prices so you see data instantly when opening the popup. Data never leaves your device.
alarms Background updates Refreshes prices every minute automatically. Uses Chrome’s efficient alarm system, not a constant background process.

Host Permissions (API access only): | API | Purpose | |—–|β€”β€”β€”| | api.coingecko.com | Fetch BTC/ETH prices (public API) | | api.blocknative.com | Fetch ETH gas fees | | mempool.space | Fetch BTC network fees | | api.blockchain.info | Fallback for BTC fees | | api.blockchair.com | Fallback for BTC fees |

What we DON’T request:

πŸ“‹ Version History

v1.1.1 (Current)

v1.1.0

v1.0.2

πŸ› Troubleshooting

Common Issues

Getting Help

πŸ“ž Support

Contributing

Contributions are welcome! Please read our Contributing Guide for details on how to submit pull requests, report bugs, and suggest features.

Support

If you find this extension useful, consider supporting its development:

License

This project is open source under the MIT License.

Privacy

See our Privacy Policy for details on data handling.


CoinPeek - Built for the crypto community