Insight+ for Firefish - Chrome Extension
A professional Chrome extension that enhances the user experience on Firefish.io with Bitcoin integration and advanced UI features. v1.1.0 introduces Portfolio Overview Dashboard for comprehensive loan portfolio analysis.
๐ Features
Core Functionality
- Enhanced User Experience: Improved UI elements and interactions on Firefish.io
- Bitcoin Integration: Real-time Bitcoin prices and market data via CoinGecko API
- Smart Caching: Efficient data caching with automatic expiration
- Firefish.io Focus: Optimized specifically for Firefish.io with enhanced user experience
๐ v1.1.0 Major Features
- Portfolio Overview Dashboard: Comprehensive portfolio performance summary
- Aggregated Performance Metrics: Total theoretical gain/loss across all loans
- Portfolio Value Tracking: Sum of loan amounts for analyzed loans
- Performance Statistics: Count of outperforming vs underperforming loans
- Real-time Dashboard Updates: Live updates as individual loan analyses complete
- Professional Portfolio UI: Clean, responsive dashboard with tooltips and explanations
v1.0.0 Features
- Bitcoin Performance Analysis: Comprehensive BTC vs loan interest comparison
- Real-time BTC Price Analysis: Historical vs current price assessment
- Investment Strategy Comparison: โWhat if I bought BTC instead of taking the loan?โ
- Theoretical Gain/Loss Calculation: Net outcome analysis of BTC strategy
- Immediate Visual Feedback: Instant loading states and processing indicators
- Professional Tooltips: Educational explanations and calculation formulas
User Interface
- Professional Popup: Modern, responsive popup interface with tabbed navigation
- Dashboard: Quick stats, cache management, and system information
- Bitcoin Tab: Real-time Bitcoin prices and market data
- Portfolio Dashboard: In-page portfolio overview with aggregated performance metrics
Technical Features
- Manifest V3: Latest Chrome extension standards for security and performance
- Service Worker: Background processing with efficient resource management
- Content Scripts: Enhanced page interactions and UI improvements
- Storage API: Persistent settings and data management
- Message Passing: Secure communication between extension components
๐ File Structure
firefish-ux-extension/
โโโ manifest.json # Extension manifest (v3, v1.1.0)
โโโ content.js # Content script for page enhancement
โโโ background.js # Service worker background script
โโโ popup.html # Popup interface HTML
โโโ popup.js # Popup functionality JavaScript
โโโ popup.css # Popup styling and themes
โโโ icons/ # Extension icons
โ โโโ icon16.png # 16x16 icon
โ โโโ icon48.png # 48x48 icon
โ โโโ icon128.png # 128x128 icon
โโโ README.md # This file
๐ Whatโs New in v1.1.0
Portfolio Overview Dashboard
The major new feature in v1.1.0 is the Portfolio Overview Dashboard, which provides a comprehensive summary of your entire loan portfolioโs Bitcoin performance. This dashboard aggregates all individual loan analyses into a single, easy-to-understand overview.
How the Portfolio Dashboard Works
- Automatic Detection: Monitors all loan cards on the Firefish.io page
- Real-time Aggregation: Collects data from individual loan analyses as they complete
- Portfolio Metrics: Calculates total theoretical gain/loss across all loans
- Performance Summary: Shows how many loans are outperforming vs underperforming
- Portfolio Value: Displays total loan amount value being analyzed
- Live Updates: Dashboard updates in real-time as new analyses complete
Key Portfolio Metrics
- Total Theoretical Gain/Loss: Sum of net BTC strategy results across all analyzed loans
- Loan Count Summary: Number of outperforming loans vs total analyzed loans
- Portfolio Value: Total sum of loan amounts for analyzed loans
- Performance Status: Visual indicators for positive/negative overall performance
v1.0.0 Features
The major feature in v1.0.0 is comprehensive Bitcoin performance analysis for Firefish.io loan collateral. This feature helps users understand whether their BTC collateral strategy is outperforming traditional loan interest costs.
How the BTC Analyzer Works
- Loan Detection: Automatically detects Firefish.io loan cards on the page
- Price Fetching: Retrieves historical BTC prices from CoinGecko API for loan provision dates
- Current Prices: Gets real-time BTC prices for comparison
- Investment Comparison: Calculates what if the loan amount was used to buy BTC instead
- Performance Analysis: Shows whether BTC investment would outperform loan interest costs
- Visual Results: Displays comprehensive analysis with tooltips and explanations
Key Calculations
- BTC Value Change:
Loan Amount ร (Current BTC Price / Historical BTC Price - 1)
- Loan Interest Cost:
Loan Amount ร Interest Rate
- Theoretical Gain/Loss:
BTC Value Change - Loan Interest Cost
- Performance Status: Outperforming if BTC gain > loan interest cost
๐ง Installation
For Chrome Web Store (Recommended)
- Visit the Chrome Web Store and search for โInsight+ for Firefishโ
- Click โAdd to Chromeโ to install the extension
- The extension will be automatically installed and ready to use on Firefish.io
For Developers
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable โDeveloper modeโ in the top right
- Click โLoad unpackedโ and select the
firefish-ux-extension
folder
- The extension will be installed and ready to use on Firefish.io
๐ฏ Usage
Basic Usage
- Click the extension icon in your Chrome toolbar
- Use the popup interface to access features and settings
- Navigate between Dashboard, Bitcoin, and Settings tabs
- Enjoy enhanced experience on Firefish.io
Bitcoin Features
- View Bitcoin prices in real-time
- Monitor BTC price changes and market trends
- Automatic price refresh with configurable intervals
- Portfolio performance analysis and aggregation
โ๏ธ Configuration
Permissions
- Storage: For saving settings and caching data
- Active Tab: For current tab access
- Tabs: For tab management and navigation
- Host Permissions: For CoinGecko API and Firefish.io
API Integration
- CoinGecko API: Free Bitcoin data and market information
- Rate Limiting: Built-in caching to respect API limits
- Error Handling: Graceful fallbacks for API failures
๐ฑ Browser Compatibility
- Chrome: 88+ (Manifest V3 support)
- Edge: 88+ (Chromium-based)
- Other Chromium browsers: Should work with Manifest V3 support
๐ Security & Privacy
- No Data Collection: Extension doesnโt collect personal information
- Local Storage: All data stored locally in your browser
- Secure APIs: Only communicates with trusted CoinGecko API
- Permission Minimal: Requests only necessary permissions
๐จ Troubleshooting
Common Issues
- Extension not working: Check if itโs enabled in Chrome extensions
- Bitcoin data not loading: Verify internet connection and API status
- UI not updating: Try refreshing the page or reloading the extension
- Settings not saving: Check Chrome storage permissions
Debug Mode
- Open Chrome DevTools
- Go to Console tab
- Look for
[Insight+ Firefish]
log messages
- Check for any error messages
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Development Guidelines
- Follow existing code style and patterns
- Add appropriate error handling
- Include comments for complex logic
- Test thoroughly before submitting
๐ Support
For support, questions, or feature requests:
- Open an issue on GitHub
- Check the troubleshooting section above
- Review the code comments for implementation details
๐ Version History
v1.1.0 (Current)
- Major Feature: Portfolio Overview Dashboard for comprehensive portfolio analysis
- Aggregated Performance Metrics: Total theoretical gain/loss across all loans
- Portfolio Value Tracking: Sum of loan amounts for analyzed loans
- Performance Statistics: Count of outperforming vs underperforming loans
- Real-time Dashboard Updates: Live updates as individual loan analyses complete
- Professional Portfolio UI: Clean, responsive dashboard with tooltips and explanations
v1.0.0
- Major Feature: Bitcoin Performance Analysis for loan collateral
- Investment Strategy Comparison: BTC vs loan interest analysis
- Real-time Price Analysis: Historical and current BTC price comparison
- Immediate Visual Feedback: Instant loading states and processing indicators
- Professional Tooltips: Educational explanations and calculation formulas
- Enhanced User Experience: Improved loan card analysis and display
- Memory Usage: Minimal memory footprint
- CPU Usage: Efficient background processing
- Network: Smart caching reduces API calls
- Storage: Optimized local storage usage
๐ Future Features
Made with โค๏ธ for the Firefish.io community
This extension enhances your browsing experience while maintaining privacy and performance.