namesColin/DSH-Plugin-Account-HUD

namesColin★ 1TypeScript最后同步: 2026-08-15

在 GitHub 打开

一个deepseek harness的插件,用于实时显示api-key的余额和api服务状态。昨天dsh发布后高强度使用,发现这个功能对我这种余额敏感开发者很重要,遂开发之,后续必然有更多更好的插件涌现出来,我谨以此项目权作抛砖引玉,开源出来,也供后续我自己回看之用。

README 摘要

dsh-account-hud DeepSeek 账户信息悬浮面板插件 / DeepSeek Account HUD Plugin 一个可停靠/可拖动的悬浮小部件,显示你的 DeepSeek API 余额与服务状态;若安装了 dsh-better-sidebar,还会在侧边栏注册一个「账户」Tab。 A dockable/draggable floating widget showing your DeepSeek API balance and service status; registers an "Account" tab in dsh-better-sidebar when installed. 适配 / Adapter DeepSeek Harness v0.1 功能 / Features - 💰 余额显示(官方 GET /user/balance 接口,服务端代理,API key 不进浏览器)/ Balance via the official API (server-side proxy - your key never reaches the browser) - 📡 服务状态(https://status.deepseek.com/feed.rss,60s 轮询)/ Service status with 60s polling - 📌 常驻顶栏 :默认停靠在会话顶栏(【PTC 模式】旁),悬停展开详情 / Docks in the session header by default, hover to expand - 🖱️ 自由拖拽 :拖出顶栏即变成浮动窗(跟手),拖回顶部吸附 / Drag out to float, drag back to re-dock - 🌏 中英双语界面(跟随 DSH 语言设置)/ Bilingual zh/en UI (follows the DSH locale) 📦 安装 / Install(npm 方式,推荐 / recommended) 已发布到 npm ,一条命令安装(/ Published on npm, one command): 重启 DSH(/ Then restart DSH): 打开 DSH Web UI 并硬刷新(/ Open the UI and hard-refresh)Ctrl+Shift+R,顶栏会出现余额胶囊。 环境要求 / Requirements 安装前请确认以下环境(/ Before installing, make sure you have): 依赖 / Requirement 检查方式 / How to check 安装方法 / How to install DeepSeek Harness (DSH) 已安装且可用 / installed and…

在 GitHub 查看完整 README →
工具/开发dsh-pluginsidebar

分类