Animated wallpaper plugin with 8 canvas backgrounds (particles, meteors, starfield, waves, rain, bubbles, matrix, aurora) plus custom video import, and speed/density/opacity/blur sliders with localStorage persistence.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Willmylife/dsh-dynamic-wallpaper
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness (DSH) 动态壁纸插件:在设置页提供 8 种内置 Canvas 动态壁纸 + 自定义视频背景,支持速度、密度、遮罩透明度、模糊调节,所有配置存入 localStorage,刷新不丢失。
灵感来自 dsh-skin,采用相同的插件结构(浏览器侧实现 + cordis loader entry)。
内置壁纸
| 壁纸 | 效果 |
|---|---|
| 粒子 (particles) | 漂浮连线粒子网络 |
| 流星雨 (meteors) | 夜空流星划过 |
| 星际穿梭 (starfield) | 3D 星空飞行 |
| 波光 (waves) | 层叠正弦波浪 |
| 雨幕 (rain) | 深夜落雨 |
| 气泡 (bubbles) | 深海上浮气泡 |
| 字符雨 (matrix) | 黑客帝国风数字雨 |
| 极光 (aurora) | 流动极光帷幕与湖面倒影 |
功能
- 8 种内置动态壁纸,全部 Canvas 渲染,无外部资源
- 自定义视频:粘贴可直接播放的 http(s) 视频网址,或导入本地 MP4 / WebM / OGV / MOV / M4V 文件作为动态背景
- 内置免版权预设:设置面板提供海岸浪花 / 现场演出 / 数字地球三个 Pexels 视频一键试用(内容逐一核实、1080p、全部 ≤21MB)
- 本地导入的视频保存在浏览器 IndexedDB 中,刷新或重启后自动恢复;隐私模式等存储受限环境下需重新导入
- 切换视频时会先在后台预加载,加载成功才替换当前壁纸,失败时原壁纸保留并给出具体原因(防盗链/跨域、格式不支持、解码失败、超时)
- 远程视频能通过格式校验不代表一定可播放:需要登录、依赖 Referer、防盗链或不允许跨域嵌入的来源可能加载失败
- 视频画质三档:流畅(半分辨率 20fps)/ 平衡(75% 分辨率 24fps,默认)/ 高清(原始直出)——视频壁纸垫在聊天界面后可通过降采样与限帧显著降低合成开销;前两档的模糊滑杆改为更深的降采样实现,几乎零额外开销
- 速度 / 密度 / 遮罩 / 模糊 四个滑杆实时调节
- 动画透在主内容区和侧栏上,消息气泡保持不透明,不影响可读性
- 页面隐藏时自动暂停动画/视频,省电
- 配置持久化(localStorage),刷新后自动恢复
安装
dsh plugin --profile web add -w /path/to/dsh-dynamic-wallpaper
dsh web
从 npm 安装:
dsh plugin --profile web add -w dsh-dynamic-wallpaper
dsh web
安装后打开 设置 → 通用,即可看到「动态壁纸」面板。
开发
修改 lib/client.js 后重启 web 服务器,并运行零依赖的语法与绘制烟雾测试:
npm run check
npm test
dsh web
npm test 会让每种内置壁纸在标准、最高与最低密度下完成 Canvas 绘制,捕获浏览器端绘制逻辑的运行时错误。
License
MIT
Links
More in this category
Small-tailqwq/dsh-deep-whale#maid-atelier★ 2339
Whale-girl skin series for the DSH Web UI (maid-atelier).
elysia395/dsh-wallpaper-engine★ 461
Requires DeepSeek Harness 0.1.5-rc.1+ (DSH Desktop >= 2.0.7) and dsh-better-sidebar >= 0.19.0 - update both before installing or updating this plugin. Plays local Wallpaper Engine Video/Web wallpapers behind the chat, renders Scene wallpapers as extracted static frames, and adds content-rating/type filters, custom uploads and an iOS-style liquid-glass settings window.
d-dev0101/open-sea-skin★ 381
Realtime WebGPU ocean skin with quick controls for waves, daylight, glass opacity, and an automatic day cycle.
kingOfSoySauce/dsh-liang-skin★ 230
Adaptive reasoning slider skin that maps each model's available reasoning efforts onto a 0–30 visual intensity scale, with synchronized portraits, background, and interface colors.
RevolutionLA/dsh-dream-skin★ 199
One-command skin plugin: 8 original themes, translucent wallpaper with opacity/blur, per-user accent, and shareable theme-pack import/export, favorites and surprise-me — purely native on DSH's token system.
GGBond2424648901/deep-whale-day-night-theme★ 118
Non-commercial day/night whale-girl skin for official Harness rc.7: current no-viewport-frame layout, paired crystal-workshop and moon-tide scenes, chibi companions, translucent ornaments, and lightweight ambience.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.