Skip to content

ApplauseLab/opencode-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Dashboard

Local dashboard for token usage stored in OpenCode's SQLite database.

Run From GitHub

bunx github:applauselab/opencode-dashboard#main

Then open http://localhost:4173.

If your shell accepts GitHub shorthand, this also works:

bunx applauselab/opencode-dashboard#main

Run Locally

bun run dev

Open 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#main

You can also change the port:

PORT=4174 bunx github:applauselab/opencode-dashboard#main

Shows

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors