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 分析
核心用途是在 DSH 侧边栏底部实时显示 DeepSeek 账户的 API 余额。适合需要监控 API 消耗情况、避免因额度耗尽导致服务中断的开发者。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
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 |