ABccgh/dsh-account-balance ↗★ 0
dsh-account-balance
DeepSeek account balance for the DSH Web GUI: an authenticated host route reading GET /user/balance, and a sidebar-footer badge that renders it.
AI Analysis
核心用途是在 DSH 侧边栏底部实时显示 DeepSeek 账户的 API 余额。适合需要监控 API 消耗情况、避免因额度耗尽导致服务中断的开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
apiKeyEnv | DEEPSEEK_API_KEY | Credential reference name resolved through the credentials seam on each request |
baseURL | https://api.deepseek.com | Provider base; the route appends /user/balance |
refreshSeconds | 60 | Poll period the badge uses, reported to the browser by the route |
cacheSeconds | 30 | How long one upstream read is reused across requests and tabs |
timeoutMs | 8000 | Per-request budget for the upstream call |