bingomu/dsh-usage-printer: Receipt printer that keeps balance and peak-valley on the DSH sidebar
dsh-usage-printer is a client-side plugin maintained by bingomu that pushes balance and peak-valley information to the bottom of the DSH sidebar. When idle, it displays a dot-matrix screen showing the balance amount and peak-valley tier bands. Hovering over it reveals a detail view listing balance, recharge amount, time period, countdown, available days, daily and monthly spending, unit price, and a recharge entry point. The balance is fetched from DeepSeek's GET /user/balance API; peak and off-peak hours are determined based on Beijing Time working days from 09:00 to 12:00 and 14:00 to 18:00; and the unit price is taken from the official snapshot dated September 10, 2026. The API route only accepts requests from localhost, and balance data does not leave the local machine. Install using `dsh plugin add github:bingomu/dsh-usage-printer#v1.0.3`; it requires version 1.0.2 or higher and is compatible with DSH 0.2.1-rc.5. It is suitable for developers who want to monitor their balance and spending at any time; note known limitations such as holidays, recharge calculation metrics, and session-level spending.
Read More