DSH Hub
dsh-usage cover

Aisland-SJL/dsh-usage

dsh-usage

UIWeb UI134 GitHub starsยท updated 2026-10-02

๐ŸŒŠ Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness โ€” activity heatmap, dual-channel comparison, local-only & privacy-first

Install

npx @deepseek-ai/dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-usage DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-usage.svg)](https://dshhub.dev/plugins/dsh-usage)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from Aisland-SJL/dsh-usage, cleaned of badges and images.

๐ŸŒŠ dsh-usage

A persistent floating dock, a fully customizable balance / token-usage panel, an activity heatmap, and a dual-channel usage comparison for the DeepSeek Harness Web GUI (dsh web) and official Windows Desktop. See the host scope below.

โœจ Feature tour

๐ŸŒŠ Persistent dock

Your key numbers stay visible at all times โ€” balance glows green (red only when out of credit), rows are separated by hairlines, and a settings gear plus one-click refresh sit in the corner. When the sidebar collapses, the dock folds into a tiny balance pill.

<table><tr> <td width="44%"><img src="docs/images/dock.png" alt="dsh-usage dock" width="100%"></td>
  • ๐ŸŸข Balance โ€” green when healthy, red when drained
  • ๐Ÿ“Š Today / Month / Cache hit โ€” glanceable token stats
  • โš™ Gear opens the panel ยท โ†ป refresh re-queries instantly
  • ๐Ÿงฒ Mirrors your pins โ€” every change applies immediately
</tr></table>

๐ŸŽ›๏ธ Detail panel โ€” all seven widgets

A two-column card layout; every widget has a detail and a compact form, and can be drag-reordered, collapsed, hidden, or pinned.

<table><tr>
WidgetWhat it does
๐Ÿ’ณ BalanceBig number on the left, available / topped-up / granted rows on the right; provider switchable
๐Ÿ“Š TodayToday's tokens plus input / output / cache-read breakdown
๐Ÿ“ˆ This monthMonthly tokens plus the same breakdown
๐ŸŽฏ Cache hitToday's and all-time cache hit rates
โ†”๏ธ Channel shareDSH channel vs Claude Code channel ratio bar
๐Ÿ“œ Usage logLast 14 days per-day list, click to drill into per-model detail
๐Ÿ”ฅ Activity heatmap28-day ร— 6-band dot grid (dates across, 0โ€“24h down)
<td width="46%"><img src="docs/images/panel.png" alt="dsh-usage panel" width="100%"></td> </tr></table>

๐ŸŽจ Everything customizable

Accent (presets + color picker), background, and panel opacity are adjustable live. Drag-reorder, pin, collapse, hide โ€” every number presents your way, echoing DeepSeek Harness's "everything is a plugin" spirit.

<p align="center"><img src="docs/images/customizer.png" alt="dsh-usage customizer" width="78%"></p>

At a glance

FeatureNotes
๐Ÿ’ณPersistent dockPinned compacts always visible; collapses into a balance pill when the sidebar folds
๐ŸŽจEverything customizableWidgets: pin / collapse / hide / drag-reorder with a dashed placeholder and glide animation; accent, background, opacity; persisted in localStorage
๐Ÿ“ŠBalance & usage panelProvider picker, balance breakdown, today/month totals in k/M/B units, cache hit, usage log with per-model drilldown
๐Ÿ”ฅActivity heatmapGitHub-style dots: 28 days ร— 6 four-hour bands with date labels
โ†”๏ธChannel shareDSH channel vs Claude Code channel (incremental JSONL aggregation of ~/.claude/projects)
๐Ÿ”„Background refreshRefresh at startup, then every 5 minutes: balances, DSH tokens, Claude Code aggregation
๐Ÿ”’Local-only securityThree loopback-only GET endpoints; credentials resolved server-side; upstream forced HTTPS with DNS pinning; Claude logs aggregate numbers only โ€” message text never leaves the machine

UI supports Chinese and English. Balance requests resolve keys in memory through Harness's credential service; keys are not included in plugin caches or browser responses.

Quick start

โ€ฆ

Related plugins