xraywu/dsh-service-monitor ↗★ 0
dsh-service-monitor
定时监控并展示第三方服务 API 余额的看板 适合使用 Tavily、博查等第三方服务并需监控额度的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xraywu/dsh-service-monitor說明文件
閱讀完整 README ↗使用
- 打开看板(侧边栏图标,或「设置 → 服务余额监控」)。
- 在卡片上点「填写密钥」,粘贴对应服务的 API Key,回车或点保存。
- 用卡片右上角的开关启用 / 停用服务,用看板顶部的分段控件选择刷新间隔。
- 点「立即刷新」可随时查询;卡片会显示剩余额度、总量、进度条、套餐、耗时。
额度低于 15% 转黄、为 0 转红,并在侧边栏图标的角标上体现。
配置
插件的 cordis.patch.yml 只提供首次启动的默认值;之后用户在面板里的改动写在上面那个状态文件里,不会回写 profile,因此升级插件不会丢配置。
- insert:
- id: service-monitor
name: dsh-service-monitor
config:
intervalMinutes: 10 # 1 | 5 | 10 | 30,其它值回落 10
services: [tavily, bocha, firecrawl, serpapi, tinyfish]
autoRefresh: true
trustedHosts: [] # 额外允许的 Host 头(反代场景)