DSH Hub
dsh-hub-oauth-gateway cover

lninghaha/dsh-hub-oauth-gateway

dsh-hub-oauth-gateway

UIWeb UI0 GitHub stars· updated 2026-08-22

DSH Web plugin: Usage Center with Hub snapshots and cost analytics, coding-plan OAuth, and optional loopback OpenAI-compatible gateway

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-hub-oauth-gateway`

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

README badge

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

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

From the README

Excerpt from lninghaha/dsh-hub-oauth-gateway, cleaned of badges and images.

dsh-hub-oauth-gateway

v1.9.1 · formerly dsh-usage-stats

Local-first usage center for DeepSeek Harness Web. Tokens, estimated cost, account balances, subscription quotas, trends, forecasts, alerts, and exports — plus coding-subscription OAuth (Grok Build, Codex, Kimi Code, Claude Code), an optional loopback API gateway, and opt-in local auth/usage monitoring. No tokens in chat.

English · 中文版 · 日本語 · 한국어 · Português (BR) · Español · Français · Deutsch · Русский


Upgrade / 升级: Follow the versioned steps in docs/01-install.md. 1.9.1 fixes a 1.9.0 startup failure on strict Cordis injection guards; keep profile/config/credential files and restart one existing DSH Web process only after Hub 1.9.1 and Subscription 0.6.1 are both updated. [email protected] remains their shared npm dependency, not a separate DSH plugin.


Name change

First published as dsh-usage-stats. The package and repository are now dsh-hub-oauth-gateway (effective with 1.1.0). Remove any old entry before reinstalling. Local data files and the internal Cordis plugin id stay the same, so historical usage is preserved.

Use thisStill works / unchanged
npm (recommended)dsh plugin --profile web add dsh-hub-oauth-gatewayOld npm name is no longer updated
GitHub / developmentdsh-hub-oauth-gateway
Cordis plugin idusage-statsunchanged
SQLite database${DSH_HOME}/storages/usage-stats-v1.sqliteunchanged
CLIdsh-coding-oauthdsh-grok-build (alias)

Release history lives in CHANGELOG.md.

Features

Related plugins