tuogusa/dsh-whale-background

DeepSeek Harness Web 背景插件(仅客户端)

Project Overview项目介绍

This plugin is built exclusively for the web profile of DeepSeek Harness, it adds custom background functionality to the DSH web GUI. To install it, you can run the command dsh plugin --profile web add github:tuogusa/dsh-whale-background via DSH's CLI tool. If you have cloned the repository to your local development working directory, you can also install it from the local working directory with the command dsh plugin --profile web add link:<local-path>. After installation completes, you need to restart DSH and press Ctrl+Shift+R to refresh the browser page to activate the plugin.

After activation, the plugin automatically loads a default built-in deep-sea whale wallpaper as the page background, and adds a soft semi-transparent frosted effect to DSH's main application surface. Users can open DSH Web's settings page, navigate to the dedicated background section to customize all available options. You can upload a local image file as your custom background, or paste a direct public image URL to use a remote background image. The plugin will preload remote URLs to check for loading errors, and it loads remote images with the no-referrer attribute to reduce hotlink protection blocks.

All custom background settings are stored in the browser's localStorage under the key dsh-whale-background, so they persist across page refreshes and application restarts. Users can adjust the transparency of the application surface with a 0-100% slider that updates in real time, and switch between two background sizing options: contain and cover. If you want to revert to the original state, you can press the reset button to clear all custom settings. The plugin is released under the open source MIT license, and advanced users can replace the default wallpaper by rebuilding the plugin locally.

dsh-whale-background 是专门为 DeepSeek Harness Web 客户端开发的原生背景主题插件,自带默认深海鲸鱼娘壁纸,可为应用界面添加半透明磨砂效果,还支持在 DSH 设置页自定义调整各类背景参数。安装需要通过 DSH CLI 执行命令,仅兼容 DSH Web 端,安装后需要重启 DSH 并刷新浏览器页面生效。

用户可以在 DSH 设置的背景选项中选择本地图片作为自定义背景,也可以直接粘贴网络图片链接使用,插件会预加载远程图片并对加载失败给出明确提示,还自动以 no-referrer 方式加载来降低防盗链限制。用户也可以一键清除自定义设置,恢复默认的鲸鱼娘壁纸。

所有自定义设置会保存在浏览器的 localStorage 中,刷新页面或重启客户端后设置依然保留,支持调整应用表面透明度和背景铺放方式,也可以一键恢复所有默认设置。插件采用 MIT 许可证开源,用户还可以自行替换内置默认壁纸,重新构建后即可生效。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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:tuogusa/dsh-whale-background

把 tuogusa/dsh-whale-background 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-whale-background

DeepSeek Harness Web 背景插件(client-only):深海鲸鱼娘壁纸 + 半透明磨砂应用表面,并支持在 DSH 设置页自定义背景。

功能

  • 默认鲸鱼壁纸:内置 assets/wallpaper.jpg,构建时内联为 base64,开箱即用
  • 设置页自定义背景:进入 DSH Web → 设置 → 背景
    • 更换背景图片:选择本地图片(自动转 data URL),或粘贴图片 URL(先预加载检查,失败会明确提示;远程图片自动以 no-referrer 方式加载,降低防盗链影响)
    • 清除自定义图片:回到内置鲸鱼壁纸
    • 表面透明度:0–100% 滑块,实时生效
    • 铺放方式:contain(完整显示)/ cover(铺满全屏)
    • 恢复默认:一键清除自定义设置
  • 持久化:设置保存在浏览器 localStorage(key dsh-whale-background),刷新/重启后保留

效果

  • 浅色主题:壁纸居中完整显示(contain 不裁切)或铺满全屏,两侧纯白,应用表面白色半透明(磨砂),文字保持可读
  • 深色主题:右侧保留壁纸 + 深色渐变遮罩,应用表面深色半透明,文字保持可读

安装

dsh plugin --profile web add github:tuogusa/dsh-whale-background

或从本地工作区安装:

dsh plugin --profile web add link:E:/dsh_workspace/dsh-whale-background

兼容 Profile:web(DSH Web GUI)。

安装后重启 DSH 并 Ctrl+Shift+R 刷新浏览器。

更新

# 方式一:CLI 更新(推荐)
dsh plugin --profile web update dsh-whale-background

# 方式二:重新从 GitHub 源安装/更新
dsh plugin --profile web add github:tuogusa/dsh-whale-background

说明:dsh plugin 是 pnpm 的前置转发器,update 会按当前依赖声明重新解析该包;通过 github:tuogusa/dsh-whale-background 安装时,会更新到仓库默认分支的最新提交。

换内置壁纸(默认图)

把任意图片(JPG/PNG/WebP/GIF,build.js 自动识别格式)覆盖到 assets/wallpaper.jpg,然后:

node build.js

重新生成 lib/client.js(base64 内联)。profile 里是符号链接,重建后 HMR 自动热重载;未连接 HMR 则 Ctrl+Shift+R 强刷。

结构

assets/wallpaper.jpg    壁纸原图(当前为 1080x1440 JPEG)
src/client.template.js  浏览器侧模板(含 __WALLPAPER_MIME__/__WALLPAPER_BASE64__ 占位符,及设置页实现)
build.js                构建脚本:壁纸 → base64 内联 → 生成 lib/client.js
lib/client.js           构建产物(被 exports["./client"] 引用)
lib/index.js            host half(空插件,仅让 loader 行保持 enabled 以便 client-modules 收录)

License

MIT

← 上一个 Prev dsh-view-modes 下一个 Next dsh-add-headers-to-completions →