A beautiful terminal-based cryptocurrency price tracker built with Rust. Displays real-time prices for the top 100 cryptocurrencies by market cap using the CoinGecko API.
- π Top 100 Coins - View the top 100 cryptocurrencies ranked by market cap
- π Interactive Price Chart - Sparkline chart with 1H/24H/7D timeframes
- πΉ Price Changes - Track price movements across 8 timeframes (1H, 24H, 7D, 14D, 30D, 60D, 200D, 1Y)
- π Detailed Info - Market cap, ATH/ATL, volume, and more
- π° Supply Data - Circulating, total, and max supply with visual progress bar
- π Auto-Refresh - Automatic updates every 60 seconds
- β¨οΈ Keyboard Navigation - Full keyboard control with vim-style bindings
- π¨ Beautiful TUI - Modern terminal UI with colors and Unicode charts
Download the latest release for your platform from the Releases page.
# Download and extract
curl -L https://github.com/dongri/coins/releases/latest/download/coins-macos-arm64.tar.gz | tar xz
# Move to PATH
sudo mv coins /usr/local/bin/
# Verify installation
coins --versioncurl -L https://github.com/dongri/coins/releases/latest/download/coins-macos-x64.tar.gz | tar xz
sudo mv coins /usr/local/bin/curl -L https://github.com/dongri/coins/releases/latest/download/coins-linux-x64.tar.gz | tar xz
sudo mv coins /usr/local/bin/Download coins-windows-x64.zip from the Releases page, extract it, and add the directory to your PATH.
brew tap dongri/tap
brew install coinsIf you have Rust installed:
cargo install --git https://github.com/dongri/coins# Clone the repository
git clone https://github.com/dongri/coins.git
cd coins
# Build and install
cargo install --path .Simply run:
$ coinsThe application will start and display the cryptocurrency dashboard.
| Key | Action |
|---|---|
β / k |
Move selection up |
β / j |
Move selection down |
PgUp |
Page up |
PgDn |
Page down |
g |
Go to top |
G |
Go to bottom |
T |
Cycle chart timeframe (1H β 24H β 7D) |
r |
Manual refresh |
q / Esc |
Quit |
Ctrl+C |
Force quit |
- Interactive sparkline chart showing price history
- Toggle between 1H, 24H, and 7D views with
Tkey - Shows current change percentage in the title
- Rank, Symbol, Current Price
- 1H, 24H, 7D percentage changes
- Market Cap
- Current price with 24H change
- 24H High and Low prices
- Price change percentages for 8 timeframes
- Visual indicators (β² green for up, βΌ red for down)
- Name, Symbol, Rank
- Market Cap, Total Volume
- ATH (All-Time High) and ATL (All-Time Low) with dates
- Last update timestamp
- Circulating Supply
- Total Supply
- Max Supply (or β for unlimited)
- Visual progress bar showing supply ratio
The application uses the CoinGecko Public API (no API key required).
- Auto-refresh interval: 60 seconds
- Manual refresh: Press
r
- Currently displays in USD
- Future versions may support other currencies
To build optimized release binaries for distribution:
# Build for current platform
cargo build --release
# The binary will be at ./target/release/coinsFor cross-platform builds, we recommend using GitHub Actions. See .github/workflows/release.yml for an example workflow.
This tool uses the CoinGecko API (free, no API key required).
- CoinGecko's public API has rate limits
- The 60-second refresh interval respects these limits
- If you see errors, wait a moment and press
rto retry
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Dongri Jin (@dongri)