Opportunity Cost is a browser extension that instantly converts fiat currency prices (USD, EUR, GBP, etc.) to their Bitcoin or satoshi equivalent as you browse the web. It helps you think in terms of sound money principles by showing the Bitcoin value of everyday purchases.
- Live Currency Conversion: Automatically detects and converts prices on any webpage to Bitcoin or satoshis
- Multiple Currency Support: Works with USD, EUR, GBP, JPY, CNY, and more
- Flexible Display Options:
- Dual-display mode: Shows both fiat and Bitcoin prices side-by-side
- Bitcoin-only mode: Replaces fiat prices entirely with Bitcoin values
- Denomination Choice: View prices in satoshis or BTC based on your preference
- Real-time Price Data: Uses current Bitcoin market rates from reputable APIs
- Privacy-First Design: All processing happens locally - no browsing data is collected
- Customizable Settings: Tailor the extension to fit your browsing habits
- Dark Mode Support: Choose between light, dark, or system theme
- Visit the Chrome Web Store
- Search for "Opportunity Cost" or follow our direct link (coming soon)
- Click "Add to Chrome"
- Visit Firefox Add-ons
- Search for "Opportunity Cost" or follow our direct link (coming soon)
- Click "Add to Firefox"
- Download the latest release from our website
- Extract the ZIP file to a location on your computer
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top-right corner
- Click "Load unpacked" and select the extracted directory
- The extension will be installed and ready to use
- Download the latest release from our website
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on" and select any file in the extracted directory
- The extension will be loaded for the current session
After installation, the extension automatically works on all websites:
- Browse to any website with prices (shopping sites, real estate, travel)
- All supported currency prices will be converted to Bitcoin automatically
- Click the extension icon for a built-in conversion calculator
- Access settings by clicking the three dots in the popup or right-clicking the extension icon
- Display Mode: Choose between seeing both currencies or Bitcoin only
- Denomination: Toggle between satoshis and BTC
- Currency: Select your preferred base currency for conversions
- Theme: Light, dark, or system-based theme
- Highlight: Option to highlight Bitcoin values for better visibility
- The extension fetches the current Bitcoin price from our API
- It scans all text nodes in the DOM for currency patterns
- When a price is found, it calculates the Bitcoin equivalent
- A MutationObserver ensures dynamically loaded content is also converted
- All conversions happen locally in your browser for maximum privacy
- Node.js (v16+)
- npm or yarn
-
Clone the repository:
git clone https://github.com/tftc/opportunity-cost.git cd opportunity-cost -
Install dependencies:
npm install
-
Build the extension:
npm run build
-
Load the extension in developer mode:
- Load the
extension/dist/builddirectory
- Load the
Opportunity Cost is designed to help people understand the true value of their money in terms of Bitcoin. In an era of inflation and monetary uncertainty, Bitcoin provides a different perspective on value.
The project is powered by Truth For The Commoner (TFTC), a community dedicated to Bitcoin education and adoption.
Opportunity Cost respects your privacy:
- No browsing data is sent to our servers
- All price conversions happen locally in your browser
- We only fetch current Bitcoin prices from our API
- No personal information is collected or stored
View our complete privacy policy.
We welcome contributions from the community! Please feel free to submit pull requests, report bugs, or suggest features.
Opportunity Cost Browser Extension is licensed under the MIT license.

