KIDLi1412/dsh-token-heatmap

GitHub-style daily token-usage heatmap on the new-session screen with a selectable calendar-year view, green/blue color schemes, and today / this-month / all-time totals.

A GitHub-style daily token-usage heatmap of the current calendar year (Jan–Dec) rendered below the composer input card on the new-session screen only, with today / this-month / all-time totals on the same line. Year switcher, six color schemes (GitHub green, blue, orange, red, purple, cyan) with absolute-threshold tiers (0 / <1M / 1M–10M / 10M–100M / ≥100M tokens/day), hover tooltips with exact dates and counts, auto-refresh every 5 minutes (and on window re-focus), manual refresh, and a settings card with a show/hide toggle.

Usage & Billing ★ 2 updated 2026-08-19
View on GitHub ↗

Install

dsh plugin --profile web add @kidli1412/dsh-token-heatmap

dsh plugin --profile web add @kidli1412/dsh-token-heatmap (npm @kidli1412/dsh-token-heatmap 0.1.2, verified on npm 2026-08-29), or dsh plugin --profile web add github:KIDLi1412/dsh-token-heatmap, or link:path/to/dsh-token-heatmap. Requires the web profile (@deepseek-ai/dsh >= 0.1.0-rc.6) and pnpm. Bilingual README.

Compatibility

DSH >= 0.1.0-rc.6 web profile; new-session-screen client plugin; config persisted to <DSH_HOME>/settings.yaml (auto-migrates legacy storage path).

Details

Recent updates

GitHub-style yearly token heatmap on the new-session screen; 6 color schemes; absolute-threshold tiers; auto + manual refresh; show/hide toggle.

FAQ

Where does the heatmap appear?
Below the composer input card on the new-session (hero) screen only — not in existing conversations.
Can I change the colors?
Yes — six schemes (green/blue/orange/red/purple/cyan) switchable in Settings → Plugins, using absolute token thresholds, not relative rankings.
How fresh is the data?
It auto-refreshes every 5 minutes and when the window becomes visible again; there is also a manual refresh button.

Alternatives

Ychris12138/dsh-usage-stats · lanlandeli/dsh-usage-stats · 940842546/dsh-usage-billing

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins