Preface¶
DeepSeek Harness (DSH) uses a full set of --dsw-* design tokens for its interface color scheme, and there is no built-in entry for “changing the background image.” If you want to add some visual distinction to the local Web GUI without manually modifying the theme source code, you need a solution that hooks into the Harness plugin system.
Wallhaven (wallhaven.cc) is a common wallpaper source, but in many network environments, direct browser access may encounter DNS pollution, require a proxy, or face whitelist restrictions imposed by corporate networks. Even if the command line can curl, the DSH process launched from a graphical interface may not inherit HTTPS_PROXY. The plugin described below performs “image search, display, and download” on the host side, so the browser only accesses the plugin’s local route on 127.0.0.1, making it usable even in browsers that cannot reach wallhaven.
What Is This¶
dsh-wallhaven-wallpaper is a network-dependent plugin for DeepSeek Harness: it searches wallhaven.cc by criteria in Settings → Wallpaper, and clicking a result can set it as the interface background. It supports appearance adjustments such as blur, mask, opacity, and fill mode, as well as a one-click option to save the original image locally. Both images and API requests are issued by the DSH host process, so the browser does not need to access wallhaven; the plugin declares zero runtime dependencies and is licensed under MIT.
Community catalog page: dsh-wallhaven-wallpaper (SkillHub). For source code and detailed instructions, see the GitHub README (the repository address in package.json is HaydenSmith1121/dsh-wallhaven-wallpaper). The README states that it has been tested with versions 0.1.6-alpha.1 through 0.2.1-rc.2 of @deepseek-ai/dsh; compatibility is determined through per-interface probing rather than relying solely on version numbers. Probe results are shown in Settings → Wallpaper → Compatibility.
Core Features¶
Host-Side Image Fetching and Proxy¶
- Wallhaven’s API and image bytes are issued by the host; the Web side only communicates with the local route registered by this plugin.
- Access → Proxy can be manually filled in (e.g.,
http://127.0.0.1:7897); when left blank, it readsHTTPS_PROXY/https_proxy/ALL_PROXY/HTTP_PROXY. Connectivity is tested when the page loads, and it can scan common local HTTP proxy ports (SOCKS is not supported; you must enable the HTTP port in your client). - Images are only allowed from the two domains
w.wallhaven.ccandth.wallhaven.ccunderhttps.
Settings Page and Quick Actions¶
- Settings → Wallpaper: search criteria, thumbnail grid, pagination, current background preview, and options related to appearance and access.
- ↻ Shuffle at the bottom of the sidebar: randomly switches to another image under the current search criteria without reopening settings each time.
- By default, only SFW content is searched with no API key required. If you need Sketchy / NSFW content or account filters, generate a Key in your wallhaven account settings and enter it under Access → wallhaven API Key (sent via the
X-API-Keyrequest header).
How the Background Is Composited onto the Interface¶
The plugin does not replace official slots or nodes. Instead, it inserts a fixed background layer and recalculates the alpha values of several --dsw-* surface tokens based on the interface opacity, allowing the wallpaper to show through from within the existing theme. Disabling Enable interface wallpaper removes the layer and styles. Floating layers such as menus and dialogs remain opaque to avoid semi-transparent controls being difficult to read.
Download and Local Storage¶
- Download original image saves to the directory specified under Access → Save original image to; when left blank, the default is
Pictures/DSH Wallpapers(%USERPROFILE%\Pictures\DSH Wallpaperson Windows). - Configuration and thumbnail cache are located at
$DSH_HOME/storages/dsh-wallhaven-wallpaper/.
The plugin does not register model tools or rewrite model routes; file writes are limited to the above storage directory and the user-specified download directory.
Installation and Activation¶
Before installation, you must select the correct profile; otherwise, the plugin will not appear in the corresponding environment:
| Usage | profile | Command |
|---|---|---|
| DeepSeek Harness desktop version | desktop |
dsh plugin --profile desktop add github:HaydenSmith1121/dsh-wallhaven-wallpaper |
dsh web / dsh tui |
web |
dsh plugin --profile web add github:HaydenSmith1121/dsh-wallhaven-wallpaper |
The desktop version only loads the desktop profile; installing into web will not make it appear in the desktop version, and vice versa. Restart Harness after installation to take effect. The README also mentions that the spec can be replaced with an npm package name or a local .tgz path for installation.
After installation, you can roughly check the configuration and routes without opening the interface:
dsh --profile desktop --dump-config | tail -3
The last line should show dsh-wallhaven-wallpaper. Additionally, you can request the compatibility endpoint (the port depends on your local DSH):
curl http://127.0.0.1:<port>/plugins/dsh-wallhaven-wallpaper/compat
This returns information such as the Harness version, profile, and whether the host route is registered.
Typical Usage¶
1. First Address the Case Where wallhaven Is Unreachable¶
Open Settings → Wallpaper; the status line in the top-right corner displays the connectivity test result. If you have Clash / mihomo etc. on the local machine but DSH did not inherit the proxy, the page may prompt that a proxy is available and offer a one-click Use button; you can also fill in Access → Proxy manually. Connectivity is tested before searching; if it fails, the search is skipped and the reason is explained.
2. Search and Set as Background¶
- Adjust criteria such as category, rating, sorting, minimum resolution, and aspect ratio, and the search will automatically re-run with the new conditions; the default is approximately “Top list · Last month · ≥1920×1080”.
- Click an image in the grid to set it as the background and turn on the master switch.
- Under Current background, you can view resolution, rating, size, etc. Use Download original image or Open on wallhaven.
- Under Appearance, adjust interface opacity (default
0.72), blur, dark overlay mask, fill, and alignment.
3. Check the Compatibility Page When Switching Versions or Encountering Issues¶
Settings → Wallpaper → Compatibility lists probe results for host routes, settings page slots, sidebar, text registration, theme tokens, etc. After switching Harness versions, it is recommended to check this page first rather than guessing whether it is usable based on the version number.
Use Cases and Notes¶
This is suitable for developers who use the DSH Web / desktop GUI locally for extended periods, want to use Wallhaven wallpapers, and have networks that are unfriendly to the browser. When only loopback access is allowed by default, POST requests such as writing configuration and downloading require a same-origin Origin, but you should still be aware: anyone who can connect to the DSH Web port has capabilities equivalent to the exposure surface of this plugin; do not expose an unprotected instance to the LAN at will.
The plugin runs with the current dsh process’s user and permissions, issues external HTTPS requests, and writes to $DSH_HOME and the user-configured download directory. Before installation, please review the source code and MIT license yourself to confirm that the proxy, API Key, and download path comply with your security policy. /compat is a read-only GET that echoes back version, profile, $DSH_HOME, and other path-related information; when assessing the exposure surface, consider it together with /status.
The Node engine requirement is listed in the package’s engines field (^22.19.0 || >=24.0.0); peerDependencies has a segmented version range for @deepseek-ai/dsh; refer to package.json for specifics.
Closing¶
dsh-wallhaven-wallpaper bundles Wallhaven search, GUI background, and host-side proxy image fetching into the DSH plugin model: the browser does not need to access wallhaven, and the theme tokens still follow the product’s color scheme changes. For installation commands and behavioral details, refer to the README; the community index is at the SkillHub catalog page, and the source code is on GitHub.