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 읽기 ↗
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 |