跳到正文

Tkingxiao/dsh-any-background

50最近提交 2026年8月15日

dsh-any-background DSH 插件

dsh-any-background 是一个 DeepSeek Harness 外观插件,提供 PS 风格的颜色轮来选择主题色、带平移/缩放的壁纸编辑器,以及独立的主界面、设置面板和壁纸透明度滑块。所有设置都持久化存储在 ~/.dsh/.dsh-any-background-data/ 目录中,下次启动时自动恢复。

如何安装 dsh-any-background DSH 插件

dsh plugin --profile web add github:Tkingxiao/dsh-any-background

复制不会执行命令。安装 dsh-any-background DSH 插件前请核对仓库和版本。

dsh-any-background DSH 插件数据来源

dsh-any-background DSH 插件快照日期:2026年8月16日

discovered

dsh-any-background DSH 插件能做什么

  • PS 风格颜色轮:在环上选色相,在内接正方形中调饱和度与明度,实时生成 30+ 个 CSS 设计变量。
  • 背景壁纸:选择任意图片,在视口比例编辑器中拖拽平移、滚轮缩放;图片会被压缩并本地存储。
  • 透明度控制:独立滑块分别控制主界面背景、设置面板和壁纸的透明度。
  • 模糊效果:可调节壁纸模糊(0–60px),实现磨砂玻璃效果。
  • 持久化存储:所有设置(颜色、壁纸、透明度、模糊、编辑器位置)通过节点半部分存储在文件系统,而非 localStorage。
  • 双语界面:完整的中文/英文界面,自动检测语言设置。
  • 主题看门狗:后台看门狗会在宿主重置主题时重新应用自定义主题。

dsh-any-background DSH 插件适合哪些场景

  • 个性化 DSH Web 界面,匹配你的偏好配色方案和壁纸。
  • 为团队或公司 DSH 实例创建品牌专属主题。
  • 调整界面透明度,在不同光照条件下提升可读性。
  • 设置背景图片,使界面更美观或展示动态壁纸。

dsh-any-background DSH 插件适合谁

  • 希望自定义 DSH Web 界面外观的用户。
  • 需要为 DSH 部署定制品牌主题的开发者或设计师。

dsh-any-background DSH 插件的限制

  • 桌面客户端(deepseek-harness-desktop)存在已知的 Electron 打包 bug:左侧栏和中间区域透明度反转。
  • 设置仅存储在本地文件系统,不会跨设备或 DSH 实例同步。
  • 需要 DSH 插件管理工具(dsh CLI)安装,不支持独立安装。
  • 该插件仍处于早期开发阶段(star 历史显示近期活跃)。

dsh-any-background DSH 插件的仓库 README 摘录

以下文字摘自 dsh-any-background DSH 插件的上游仓库 Tkingxiao/dsh-any-background 的 README,版权归原作者,仅作引用。

English | [中文](README.zh.md) A **DeepSeek Harness** appearance plugin that lets you fully customize the Web UI with a custom theme color, background wallpaper, and fine-grained opacity controls. --- ## Features - **PS-style Color Wheel** — Pick hue on the ring, adjust saturation & lightness in the inscribed square. Generates a full set of 30+ CSS design tokens in real time and applies them instantly. - **Background Wallpaper** — Choose any image as your wallpaper. Drag to pan, scroll to zoom inside a viewport-proportional editor. What you see is what you get. - **Opacity Controls** — Separate sliders for main interface background opacity, settings panel opacity, and wallpaper opacity. - **Blur Effect** — Adjustable wallpaper blur (0–60 px) for a frosted-glass look. - **Persistent** — All settings (color, wallpaper, opacity, blur, editor position) are stored on the **filesystem** under `~/.dsh/.dsh-any-background-data/` via the node half, and restored on next launch. No more `localStorage` quota worries. - **Bilingual** — Full Chinese / English UI with automatic locale detection. - **Theme Watchdog** — A background watchdog re-asserts the custom theme if the host resets it, so y

阅读完整 README仓库许可: MIT

dsh-any-background DSH 插件常见问题

如何安装 dsh-any-background?

可以通过 dsh CLI 安装:`dsh plugin --profile web add github:Tkingxiao/dsh-any-background` 或 `dsh plugin --profile web add dsh-any-background`。如果没有全局安装 dsh,可以使用 `npx @deepseek-ai/dsh plugin --profile web add ...`。安装后运行 `dsh web` 启动 Web UI 即可看到插件生效。

我的设置保存在哪里?

所有设置(主题颜色、壁纸、透明度、模糊、编辑器位置)都存储在文件系统下的 `~/.dsh/.dsh-any-background-data/` 目录中。插件的节点半部分管理该目录,写入 `theme-config.json` 和(如果设置了壁纸)`wallpaper.jpg`。这样避免了 localStorage 容量限制,并能在会话间持久化。

如何设置自定义背景壁纸?

在 DSH Web UI 中打开设置面板,你会看到插件添加的“主题”部分。点击壁纸区域选择图片,然后在编辑器模态框中拖拽平移、滚轮缩放。图片会被压缩(最大边长 1600px,JPEG 质量 0.75),并存储为 `wallpaper.jpg` 到数据目录。

什么是“主题看门狗”?

主题看门狗是一个后台进程,每隔 1 秒运行一次。它检查宿主(DSH)是否重置了自定义主题。如果检测到自定义主题丢失,它会重新应用所有自定义 CSS 变量。这确保即使其他操作触发了主题重置,你的主题也不会悄悄消失。

这个插件在桌面客户端上能用吗?

是的,桌面客户端(deepseek-harness-desktop)支持该插件。但有一个已知的 Electron 打包 bug:左侧栏和中间区域的透明度会反转。这是客户端 bug,不是插件问题。插件作者正在等待桌面客户端更新修复。