This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Show and tell: kimi-usage — npx one-liner for a live, local usage dashboard #2644
coconilu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built a zero-dependency usage analytics dashboard for Kimi Code CLI and wanted to share it here — it parses the local
wire.jsonlsession logs (same data source as ccusage) and answers the question "where did my quota actually go?" with per-day / per-model / per-project / per-session breakdowns.Quickstart
That's the whole install. It scans your logs (~1s for 800+ sessions), starts a local server, opens the dashboard, tails the logs and pushes new usage to the page in real time (SSE), and exits by itself ~60s after you close the browser tab. No daemon, no config, data never leaves the machine (127.0.0.1 only).
npx kimi-usage --export report.html # self-contained static HTML, shareableWhat's on the page
亿/万units for large numbers)session_index.jsonl)--days)Implementation notes
kimi-usageusage.recordentries are counted (session-scoped records are cumulative and would double-count)wire.jsonl, so updates are incrementalRepo: https://github.com/coconilu/kimi-usage-dashboard · npm: https://www.npmjs.com/package/kimi-usage
Happy to take feedback — especially on what other dimensions people want to see broken down.
All reactions