dsh-balance-whale
Run the following command in DeepSeek Harness:
dsh plugin install chenpengye/dsh-balance-whale
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install chenpengye/dsh-balance-whale in your DeepSeek Harness terminal to add the whale balance widget; the full source lives at https://github.com/chenpengye/dsh-balance-whale .
About this plugin
Checking your DeepSeek API balance in the dsh web GUI used to mean digging through settings or firing off a manual request, pulling you out of your workflow. dsh-balance-whale places a hand-drawn whale-girl SVG in the bottom-right corner so your remaining balance is always a glance away—a green dot means you have credits, an orange one means you are out—without ever leaving the page.
Click the whale to expand a detail card that breaks down total balance, topped-up amount, and granted credits per currency, along with the last refresh timestamp. The widget auto-polls every 60 seconds while a 30-second host-side cache prevents hammering the upstream API, and a manual refresh button is available whenever you need an instant check.
Security is built in: the API key is resolved exclusively on the host from the dsh credential store and never reaches the browser. The browser talks to a same-origin, loopback-only route that returns a sanitized, aggregated balance payload; non-loopback requests are rejected with 403 by default. If you rely on the DeepSeek API daily and want a zero-config, dependency-free balance indicator right where you work, this little whale is a lightweight companion for your dsh setup.
Use Cases
- Glance at your DeepSeek API balance while working in the dsh web GUI
- Track topped-up versus granted credits to plan usage wisely
- Monitor balance automatically without manually calling the API
Best For
- Daily DeepSeek API users working within the dsh web GUI
- Security-conscious developers who distrust browser-side key exposure
- Minimalists who prefer lightweight, zero-dependency floating widgets
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.