web-background
DeepSeek Harness web background settings plugin with solid color, image, and opacity controls.
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 17, 2026
- Updated
- Aug 17, 2026
Introduction
web-background
DeepSeek Harness web background settings plugin with solid color, image, and opacity controls.
功能
- 在 设置 → 通用 → 网页背景 中切换:无、纯色、图片。
- 纯色模式支持颜色选择器。
- 图片模式使用本地上传图片(自动压缩为 data URL)。
- 支持 0–100% 背景不透明度。
- 支持一键恢复默认背景。
- 设置保存在浏览器
localStorage,刷新后自动恢复。 - 多个标签页之间自动同步背景设置。
安装
# git 源安装(构建产物入库)
dsh plugin --profile web add "github:lndyzwdxhs/web-background#main"
# 或本地目录
cd /path/to/web-background
pnpm install
pnpm run bundle
dsh plugin --profile web add .
如果本地 dsh plugin add 报 ERR_PNPM_ADDING_TO_ROOT,加 -w:
dsh plugin --profile web add -w .
如果本机没有全局 dsh,也可以用 npx 运行:
npx @deepseek-ai/dsh plugin --profile web add -w .
npx @deepseek-ai/dsh web
重启 web 生效。
开发
pnpm install
pnpm run bundle
pnpm run gates
pnpm run watch
- 客户端源码在
src/client/index.ts;构建后生成lib/client.js。