GPIOX/dsh-api-balance
Floating API-balance badge for DeepSeek Harness: live balance for DeepSeek, Moonshot, OpenAI and custom endpoints; draggable, resizable, frosted-glass look, with text color adapting to the content beneath.
A floating API-balance badge for the DeepSeek Harness Web GUI: shows your LLM API account balance in a frame-wide overlay above every column, drag anywhere, resize 70–250%, frosted-glass look, and text color that follows the brightness of content beneath (sampled every 1.5s). Balance providers (DeepSeek, Moonshot, OpenAI, custom endpoint) show currency balance; OpenCode Go shows subscription quota in rolling 5h / weekly / monthly windows with used/remaining percentages and reset countdowns. Click a badge to refresh all; data refreshes every minute by default (down to 30s). Settings page manages the provider list, per-provider keys, badge visibility and position.
Install
dsh plugin --profile web add https://github.com/GPIOX/dsh-api-balance/archive/refs/heads/main.tar.gzPlain-HTTPS tarball install per README (English): dsh plugin --profile web add https://github.com/GPIOX/dsh-api-balance/archive/refs/heads/main.tar.gz (no GitHub account, SSH key, or git needed). Alternative: dsh plugin --profile web add github:GPIOX/dsh-api-balance. Restart dsh, refresh, open Settings › API Balance to save your key. Uninstall: dsh plugin --profile web remove dsh-api-balance-badge.
Compatibility
DeepSeek Harness Web GUI. API keys stay in the harness credential store (~/.dsh/.credentials.yaml) and never reach the browser.
Details
- Repo: GPIOX/dsh-api-balance
- Category: Usage & Billing
- Stars: 2
- Version: GitHub source (tarball install; no npm package)
- Last push: 2026-08-17
- First seen: 2026-08-15
Recent updates
floating API balance badge; draggable + resizable; frosted-glass; brightness-adaptive text; OpenCode Go quota windows; credential-store keys.
FAQ
- What does the badge show?
- LLM API account balance per configured provider (DeepSeek, Moonshot, OpenAI, custom), or OpenCode Go subscription quota in 5h/weekly/monthly windows.
- Where are API keys stored?
- In the Harness credential store (~/.dsh/.credentials.yaml) — keys never reach the browser.
- Can I move it?
- Yes — drag each badge anywhere and resize it from 70% to 250% with its bottom-right handle.
Alternatives
LemCAE/dsh-balance · crazywoola/dsh-balance · Ghost011118/dsh-balance-meter