ganfne123/dsh-plugin-api-quota
ganfne123★ 0JavaScriptLast synced: 2026-08-15
DSH Web UI plugin: check your DeepSeek API key balance from the sidebar
README excerpt
dsh-plugin-api-quota DSH Web UI plugin — check your DeepSeek API key balance from the sidebar. 中文 What It Does Adds an API Quota entry to the Web sidebar footer (next to Settings). Clicking it opens a panel that queries the DeepSeek official balance endpoint ( GET /user/balance ) and shows: - Total balance, granted balance, topped-up balance - Currency and availability - Query time, with a refresh button The API key never crosses into the browser : the browser half fetches a same-origin route ( /api-quota/balance ) served by the plugin's host half, which resolves the key through the credential seam ( ctx.credentials ) and talks to DeepSeek server-side. How It Works Half Responsibility Host ( src/index.ts ) Registers GET /api-quota/balance on the web server; resolves DEEPSEEK API KEY via ctx.credentials , calls https://api.deepseek.com/user/balance Browser ( src/client/ ) Registers the sidebar.footer.action slot entry; fetches the route and renders the balance panel (Modal) The credential reference and endpoint are configurable via the plugin config ( apiKeyEnv , baseURL , balancePath ), defaulting to DEEPSEEK API KEY / https://api.deepseek.com / /user/balance . Quick Start DSH plug…
View full README on GitHub →Category
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 2,452
omdsh-dev/DSH-better-sidebar一个侧边栏的完整工作台,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理
★ 1,027
Small-tailqwq/dsh-deep-whaleDSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)——CC BY-NC-SA 4.0
★ 822