dsh-plugin-genshin-paimon-theme
Manifest validGenshin Impact white-and-gold skin for the DSH web GUI: a random in-game landscape wallpaper on every page load, the Genshin UI font site-wide, a Paimon-style menu and a running-status element ring, a
原神 · 白金主题(DeepSeek Harness 插件)
把 DeepSeek Harness Web GUI 换成原神风格:随机地理志壁纸、原神中文界面字体、白金配色、派蒙菜单与元素环,外加派蒙 / 法涅斯双人格一键切换。
Genshin Impact · white-and-gold theme plugin for DeepSeek Harness.
效果
- 随机壁纸:262 张地理志风景,覆盖蒙德 / 璃月 / 稻妻 / 须弥 / 枫丹 / 纳塔 / 至冬 / 提瓦特,刷新即换,换图时交叉淡入。
- 原神字体:全站统一
zh-cn.ttf(@font-face: GenshinFont)。 - 白金配色:暖金 + 陶土色调覆盖 DSH 主题 token,只保留亮色形态。
- 派蒙 UI:左上角菜单按钮、派蒙菜单、右下角元素环(同时是运行状态指示:idle / busy / writing / error)。
- 双人格:默认法涅斯;切到派蒙后,系统提示词换成贪吃的小向导,回复风格立刻变化。
安装
前置: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。
版权与免责
- 插件代码:MIT。
- 游戏素材归 miHoYo / HoYoverse 所有:《原神》角色、字体、地理志壁纸等版权不属于本项目,本仓库仅作个人界面美化与学习交流用的非商业分发。若权利人提出要求,会立即删除相关素材。
- 二次分发或商用前,请自行确认素材授权。
致谢
- DeepSeek Harness 的插件体系与主题 token。
- 壁纸来自《原神》游戏内地理志。
Comments
Loading…
Similar plugins
✦
No screenshots
Wallpaper backgrounds for the DSH web GUI. Windows: reads your Wallpaper Engine (Steam) library and plays video/web wallpapers behind the chat. macOS: scans the WaifuX download folder and loose media
★ 0
dsh plugin --profile web add dsh-plugin-wallpaper-engineby jinxlux
A fully customizable theming framework for DSH UI, with Xiao from Genshin Impact as the default theme.
★ 3
↓ 216/wk
TypeScript
Oct 3, 2026
dsh plugin --profile web add xiao-ui-theme-tsby CosmerHomura
Genshin Impact Yoimiya theme: two hand-tuned palettes, a procedural fireworks particle layer, and a local music player that reads your own files — songs and covers are never uploaded. Warm syntax colo
★ 3
MIT
JavaScript
Sep 16, 2026
dsh plugin --profile web add dsh-yoimiya-theme✦
No screenshots
Wallpaper skin for the DSH Web UI: presets, image URL or upload, and an opacity slider that fades the interface to reveal the wallpaper.
★ 0
dsh plugin --profile web add dsh-wallpaperDSH 浏览器皮肤插件:开场动画、自定义壁纸、面板透明度,设置即时生效。
★ 0
MIT
TypeScript
dsh plugin --profile web add dsh-plugin-shell-skin✦
No screenshots
by ddbj-hub
Persistent wallpaper skin for the dsh web profile: static image or muted looping video as the app background, with translucent panels and a floating picker panel.
★ 1
↓ 62/wk
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-wallpaper-skin

