yacu

Local coding-agent usage in an OpenTUI dashboard.

Run

bunx @dropalltables/yacu

Or install it:

bun add --global @dropalltables/yacu
yacu

yacu reads local Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Grok session stores. It fetches current model pricing from models.dev and does not require an account or API key. Cursor token totals are estimated from local agent transcripts; the other sources use locally recorded usage fields.

Keys

KeyAction
cCost or tokens
1–424 hours, 7, 30, or 90 days
left / rightPrevious or next range
bModel or day breakdown
rRefresh
q / escQuit

Mouse

ActionResult
Hover graphInspect daily usage
Click graphPin or clear a day
Click providerShow or hide its graph series
Click controlsChange metric, range, breakdown, or refresh
ScrollScroll the dashboard

Development

bun install
bun run start
bun test
bun run typecheck

License

MIT