dsh-peak-reminder

Peak-hour reminder: while DeepSeek charges peak rates it shows a banner at the top of the DSH Web UI every N minutes (default 5, range 1-120), adds one at each peak/valley switch, stays silent during valley hours, and keeps a sidebar row with the current state and a countdown to the next switch. Peak rules (Beijing time Mon-Fri 09:00-12:00 and 14:00-18:00; weekends, Chinese public holidays and 调休 weekends are valley all day) are evaluated in the host and served over two no-auth routes, /plugins/dsh-peak-reminder/state and /config; settings live in settings.section and are stored in ~/.dsh/peak-reminder.json.

Overview

Peak-hour reminder: while DeepSeek charges peak rates it shows a banner at the top of the DSH Web UI every N minutes (default 5, range 1-120), adds one at each peak/valley switch, stays silent during valley hours, and keeps a sidebar row with the current state and a countdown to the next switch. Peak rules (Beijing time Mon-Fri 09:00-12:00 and 14:00-18:00; weekends, Chinese public holidays and 调休 weekends are valley all day) are evaluated in the host and served over two no-auth routes, /plugins/dsh-peak-reminder/state and /config; settings live in settings.section and are stored in ~/.dsh/peak-reminder.json.

Installation

Install from npm

dsh plugin --profile web add dsh-peak-reminder

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:54nanmiao/dsh-peak-reminder

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.