中文 | English
A lightweight macOS menu bar application for real-time cryptocurrency price tracking.
- Go to Releases page
- Download the latest
BTCWatcher.app.zip
- Unzip the application
- Right-click the app and select "Open" (important for first launch)
- Click "Open" in the security dialog
- Drag to your Applications folder (optional)
Note: If you see "app is damaged" message:
- Open Terminal
- Run:
xattr -cr /Applications/BTCWatcher.app
(adjust path if needed) - Try opening the app again
If you prefer to build from source:
git clone https://github.com/chenwuai/BTCWatcher.git
cd BTCWatcher
./build.sh
The script will:
- Compile the Swift code
- Create the app bundle
- Package it into a zip file
- Set all necessary permissions
- 🚀 Lightweight menu bar app
- 💰 Multiple cryptocurrency support (BTC, ETH, DOGE)
- ➕ Custom coin pair addition
- 🔄 Real-time price updates (1s, 2s, 5s intervals)
- 🌐 Automatic API endpoint switching
- 🌍 English and Chinese language support
- 🎯 Zero dependencies, pure Swift implementation
- macOS 13.0 or later
- Internet connection required for price updates
- Click the menu bar icon to view current price
- Select different cryptocurrencies from the menu
- Use
⌘Q
to quit
- Update Intervals: Choose between 1, 2, or 5 seconds
- API Endpoints: Auto or manual selection
- Language: Switch between English and Chinese
- Custom Pairs: Add your own trading pairs
⌘N
: Add custom coin1
: Set 1-second update interval2
: Set 2-second update interval5
: Set 5-second update intervalA
: Toggle API auto-switchL
: Switch language⌘Q
: Quit application
# Compile the application
swiftc -o BTCWatcher.app/Contents/MacOS/BTCWatcher main.swift
# Generate application icons
./generate_icons.sh
main.swift
: Main application codeAppIcon.svg
: Application icon sourcegenerate_icons.sh
: Icon generation scriptInfo.plist
: Application configuration
Price data is fetched from Binance API through multiple endpoints:
- api.binance.com
- api1.binance.com
- api2.binance.com
- api3.binance.com
- api4.binance.com
- Built with native macOS frameworks (Cocoa, Foundation)
- No external dependencies
- Efficient menu bar integration using NSStatusItem
- Automatic error handling and API failover
- Dynamic menu generation
- Real-time price formatting
- Intelligent decimal place handling
- Unicode symbols for cryptocurrencies (₿, Ξ, Ð)
- Clean and minimal interface
- Automatic API endpoint switching
- Connection error recovery
- User-friendly error messages
- Graceful degradation
- Uses only public API endpoints
- Minimal system permissions required
- No sensitive data storage
- Code signed for macOS security
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Improve documentation
MIT License
chenwuai
For issues, questions, or suggestions:
- Open an issue
- Submit a pull request
- Contact the developer
Note: This application is not affiliated with Binance or any cryptocurrency exchange.