opgginc/opencode-bar

Effortless token usage tracker for OpenCode

46
/ 100
Emerging

Combines real-time monitoring of 16+ AI providers (OpenRouter, Claude, GitHub Copilot, Gemini, etc.) through a macOS menu bar widget, automatically detecting credentials from OpenCode configs, VS Code, Keychain, and browser cookies—eliminating manual setup. Built with Swift 5.9 for macOS 13+, it provides color-coded usage indicators, daily cost tracking with end-of-month predictions, and a companion CLI for programmatic access. Supports both pay-as-you-go and quota-based billing models with parallel API fetching for real-time updates.

206 stars.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 11 / 25
Community 12 / 25

How are scores calculated?

Stars

206

Forks

16

Language

Swift

License

MIT

Last pushed

Mar 17, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/opgginc/opencode-bar"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.