| Crates.io | cc-monitor-rs |
| lib.rs | cc-monitor-rs |
| version | 0.3.0 |
| created_at | 2025-07-25 18:33:36.1276+00 |
| updated_at | 2025-07-25 18:33:36.1276+00 |
| description | Real-time Claude Code usage monitor with GUI and TUI interfaces |
| homepage | https://github.com/zhanghandong/cc-monitor-rs |
| repository | https://github.com/zhanghandong/cc-monitor-rs |
| max_upload_size | |
| id | 1767904 |
| size | 1,455,816 |
Let Claude code it. Enjoy your cup.
A real-time Claude Code usage monitor built with Rust and Makepad.
English | įŽäŊ䏿
This is a cross-platform application that runs on:
We welcome everyone to help test the application on different platforms and report any issues!
đ Network Monitoring
đ Claude Code Usage Tracking
đ Historical Analytics
đ System Integration
đ Internationalization (i18n)
Linux:
# Ubuntu/Debian
sudo apt install libgtk-3-dev libxdo-dev libappindicator3-dev
# Arch/Manjaro
sudo pacman -S gtk3 xdotool libappindicator-gtk3
# Fedora
sudo dnf install gtk3-devel libxdo-devel libappindicator-gtk3-devel
Note: Some GNOME-based distributions may require additional extensions for system tray support.
Clone the repository
git clone https://github.com/zhanghandong/cc-monitor-rs.git
cd cc-monitor-rs
Build the project
For Linux users: Different distributions require different system tray libraries:
./build-linux.sh
cargo build --release
For macOS/Windows users:
cargo build --release
Run the application
GUI Mode (default):
cargo run --release
# Or use the binary directly:
./target/release/cc-monitor-rs
Terminal UI Mode:
cargo run --release -- --tui
# Or use the binary directly:
./target/release/cc-monitor-rs --tui
After building, you can create a convenient alias:
# Create a symbolic link (Unix-like systems)
ln -s $(pwd)/target/release/cc-monitor-rs /usr/local/bin/ccm
# Or add aliases to your shell configuration
alias ccm='cargo run --release --bin cc-monitor-rs'
alias ccm-tui='cargo run --release --bin cc-monitor-rs -- --tui'
Ensure Claude Code is running:
claude code
Choose your interface:
l key)| Key | Action |
|---|---|
q, Esc |
Quit application |
r |
Refresh data |
l |
Cycle languages |
Tab |
Switch panels |
â/â |
Navigate items |
Ctrl+C |
Force quit |
Download pre-built binaries for your platform:
The application automatically detects system proxy settings. You can also configure via environment variables:
export HTTP_PROXY=http://127.0.0.1:7890
export HTTPS_PROXY=http://127.0.0.1:7890
src/
âââ app.rs # Main application entry
âââ ui/ # UI components
â âââ main_screen.rs # Main screen
â âââ widgets/ # Custom widgets
âââ monitor/ # Monitoring modules
â âââ network.rs # Network monitoring
â âââ ccusage.rs # Claude usage monitoring
âââ background/ # Background tasks
âââ tray.rs # System tray
Issues and Pull Requests are welcome!
Install Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Build and run
cargo build
cargo run
For continuous development
cargo install cargo-watch
cargo watch -x run
Check out our development roadmap: ROADMAP.md | 䏿į
This project is licensed under the MIT License - see the LICENSE file for details.
Built with â¤ī¸ and Rust