sakuraaa667/dsh-wallpaper-engine 预览 preview

sakuraaa667/dsh-wallpaper-engine

Skin皮肤 Native原生 ⭐ 11 MIT UI & Themes界面与主题

将wallpaper集成到DeepSeek harness中,以便设置dsh的动态壁纸。

Project Overview项目介绍

This is a theme plugin built exclusively for DeepSeek Harness that lets users use wallpapers downloaded from their local Wallpaper Engine as the custom background for the DSH web interface. It automatically detects wallpapers from the Steam Workshop and local Wallpaper Engine projects, supports multiple Steam libraries by parsing libraryfolders.vdf, and accepts manually configured paths for content. To install, users can run the dsh plugin add command with the repository path, or manually add it to their DSH web profile and update the cordis.patch.yml file.

After installation, users access the plugin through DSH’s settings menu under the Wallpaper Engine section. All detected wallpapers are displayed as thumbnails, and a search bar lets users quickly locate specific wallpapers. Clicking a thumbnail applies it as the new DSH background, clicking again clears the custom background and restores the default. The plugin automatically rescans the local disk every 30 seconds to pick up new downloads, and also includes a manual refresh button for immediate updates.

The plugin supports both image and video wallpapers: video plays muted in a loop by default, while images automatically load the highest resolution source file available. It offers two image scaling modes: fill and fit, with a frosted glass background for the fit mode, plus two sliders to adjust interface readability. All user selections are persisted to a JSON file in DSH_HOME, so choices are restored after restarting DSH, and the project is released under the open source MIT license.

这是专为DeepSeek Harness开发的原生插件,作用是将用户本地Wallpaper Engine中已经下载的壁纸(包括动态视频壁纸)接入DSH,作为Web界面的自定义背景。它能自动发现Steam创意工坊和本地项目路径下的已下载壁纸,支持多Steam库,自动读取libraryfolders.vdf获取路径,也允许用户手动配置壁纸目录。

安装完成后,用户可以在DeepSeek Harness的「设置 → 壁纸 Wallpaper Engine」页面浏览所有已发现壁纸,支持关键词搜索和缩略图预览,点击即可一键应用选中壁纸,再次点击可清除设置恢复默认背景。插件每30秒自动扫描刷新本地壁纸列表,新下载的壁纸会自动同步进来,用户也可以手动点击刷新按钮立即更新目录。

插件支持图片和视频壁纸,视频默认静音循环播放,图片会优先加载最高分辨率原图,还提供铺满、完整显示两种适配模式,完整显示模式会带毛玻璃背景填充。另外还有面板暗化、背景压暗两种调节功能,用户选择会持久化存储,重启DSH后会自动恢复,采用MIT许可证可免费使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 11 stars - an early-stage project星标 11,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:sakuraaa667/dsh-wallpaper-engine

把 sakuraaa667/dsh-wallpaper-engine 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-wallpaper-engine

把本机 Wallpaper Engine 里已经下载的壁纸接入 DeepSeek Harness,作为 Web 界面 的背景(动态壁纸视频也支持)。Use wallpapers downloaded by Wallpaper Engine as the DeepSeek Harness web background.

效果预览

DeepSeek Harness 壁纸背景效果

功能

  • 自动发现 Wallpaper Engine 已下载内容:
    • Steam 创意工坊壁纸(app 431960,自动读取 libraryfolders.vdf,支持多 Steam 库);
    • 本地项目(projects/myprojects、projects/defaultprojects)。
  • 在 设置 → 壁纸 Wallpaper Engine 中浏览缩略图、搜索、一键使用;
  • 自动同步:打开壁纸页时每 30 秒静默重扫磁盘,Wallpaper Engine 里新下载的壁纸会自动出现(也可点「刷新」立即更新);
  • 视频壁纸以 <video> 方式播放(muted + loop);图片壁纸优先使用目录内最高分辨率原图(而非小尺寸预览图),并支持「铺满 / 完整显示」两种适配模式(完整显示带毛玻璃背景填充);
  • 「面板暗化(0–100%)」与「背景压暗(0–50%)」两个滑杆控制可读性;
  • 选择会持久化到 $DSH_HOME/dsh-wallpaper.json,重启 / 刷新后自动恢复。

安装

在 dsh 安装目录(或任意目录)执行:

dsh plugin --profile web add file:C:\path\to\dsh-wallpaper-engine

或手动方式(与 dsh plugin add 等价):

  1. 在 $DSH_HOME/profiles/web 下 pnpm add file:<本插件绝对路径>;

  2. 在该 profile 的 cordis.patch.yml 中加入:

    - insert:
        - id: dsh-wallpaper-engine
          name: dsh-wallpaper-engine
    
  3. 刷新浏览器页面(若服务端未热加载,重启 dsh web)。

使用

  1. 打开 DeepSeek Harness Web 界面;
  2. 进入 设置 → 壁纸 Wallpaper Engine;
  3. 点击任意壁纸卡片即可设为背景,再次点击「清除背景」恢复默认。

配置

插件支持可选配置(在 profile 的 cordis.patch.yml 中以 id 覆盖):

- id: dsh-wallpaper-engine
  config:
    workshopDir: "D:\\steam\\steamapps\\workshop\\content\\431960"
    projectsDir: "D:\\steam\\steamapps\\common\\wallpaper_engine\\projects\\myprojects"

也支持环境变量(; 分隔多路径):

  • DSH_WALLPAPER_WORKSHOP_DIR — 创意工坊壁纸目录;
  • DSH_WALLPAPER_STEAM_DIR — Steam 根目录(用于推导 workshop 与本地项目)。

HTTP 路由

路由 说明
GET /dsh-wallpaper/list 壁纸列表 + 检测到的来源目录
GET /dsh-wallpaper/config 当前持久化的选择
POST /dsh-wallpaper/config 持久化选择 {id, dim, overlay}
GET /dsh-wallpaper/preview/<id> 缩略图
GET /dsh-wallpaper/file/<id> 壁纸媒体文件(支持 Range,用于视频)

所有 id 均通过扫描生成的映射查找,不参与路径拼接,避免路径穿越。

限制

  • 场景型(scene)与网页型(web)壁纸无法在浏览器背景中实时渲染,回退为预览图;
  • 视频通过本机 HTTP 流式传输,仅本机访问(默认 loopback)。
← 上一个 Prev shidi-skill 下一个 Next dsh-whale-meter →