Introduction

The DeepSeek Harness (DSH) plugin ecosystem allows developers to extend functionality. For desktop or web users, the default theme is usually too simple. The dsh-anime-theme plugin solves the random background problem: it fetches a random image, crops it with a specific algorithm (without cutting off faces), handles blank space (by blurring and enlarging instead of showing white blocks), and adapts to both light and dark modes.

Core Features

  1. Random Wallpaper: Images are fetched on demand, with no pre-crawling.
  2. Fill Modes: smart (adaptive + blurred margins), cover (center crop), cover-top (top-biased crop), plain (solid color).
  3. Visual Optimization: Edge feathering (eliminates hard seams), and margins are not washed out (uses saturation/brightness blending).
  4. Theme: Follows the current theme, with the dark UI slightly darkened.
  5. Control: A draggable control dock.

Installation and Activation

Paste the following command into your browser address bar to trigger installation via the DSH Desktop client.

dsh://plugin/install?id=dsh-anime-theme&name=%E4%BA%8C%E6%AC%A1%E5%85%83%E5%A3%81%E7%BA%B8%E4%B8%BB%E9%A2%98&version=1.5.3&repo=zxr2115-1/dsh-anime-theme&permissions=%E7%BD%91%E7%BB%9C%E8%AE%BF%E9%97%AE%2C%E6%9C%AC%E5%9C%B0%E5%AD%98%E5%82%A8%2C%E5%AE%A2%E6%88%B7%E7%AB%AF%E6%A0%B7%E5%BC%8F%E6%B3%A8%E5%85%A5

Usage

After restarting DSH, a control dock will appear in the bottom-right corner.
* Change Another: Fetch a new image.
* Drag: Hold the control dock and drag it to any position.
* Settings: In the panel, toggle between colorless/colored images, adjust dimming/blur, and switch fill modes.

Technical Implementation and Configuration

The configuration file is located at ~/.dsh/anime-theme/config.json.
The plugin uses api.cnmiw.com (MirlKoi API). It does not download or store images; it only forwards the URL. It relies on the host proxy to handle CORS restrictions and anti-hotlinking (Referer headers).

Notes

  • No Pixiv account or Token is required.
  • No local storage (images are not downloaded or retained).
  • With a dark UI and a bright wallpaper, light-colored text may be insufficient, so the dark theme applies an additional level of darkening.
  • Disabling the plugin clears the stylesheet and leaves no residual rules.
  • When allowNsfw is disabled, the host will perform a secondary block.