r/opencode • • 28d ago

I vibe-coded a plugin to track OpenCode Go limits right in the TU

Got tired of opening the web dashboard to check how much of my OpenCode Go quota I had left, and I couldn't find any working plugin for the current OpenCode version, so I vibe-coded my own.

What it does:

- Status bar widget: always-visible 5h / week / month remaining (e.g. `Go · 5h 64% · wk 73% · mo 87%`)

- `/go` command: popup with progress bars, % used and reset timers for each window

- Uses OpenCode's built-in auth, no API keys or extra setup needed

- Fetches on demand, no heavy background polling

Screenshots attached. Fully vibe-coded, so expect rough edges, issues and PRs are welcome.

Repo: https://github.com/Nezerkill/opencode-usage

Feedback and feature ideas appreciated!

4 Upvotes

1 comment sorted by

4

u/Niikolajj 28d ago

In case you don't want to maintain your own plugin, there already is one that also displays go quota https://github.com/slkiser/opencode-quota