DSH Balance Monitor
jelly-000/dsh-balance-monitor · skills
DeepSeek account balance, remaining-ratio bar and today's spend in the dsh sidebar footer.
★ 10GitHub stars
0Forks
2026-08-14Last updated
JavaScriptLanguage
MITLicense
Key features
- Real-time balanceThe server calls DEEPSEEK_API_KEY in GET $DSH_HOME/.credentials.yaml (environment variables take precedence)
- Server half (lib/index.js) - Register /balance RPC channel (loopback trust fence) on ctx.connection.
- The API key never leaves the server: the browser can only see the balance number through the RPC channel and cannot touch the key.
- Ratio barcurrent balance ÷ current day’s baseline, blue → amber → red, three levels of gradual decrease
- LocationRegistered in the official sidebar.footer.action slot - above settings, zero hacks
Install command
dsh plugin --profile web add github:jelly-000/dsh-balance-monitor