xiaweiliang060035/dsh-opencode-go-usage
xiaweiliang060035★ 2JavaScriptLast synced: 2026-08-15
DSH (DeepSeek Harness) web plugin — floating widget showing real-time OpenCode Go subscription usage (rolling / weekly / monthly) for every API key. 悬浮实时展示 opencode-go 各 key 用量。
README excerpt
dsh-opencode-go-usage 简体中文 · English A DeepSeek Harness web-GUI plugin that shows your OpenCode Go subscription usage in real time — a floating widget that tracks rolling / weekly / monthly quota for every API key in your pool, with color-coded progress bars and reset countdowns. Features - Floating widget — a compact button pinned to the right edge of the page. Its badge shows the worst window across all keys at a glance; the color (green / orange / pulsing red) tells you whether any key is close to its quota limit. - Expandable panel — click the button to open a panel with one card per key (the currently active key is marked with a ★), each showing rolling / weekly / monthly usage as progress bars, percentages, and time-until-reset. Rate-limited windows are flagged with ⚠. - Real-time — the Host polls the official usage endpoint every 60 seconds (configurable); the panel refreshes automatically and has a manual refresh button. - Auto key-pool discovery — reads your key pool from $DSH HOME/.credentials.yaml (any OPENCODE GO KEY entries), so there is no hardcoded key count or name . Falls back to the single current key ( OPENCODE GO API KEY ) when no pool exists. - i18n — Chinese /…
View full README on GitHub →