Version: 0.6.28
A lightweight TUI (Terminal User Interface) dashboard for monitoring system resources, Claude Code token usage, and tmux sessions.
ccdash is a real-time dashboard application that provides:
- 🖥️ System Resource Monitoring - Track CPU usage, memory consumption, disk space, and network activity
- 🤖 Claude Code Token Tracking - Monitor token usage across your Claude Code projects by reading from
~/.claude/projects - 🪟 Tmux Session Management - View active tmux sessions and their status (optional, works without tmux)
All in a beautiful, terminal-based interface built with Bubble Tea.
- ⚡ Real-time system metrics display
- 📈 Token usage analytics from Claude Code projects
- 🔄 Tmux session monitoring (when available)
- 🪶 Lightweight and fast - minimal system overhead
- 🎨 Beautiful TUI with clean, organized layout
- ⌨️ Keyboard-driven navigation
- 📦 No external dependencies beyond Go and optional tmux
- 🔄 Self-update - Press
uto update when new version available - 📅 Lookback picker - Press
lto change time window for token tracking - 💰 Per-model cost tracking - Color-coded breakdown by Claude model
- 💾 SQLite caching - Queryable
.ccdash/tokens.dbwith DuckDB/SQLite support
- Go 1.21 or higher 🔧
~/.claude/projectsdirectory (for Claude Code token tracking) 📂- tmux (optional, for session monitoring features) 🪟
Download the latest release from the releases page:
# Download the latest release (Linux example)
curl -LO https://github.com/jedarden/ccdash/releases/download/v0.1.4/ccdash-linux-amd64
curl -LO https://github.com/jedarden/ccdash/releases/download/v0.1.4/ccdash-linux-amd64.sha256
# Verify the checksum
sha256sum -c ccdash-linux-amd64.sha256
# Make it executable
chmod +x ccdash-linux-amd64
# Move to your PATH (optional)
sudo mv ccdash-linux-amd64 /usr/local/bin/ccdash
# Run it
ccdashgo install github.com/jedarden/ccdash/cmd/ccdash@latest# Clone the repository
git clone https://github.com/jedarden/ccdash.git
cd ccdash
# Build and install
make install# Build the binary
make build
# The binary will be available at ./bin/ccdash
./bin/ccdashSimply run the application:
ccdash| Key | Action |
|---|---|
q or Ctrl+C |
Quit the application |
r |
Refresh metrics immediately |
h |
Cycle through help mode (explains each panel) |
l |
Open lookback time picker for token tracking |
u |
Update to latest version (when available) |
- Smart Layout: Automatically adjusts to terminal size
- Ultra-wide (≥240 cols): 3 panels side-by-side
- Wide (120-239 cols): 2 panels top, 1 bottom
- Narrow (<120 cols): Panels stacked vertically
- Tmux Status Indicators:
- 🟢 WORKING - Claude Code actively processing
- 🔴 READY - Waiting for user input at prompt
- 🟡 ACTIVE - User actively in session
⚠️ ERROR - Error state detected
- Help Mode: Press
hto cycle through detailed explanations for each panel - Lookback Picker: Press
lto select time window- Presets: Monday 9am, Today, 24h, 7d, 30d, All time
- Custom: Set specific date/time with arrow keys
- Self-Update: Status bar shows when updates are available
- Press
uto download and apply update automatically
- Press
- Per-Model Costs: Token panel shows breakdown by model
- Color-coded: Opus (red), Sonnet (cyan), Haiku (green)
- Sorted by cost (highest first)
make buildmake testmake depsmake cleanccdash/
├── cmd/ccdash/ # Main application entry point
├── internal/
│ ├── metrics/ # Metrics collectors (system, tokens, tmux)
│ └── ui/ # Bubble Tea UI components
├── Makefile # Build automation
└── README.md # This file
Contributions are welcome! Please feel free to submit issues or pull requests.
MIT License - see LICENSE file for details
Built with:
- Bubble Tea - TUI framework
- Lipgloss - Terminal styling
- gopsutil - System metrics collection