Local dashboard for token usage stored in OpenCode's SQLite database.
bunx github:applauselab/opencode-dashboard#mainThen open http://localhost:4173.
If your shell accepts GitHub shorthand, this also works:
bunx applauselab/opencode-dashboard#mainbun run devOpen http://localhost:4173.
By default it reads ~/.local/share/opencode/opencode.db. To point at another database:
OPENCODE_DB="$HOME/.local/share/opencode/opencode-local.db" bunx github:applauselab/opencode-dashboard#mainYou can also change the port:
PORT=4174 bunx github:applauselab/opencode-dashboard#main- Token usage over time per project
- Daily token usage split by input, output, reasoning, cache read, and cache write tokens
- Top projects and a daily breakdown table