whoisDDD/dsh-quota-dashboard ↗★ 0
dsh-quota-dashboard
通用多平台 API 额度/余额实时监视器:在侧边栏实时显示 DeepSeek、Moonshot、OpenRouter 等平台的余额与额度,支持明暗主题和自定义刷新间隔。
AI 分析
核心用途是多平台 API 余额的一站式可视化监控。适合同时使用多个大模型 API、需要防止因额度耗尽导致任务中断的开发者和高频用户。
安装
$
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.