dsh-plugin-wallpaper: DSH Web Interface Cyberpunk Theme and Custom Backgrounds

Introduction

The default Web interface for DeepSeek Harness (dsh) is the official shell style. If you run dsh web in your browser long-term, the sidebar and buttons often feel visually “tool-like,” and the background lacks personalization. Community plugins can inject client logic via bundles to modify the interface’s appearance without touching the core repository. The following introduces dsh-plugin-wallpaper: a plugin to centrally manage “Theme Skins” and “Background Images” under Settings → General, with data stored solely in the local browser.

What is this

dsh-plugin-wallpaper is a plugin for the DeepSeek Harness Web interface, published by the maintainer mwilljx-web and categorized as Fun Customization in the community directory. In one sentence: it provides Cyberpunk sidebar and icon button styles for the browser UI, along with a toggleable, swappable background layer, all configurable within the settings panel.

Core Features

There is a corresponding entry row in the settings, containing two capability sections below (as described in the README: “One Settings row, two sections”).

Theme style

Option Effect
Default Restore native appearance (whether the background image is shown is still determined by the switch in the background section)
Cyberpunk Neon borders on the sidebar with cyan-to-magenta gradient wash; neon style for small icon buttons; magenta glow on hover; current line highlight

The skin works by marking the DOM at runtime and activating plugin styles under html[data-dsh-skin="cyber"], avoiding hardcoded CSS Module class names that might change due to dsh builds.

Background image

Control Effect
Preview Thumbnail Current background
enable / disable Toggle the background layer
choose image Local file (long edge scaled to ≤1920px, JPEG, stored per browser)
reset Restore built-in default
image URL Paste an https:// image address
dim 0–0.9 darkening mask for better text readability
blur 0–20px
fit cover / contain

All options are persisted in localStorage with the key dsh-wallpaper/v1: isolated by browser and not uploaded to servers.

Implementation Notes (to help determine suitability for your environment)

  • Background Layer: Fixed at position: fixed; z-index: -1 behind the application; transparent processing is applied to “sufficiently tall (≥ 50% of viewport height) base color containers” to let the wallpaper show through, while short controls and cards remain opaque to ensure contrast.
  • Self-Healing: A watchdog running every ~2 seconds rechecks the layer, transparency, and labels; every fifth tick triggers a full tree rescan to adapt to SPA re-rendering and theme switching.
  • Disabling Background: Removes the layer, stylesheets, and plugin-injected inline overrides, facilitating clean uninstallation or disabling.

The distribution package includes a default image which is a neutral cyberpunk gradient (no third-party image libraries bundled). To replace the default image, run in the repository root directory:

node scripts/set-default-image.mjs ./my-wallpaper.jpg
node scripts/set-default-image.mjs --gradient   # Restore gradient default

Pre-scaling to approximately 1600×900 is recommended; the script writes it as an inline data URI without further scaling.

Environment and Dependencies

  • Requires DeepSeek Harness with the Web interface (dsh web) and a profile supporting plugin bundles (dsh plugin).
  • Depends on client modules exposed by the official Web shell (README specifies react and @deepseek-ai/dsh-client-store).
  • The plugin hooks into @deepseek-ai/dsh-client-locale, @deepseek-ai/dsh-client-ui-renderer, @deepseek-ai/dsh-client-ui-settings etc. via dsh.client.inject in package.json; no separate build step is required, the client entry is lib/client.js.
  • README notes it has been verified on dsh 0.1.5-rc.2 Web package; Node ≥20 (engines).

Installation and Activation

First, get the plugin directory locally from GitHub (using /path/to/dsh-plugin-wallpaper as an example below), then run the official installation command:

dsh plugin --profile web add /path/to/dsh-plugin-wallpaper

The plugin bundle is assembled when the Web service starts, so a restart of dsh web is required after installation. Open the GUI and go to Settings → General → Interface skin to see the skin and background options.

Uninstallation:

dsh plugin --profile web remove dsh-plugin-wallpaper

After developing or modifying lib/client.js, dsh web also needs to be restarted, as the host caches the bundle at startup.

Typical Usage

  1. After installing and restarting dsh web, open Settings → General → Interface skin.
  2. Select Cyberpunk for Theme style and observe the neon styles and hover effects on the sidebar and ≤46px icon buttons; select Default for the native UI.
  3. In Background image, enable the background, use choose image for local files or image URL for https:// addresses; use dim / blur / fit to adjust readability and layout.
  4. If not satisfied, use reset to return to the built-in default gradient; to change the distribution package default image, maintainers can use set-default-image.mjs in the source tree before packaging.

Local self-check (zero npm dependencies):

npm test

Applicable Scenarios and Caveats

Who it is for: Developers or self-hosted deployments who use dsh web in the browser long-term, desire a cyberpunk skin or custom wallpaper, and accept that “settings are saved only in the current browser.”

Permissions and Security: The plugin runs within the current dsh Web process and user browser context; background URLs and local files are chosen by you. You should read the source code and the MIT license before installation; you are responsible for the copyright and compliance of the images you add (README has notes regarding the embedded default gradient and custom images).

Limitations (README Caveats):

  • Settings are saved in localStorage per browser; switching browsers or clearing site data will result in loss.
  • Transparency is applied only to “sufficiently tall base color containers”; if a shell version draws the background on non-standard nodes, the visible wallpaper area may be reduced; if no matching base color token is found, it falls back to the “any sufficiently tall opaque container” strategy.

The DeepSeek Harness ecosystem emphasizes “Everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer. The installation and capability descriptions in this article are based on the repository README.

Conclusion

dsh-plugin-wallpaper consolidates the Web interface’s cyberpunk skin and configurable background into a single settings entry, keeping data in local localStorage. It is suitable for light “fun customization” in an existing dsh web environment. For further details and issues, see GitHub: https://github.com/mwilljx-web/dsh-plugin-wallpaper; Community Entry: https://www.skillhub.cn/plugins/mwilljx-web/dsh-plugin-wallpaper.

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

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

Xiaoye