whoisDDD/dsh-quota-dashboard ↗★ 0
dsh-quota-dashboard
通用多平台 API 额度/余额实时监视器(DeepSeek Harness Web GUI 插件):侧边栏实时显示 DeepSeek / Moonshot / OpenRouter / OpenCode Go 等平台余额与订阅额度,DeepSeek 峰谷时段倒计时,跟随 DSH 明暗主题,可调刷新间隔(30s–5min),配置跨重启/浏览器持久化。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:whoisDDD/dsh-quota-dashboard说明文档
阅读完整 README ↗Usage
- Click the sidebar button to open the panel.
⚙️ Settings→ choose a platform → optionally change Base URL → enter API Key →Test→Enable.- If the DSH credentials vault or environment already has the key for a platform, the "Quick config" section shows a one-click enable button.
- Cards update live; pick an auto-refresh interval or turn it off.
Config (optional env var)
| Variable | Default | Meaning |
|---|---|---|
DSH_QUOTA_STATE_PATH | $DSH_HOME/.dsh-quota-dashboard.json | host-side persisted API keys (mode 0600) |
Key resolution order: panel input (persisted locally) → host state file → DSH credentials vault → environment variable.
Client config (enabled list + refresh interval) is automatically persisted to $DSH_HOME/.dsh-quota-dashboard-client.json (0600); no manual setup needed.