Back to plugins
dsh-pet Cover

dsh-pet

One-command DSH transparent animated desktop pet: multi-instance, screen roaming, session-driven states, and AI-video custom pets.

github.com/PC2005-cloud/dsh-pet
6.9k MIT Author PC2005-cloud Updated

Install

dsh plugin --profile web add github:PC2005-cloud/dsh-pet

Writes to ~/.dsh/profiles/web; loaded by dsh web

DSH plugin installation guide

Screenshots 5

What it solves

  • No low-noise feedback during long sessions: dsh-pet maps DSH session events (thinking / working / organizing / waiting / success / error) to dedicated state animations plus a persistent bubble, so you can sense progress without watching the output; finished multi-turn tasks are only celebrated on the actual final turn.
  • Boring waiting time: over a hundred hand-drawn transparent animations (idle breathing, dozing off, solving a Rubik’s cube, eating hotpot…) chain into each other by weight; plus click squash, drag-and-throw with edge bounces, and screen roaming.
  • Scattered status info: balance animations by tier with a bubble, periodic muttering, right-click playback of any animation, and system notifications when the window loses focus.
  • Wanting a unique pet: drop kind-config.json plus an asset folder under pet/ to add a whole new species, or add plain VP9-Alpha .webm files as new animations. The repo also ships the full prompt → asset-generation pipeline → plugin chain so a pet can be reproduced from scratch.
  • Other plugins need a body: a local HTTP API (prefix /dsh-pet-7340, localhost-only, no auth) lets other plugins make the pet speak, play animations, chat, and read state, with an OpenAPI 3.1 contract and a sample console page.

Highlights

  • Multiple pets on screen at once, each with its own size and position; can leave the browser as a transparent always-on-top desktop window (display: web / desktop / both / none).
  • Roaming stays inside screen bounds, handling multiple monitors, mixed DPI, taskbars and gaps; optional lock to the current screen.
  • Browser and desktop share the same assets and pure logic (physics and squash curves in shared/physics.ts), so behavior is identical.
  • Respects prefers-reduced-motion.

Install

  • Desktop app: enter dsh-pet in the plugin manager.
  • dsh web: dsh plugin --profile web add dsh-pet, then restart dsh web. From source, run npm install && npm run build first, then add file:<plugin dir>.
  • Restart the host after installing; the default both shows the pet in the browser and on the desktop, switchable in settings or the right-click menu.

Who it’s for

  • DSH users running long multi-turn tasks who want ambient, low-noise status and balance feedback.
  • Creators who like tweaking themes, animations and assets and want to build their own pet.
  • Developers writing other DSH plugins who need a visible “body” for announcements.

Caveats

  • Browser overlay supports Chromium and Firefox; Safari is not supported (webm alpha is not honored on macOS, use .mov assets instead).
  • Desktop mode downloads Electron on first launch (mirror-based, configurable via DSH_PET_ELECTRON_MIRROR / DSH_PET_ELECTRON_VERSION); failures only affect the desktop form; headless environments skip desktop windows automatically.
  • The HTTP API is localhost-only and unauthenticated, so use it in trusted environments only.
Tags UI & Theme Misc

Compiled from the project README · All rights belong to the original author

Report issue / Request removal

Related plugins