Visual Terminal Dashboard
Complete redesign of lean-ctx gain output with a stunning terminal UI:
What's New
- ANSI color-coded output with color grades based on compression rate (green >= 90%, cyan >= 70%, yellow >= 50%, purple >= 30%)
- Unicode block-chart bars with fractional sub-character precision (▏▎▍▌▋▊▉█)
- Sparkline trends showing savings trajectory over time
- Four KPI metrics at a glance: tokens saved, compression %, commands, USD saved
- USD cost estimates in daily breakdown
Three Views
lean-ctx gain # Visual dashboard (colors, bars, sparklines, USD)
lean-ctx gain --graph # 30-day savings chart with proportional Unicode bars
lean-ctx gain --daily # Bordered table with box-drawing chars, per-day USD
lean-ctx gain --json # Raw JSON export (unchanged)
Install / Update
brew upgrade lean-ctx
# or
cargo install lean-ctxFull changelog: https://leanctx.com/changelog/