whoisDDD/dsh-quota-dashboard0

dsh-quota-dashboard

通用多平台 API 额度/余额实时监视器:在侧边栏实时显示 DeepSeek、Moonshot、OpenRouter 等平台的余额与额度,支持明暗主题和自定义刷新间隔。

AI 分析

核心用途是多平台 API 余额的一站式可视化监控。适合同时使用多个大模型 API、需要防止因额度耗尽导致任务中断的开发者和高频用户。

套件
dsh-quota-dashboard
版本
1.0.5
授權
NOASSERTION
最近更新
2026年8月21日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:whoisDDD/dsh-quota-dashboard

Usage

  1. Click the sidebar button to open the panel.
  2. ⚙️ Settings → choose a platform → optionally change Base URL → enter API Key → TestEnable.
  3. If the DSH credentials vault or environment already has the key for a platform, the "Quick config" section shows a one-click enable button.
  4. Cards update live; pick an auto-refresh interval or turn it off.

Config (optional env var)

VariableDefaultMeaning
DSH_QUOTA_STATE_PATH$DSH_HOME/.dsh-quota-dashboard.jsonhost-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.