dsh-opencode-go-usage: DSH Web Desktop Pet Usage Widget

Introduction

In the DSH Web interface, checking usage usually requires switching panels, which is not intuitive enough. The dsh-opencode-go-usage plugin provides a persistent desktop pet window for real-time usage monitoring. Below is an introduction to the features and usage of this plugin.

What is this

dsh-opencode-go-usage is a desktop pet usage window for the DSH Web GUI, featuring a character named “Blue Big Fat Fish”. Maintained by wawo77, it falls under the fun/costume category. This plugin solves the problem of checking usage by keeping it permanently resident in the corner of the Web interface, allowing you to understand today’s consumption without switching panels.

Core Features

The plugin offers the following capabilities:

  • Automatic Provider Adaptation:Automatically identifies and adapts to providers configured in DSH, supporting OpenCode Go, Command Code, DeepSeek official, etc.
  • Skeletal Animation:The character features skeletal animation effects, including breathing fluctuations, bouncing every 6 seconds, ear twitching, and tail swinging.
  • On-site Synthesized Sound Effects:Click interactions (e.g., a “squeak” sound) and zoom sound effects (“pop” sound) are synthesized on-site, involving zero audio files and zero copyright issues.
  • Smart Turning:The character automatically turns based on its position on the screen; if against the left half of the screen, it looks right, and if against the right half, it looks left.
  • Interactive Control:Supports mouse hover, click to expand details, drag to move position, and scroll wheel zoom (range 90–260px).
  • Data Security:Pure local processing; account data does not leave the machine. All HTTP routes have loopback fences.

Installation and Activation

Execute the following command to install the plugin:

dsh plugin --profile web add "github:wawo77/dsh-opencode-go-usage"

After installation, you need to restart dsh web to confirm the installation and verify sprite loading. Note that installation paths containing spaces will cause the link protocol installation to fail.

Typical Usage

  1. View Usage:Check usage resident in the corner of the DSH web interface. The first line of the bubble displays the plan quota percentage or account balance, and the second line displays today’s tokens.
  2. Interactive View:Click the character to expand a detail card to view more statistical data.
  3. Adjust Size:Scroll the mouse wheel on the character to zoom (90–260px); a “pop” sound will play for each size change.
  4. Hover Interaction:Hover the mouse over the character, and it will lift slightly.

Applicable Scenarios and Notes

This plugin is suitable for users who need to intuitively view usage within the DSH Web interface and prioritize data privacy.

Please note the following when using:
* Version Requirement:Requires DSH >= 0.1.5-rc.1.
* Configuration Dependency:API Keys for the corresponding plans must be configured in DSH (e.g., OPENCODE_GO_API_KEY, DEEPSEEK_API_KEY).
* Restart Required:You must restart dsh web after installation for it to take effect.
* Path Limitation:Installation paths containing spaces will cause the link protocol installation to fail.

Summary

dsh-opencode-go-usage provides a low-overhead, visual usage monitoring solution. Combining skeletal animation with local secure processing mechanisms, it is suitable for DSH users who pursue both practicality and privacy.

Plugin Directory
GitHub Repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye