Overview
A Python CLI tool that fetches live BTC/USD prices from the CoinGecko API and displays them with color-coded terminal output โ green for gains, red for drops, with percentage change and market cap.
How It Works
Uses the `requests` library to hit CoinGecko's free API endpoint. Parses the JSON response for current price, 24h change, and market data. Terminal colors are handled with ANSI escape codes for maximum compatibility across terminals.
Building It
Written as a learning exercise in API integration and CLI design. The goal was a tool that gives you a price snapshot in under a second, with no GUI overhead. Added configurable refresh intervals and a historical mode that shows the last N data points.
What's Next
Add support for multiple cryptocurrencies, alert thresholds, and a web dashboard version.