lninghaha/dsh-hub-oauth-gateway
A local-first usage center for dsh web: tokens, estimated cost, account balances, subscription quotas, trends, forecasts, alerts and exports, plus coding-subscription OAuth.
The panel turns local usage records into something you can act on: token counts and estimated cost, account balances and subscription quotas, trends and forecasts, alerts and exports. OAuth flows for coding subscriptions are managed in the same place, and an optional loopback OpenAI-compatible gateway lets other tools use the same credentials. Local auth/usage monitoring is opt-in, and everything runs on the machine rather than through a hosted dashboard.
Install
dsh plugin --profile web add dsh-hub-oauth-gatewayThe npm line for the current package name; the package resolves on the public registry and its registry metadata points back at this repository. The README records the rename from its first publication as dsh-usage-stats. Upgrades follow docs/01-install.md's versioned steps: keep profile, configuration and credential files, update both plugins in the same web profile, then restart the existing dsh web process once.
Compatibility
The README pins the verified dsh contract and the shared core dependency (dsh-coding-oauth-core 0.1.2 with undici 7.29.0), and states that the core remains an npm dependency rather than a separate dsh plugin. Coding-subscription OAuth covers Grok Build, Codex, Kimi Code and Claude Code; the loopback API gateway is optional. The README's own rule is that tokens never appear in chat.
Details
- Repo: lninghaha/dsh-hub-oauth-gateway
- Category: Usage & Billing
- Stars: 1
- Version: 1.13.6 (npm latest)
Alternatives
greyhackintoch-dev/dsh-month-tokens · Stmol/dsh-rub-cost · LemCAE/dsh-balance