DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-wallpaper

l

dsh-wallpaper

Manifest valid

DeepSeek Harness Wallpaper Plugin: Add customizable wallpaper backgrounds to the Web interface — 8 gradient presets, custom image URLs, random wallpapers from multiple sources (Bing Daily / Picsum / LoremFlickr), automatic scheduled rotation and settings persistence; auto-loads with DSH startup, no manual activation required after restart.

UI (client)Machine translated

dsh-wallpaper

DeepSeek Harness 壁纸插件(静态双面包)。为 Harness Web 界面添加可自定义的壁纸背景:渐变预设、自定义图片 URL、多来源随机壁纸(Bing 每日 / Picsum / LoremFlickr)、自动定时更换与设置持久化。

随 DSH 组合自动加载——重启后插件和设置都在,无需手动激活或授权。

功能

  • 🎨 8 款渐变预设:点击缩略图即换
  • 🔗 自定义图片 URL:输入地址按回车 / 点「应用」
  • 🎲 多来源随机壁纸:自动 / Bing 每日 / Picsum 随机图 / LoremFlickr 随机图
    • Bing 走 Host 路由(同源 fetch,无 CORS 问题);失败自动降级 Picsum
    • Picsum / LoremFlickr 由浏览器直连
  • 🌗 变暗滑杆:0–80%,保证文字可读性
  • 🔁 自动定时更换:默认每 2 小时,可选 30 分钟 ~ 24 小时;关设置页仍生效;显示「下次自动更换」倒计时;拖变暗不会重置计时
  • ⏻ 启停开关:停用时恢复默认背景并暂停自动更换
  • 💾 设置持久化:浏览器 localStorage(键 dsh-wallpaper-v1),重启自动恢复

入口:设置 ⚙️ → 壁纸。

要求

  • DeepSeek Harness(Web profile,dsh web)
  • 浏览器支持 localStorage 与 ES2017(现代浏览器均可)

安装

一键安装(推荐)

powershell -ExecutionPolicy Bypass -File .\install.ps1

脚本会:

  1. 复制包到 $DSH_HOME\profiles\node_modules\dsh-wallpaper\
  2. 在 $DSH_HOME\profiles\web\cordis.patch.yml 追加组合行(若已是默认 [] 则整体替换)
  3. 在 $DSH_HOME\profiles\web\package.json 声明依赖

然后 重启 dsh 即生效。无需任何授权或手动激活。

手动安装

  1. 复制 package.json、lib\ 到 $DSH_HOME\profiles\node_modules\dsh-wallpaper\

  2. $DSH_HOME\profiles\web\cordis.patch.yml 追加:

    - insert:
        - id: wallpaper
          name: dsh-wallpaper
    
  3. $DSH_HOME\profiles\web\package.json 的 dependencies 增加 "dsh-wallpaper": "0.1.0"

  4. 重启 dsh

卸载

powershell -ExecutionPolicy Bypass -File .\uninstall.ps1

删除包目录、移除组合行与依赖声明,然后重启 dsh。

验证(安装并重启后)

  • 设置 → 壁纸 出现「壁纸」分区
  • 默认渐变壁纸立即生效
  • 修改设置后刷新页面 → 设置保留
  • 「随机」三个来源可用(Bing 走 Host 路由 /wallpaper/bing)

实现机制

  • 包结构:静态双面包,单行组合(dsh.client 声明 + exports["./client"])
    • lib/index.js(Host 半部):注册 webServer 路由 /wallpaper/bing,用 Node 全局 fetch 抓取 Bing 每日壁纸 JSON
    • lib/client.js(浏览器半部):client-modules 加载器格式(window.__ModuleLoader__.load),工厂内 require("react")(平台 seed 词),导出 { inject: ['slots','theme','timer'], apply }
  • 壁纸渲染:动态创建 <style data-plugin-css="dsh-wallpaper"> 写 html, body 背景(渐变/图片 + 暗度叠层,background-attachment: fixed)+ ctx.theme.overrideTokens('dsh-wallpaper', …) 将 --dsw-alias-bg-base / --dsw-specific-sidebar-fill 调半透明,形成毛玻璃透出效果
  • 设置页:ctx.slots.inject('settings.section', …) 注册分区(id wallpaper,order 12)
  • 自动更换:ctx.timer.interval 插件级定时器 + 签名守卫(拖变暗不重置计时);倒计时由 30 秒 ticker 驱动
  • 持久化:localStorage 每次状态变更即写;激活时 loadSaved() 恢复(带类型校验)

许可

MIT

Copyright (c) 2025 Lueb386-LGTM

Comments

Loading…

Similar plugins

dsh-background

by retmon2333

DeepSeek Harness(DSH)背景壁纸更换(单图 / 文件夹轮播)模式,可调透明、模糊、遮罩与樱花/雪花特效,侧栏与输入框也能透出壁纸

Manifest valid

★ 0

MIT

TypeScript

Sep 4, 2026

dsh plugin --profile web add dsh-background

by laoye666-6

DeepSeek Harness 壁纸插件:图片/视频背景(GIF/APNG/动图WebP/PNG/JPEG/MP4/WebM),格式自动识别,压暗/亮度/模糊,界面色调跟随,逐组件透明化。纯客户端,一条指令安装。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

↓ 310/wk

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-plugin-media-wallpaper
dsh-bg-new

No screenshots

by sz1698

DSH 网页界面换背景:侧栏「壁纸」按钮弹出右侧抽屉,支持系统预设/纯色/渐变/图片/视频,滚轮+拖动小图同时管缩放与定位,毛玻璃质感,本地媒体伺服不走云端。DSH web background & wallpaper plugin with drawer UI, glassmorphism and local media serving.

Themes & SkinsManifest valid

★ 20

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-bg-new

by HaydenSmith1121

DeepSeek Harness 插件:从 wallhaven.cc 搜图并铺成 GUI 背景,图片全由宿主端取回(支持代理,浏览器无需能访问 wallhaven),可一键下载原图。零运行时依赖。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Sep 28, 2026

dsh plugin --profile web add dsh-wallhaven-wallpaper

by zxr2115-1

DeepSeek Harness (DSH) 二次元壁纸主题插件 · 随机动漫壁纸 / 四档铺满 / 边缘羽化 / 深浅色自适应 / 可拖动控制坞 · theme plugin for DeepSeek Harness

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-anime-theme

✦

No screenshots

by tuogusa

DeepSeek Harness Web 背景插件(client-only):深海鲸鱼娘壁纸 + 半透明磨砂应用表面,支持设置页换图、透明度、contain/cover 与恢复默认,远程图片自动预检并 no-referrer 加载

Themes & SkinsManifest valid

★ 4

↓ 51/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-whale-background