dsh-account-glance

Compact card above the sidebar account avatar showing the signed-in DeepSeek account balance, the current peak or off-peak billing window with a countdown to the next switch, and the rate of both windows. The window is computed locally in Beijing time without a network request; the balance refreshes every 60 seconds and on window focus or visibility. zh/en copy, no runtime dependencies.

Overview

Compact card above the sidebar account avatar showing the signed-in DeepSeek account balance, the current peak or off-peak billing window with a countdown to the next switch, and the rate of both windows. The window is computed locally in Beijing time without a network request; the balance refreshes every 60 seconds and on window focus or visibility. zh/en copy, no runtime dependencies.

Installation

Install from GitHub

dsh plugin --profile web add github:kang7897/dsh-account-glance

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.