dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
把 DSH Web 界面换成原神白金风格:每次打开随机一张游戏内风景壁纸,全站使用原神界面字体,带派蒙风格菜单与运行状态元素环,可在派蒙/法涅斯两种人格间一键切换;仓库内置 262 张 1920x1080 壁纸,覆盖八个地区。
把 DeepSeek Harness Web GUI 换成原神风格:随机地理志壁纸、原神中文界面字体、白金配色、派蒙菜单与元素环,外加派蒙 / 法涅斯双人格一键切换。
Genshin Impact · white-and-gold theme plugin for DeepSeek Harness.
zh-cn.ttf(@font-face: GenshinFont)。前置:DSH 已安装,pnpm 在 PATH 上,profile 为 web(桌面端把 web 换成 desktop)。
# 从 GitHub 安装(推荐)
dsh plugin --profile web add github:student-jia/dsh-plugin-genshin-paimon-theme
# 或用完整 git 地址 / 本地目录
dsh plugin --profile web add git+https://github.com/student-jia/dsh-plugin-genshin-paimon-theme.git
dsh plugin --profile web add D:\path\to\dsh-plugin-genshin-paimon-theme
dsh plugin add 会转发给 pnpm 安装,并自动把本包(声明了 dsh.bundle.patch)加入 dsh.profile.bundles 层。安装后重启 DSH(或让 live reload 生效),打开 Web GUI 即生效。
没装 pnpm 时的手动方式:
# 1. 把仓库放到 profile 的 node_modules 里(或任意目录)
git clone https://github.com/student-jia/dsh-plugin-genshin-paimon-theme.git "$env:USERPROFILE\.dsh\profiles\web\node_modules\dsh-plugin-genshin-paimon-theme"
# 2. 在 profile 的 cordis.patch.yml 末尾追加
# - insert:
# - id: genshin-paimon-theme
# name: 'dsh-plugin-genshin-paimon-theme'
# 3. 重启 DSH
http://127.0.0.1:<端口>/genshin-bg/random 应返回一张 WebP 壁纸(不是 HTML)。原神白金主题已激活。| 快捷键 | 作用 |
|---|---|
Ctrl+Shift+B | 换一张壁纸 |
M | 切换派蒙 / 法涅斯人格 |
/ | 开合派蒙菜单 |
Ctrl+Shift+H | 显示 / 隐藏浮动按钮 |
控制台开关(存在 localStorage,刷新后仍生效):
__genshinTheme.version // '1.1.5'
__genshinTheme.hideFloating(true) // 隐藏右下角头像 + 左上角菜单按钮
__genshinTheme.resetFloat() // 浮动按钮回到贴角位置
__genshinTheme.typography(false) // 关闭侧栏字号放大
__genshinTheme.skip(el) // 把 el 子树排除出主题排版规则
dsh-plugin-genshin-paimon-theme/
├── index.js # 插件本体:webServer 路由 + tapIndex 注入 + systemPrompt section
├── cordis.patch.yml # bundle patch:往 profile 层插入本插件
├── package.json # dsh.bundle.patch 指向 cordis.patch.yml
├── assets/
│ ├── nations/ # 262 张壁纸,按国家分目录
│ ├── fonts/zh-cn.ttf # 原神中文界面字体(11.0 MB)
│ └── ui/ # 派蒙菜单 / 元素环 / 图标素材
├── README.md
└── README.zh.md # 原始详细说明(含调色与共存开关)
所有资源都相对插件目录解析(path.dirname(import.meta.url)),包整体搬移不会失效。
原始壁纸共 2023.5 MB,仓库里的是等比缩放到 1920×1080、WebP 质量 80 的版本,共 34.2 MB(约 1.7%)。屏幕背景用途下肉眼几乎无差;要更高画质可以自行替换 assets/nations/<国家>/ 下的图片(支持 jpg / png / webp),清单有 60 秒 TTL 会自动重扫。
assets/nations/<国家>/ 增删图片,60 秒内自动生效;想立刻生效访问 /genshin-bg/random?fresh=1。index.js 里 THEME_STYLE 的 --dsw-alias-* token。assets/fonts/zh-cn.ttf,@font-face 名保持 GenshinFont。dsh plugin --profile web remove dsh-plugin-genshin-paimon-theme
或从 cordis.patch.yml 删掉对应 insert 段,重启 DSH。