dsh-opencode-go-usage-badge

One-line sidebar badge for OpenCode Go quota (5-hour, weekly and monthly windows), switching to the DeepSeek official balance when that model source is selected. Read-only, no telemetry. The OpenCode Go quota needs OPENCODE_GO_API_KEY configured in DSH, or an OpenCode Console login (its local credential file is read as a fallback), and the DeepSeek balance needs DEEPSEEK_API_KEY configured in DSH.

Overview

One-line sidebar badge for OpenCode Go quota (5-hour, weekly and monthly windows), switching to the DeepSeek official balance when that model source is selected. Read-only, no telemetry. The OpenCode Go quota needs OPENCODE_GO_API_KEY configured in DSH, or an OpenCode Console login (its local credential file is read as a fallback), and the DeepSeek balance needs DEEPSEEK_API_KEY configured in DSH.

Installation

Install from GitHub

dsh plugin --profile web add github:Panther-w/dsh-opencode-go-usage-badge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.