xiake595/touhou-hakurei 预览 preview

xiake595/touhou-hakurei

Plugin插件 Native原生 ⭐ 20 NOASSERTION UI & Themes界面与主题

DeepSeek Harness Web GUI 的东方Project 博丽神社主题皮肤:博丽神社昼夜实景背景、 灵梦左右立绘、朱红/纸白/金色的神社装饰界面。纯展示层客户端插件 —— apply() 设置 data-dsh-hakurei 作用域、按亮/暗主题切换神社背景、以独立透明层挂载灵梦 角色、装饰可折叠侧栏,并为加载/思考/工具运行状态预留稳定动画钩子。effect 销毁器 还原全部 CSS/DOM 写入;不注入服务、不发出 Cordis 事件、不触达模型请求。

catalog descriptioncatalog 简介 / catalog description:灵梦(Reimu)·博丽神社(东方Project)美化版皮肤:神社昼夜实景背景、灵梦立绘、画框侧边栏与输入框、纸白透明界面 — DeepSeek Harness Web GUI skin

Project Overview项目介绍

This is a native UI theme skin plugin built exclusively for the DeepSeek Harness Web GUI, themed around the popular Touhou Project franchise. It is a client-side only presentation layer plugin that does not inject backend services, trigger Cordis events, or access model requests directly. It adds a Hakurei Shrine day/night background that switches automatically with the system’s light/dark theme, adds two Reimu character artworks, and restyles the entire UI with shrine-inspired color palettes. The easiest way to install is to run the one-line command dsh plugin --profile web add https://github.com/xiake595/touhou-hakurei directly from your DSH CLI.

This plugin is made for DSH users who are fans of the Touhou Project franchise and want to customize their Web GUI interface. Once you install the plugin, it takes effect immediately without needing any extra configuration or manual setup after installation. When you uninstall the plugin, the included effect destroyer automatically reverts all CSS and DOM changes it made, so no residual modifications are left on your DSH instance. You can switch between this and other installed themes using DSH’s skin management tool, or manage theme switching manually via your profile’s bundle configuration.

This plugin is released under the CC BY-NC-SA 4.0 license, which prohibits any commercial use of the code or included assets. The project’s build scaffolding is derived from an open source DSH skin template by another developer, and all assets are pre-generated and embedded so you don’t need to prepare local assets after cloning the repository. When installing via GitHub, you may see a peer dependency warning for @deepseek-ai/cordis, but this dependency is provided by the DSH runtime, so it is an expected warning that does not affect the plugin’s functionality at all.

这是一款专为DeepSeek Harness Web GUI打造的东方Project主题皮肤插件,属于DSH原生客户端展示层插件,不涉及后端服务交互、模型请求处理或自定义事件触发。它为DSH提供博丽神社昼夜实景背景,搭配博丽灵梦双立绘,采用朱红、纸白、金色的神社配色装饰整个界面,支持随系统亮暗主题自动切换背景和对应配色方案。

这款皮肤插件面向喜爱东方Project IP的DSH用户,安装完成后即可立即生效,不需要额外的手动配置步骤。插件自带效果销毁器,卸载时会自动还原所有CSS和DOM改动,不会残留任何修改痕迹,支持通过DSH的皮肤管理工具切换不同主题,也可通过profile的bundles配置手动管理不同皮肤间的互斥切换。

本插件遵循CC BY-NC-SA 4.0许可协议,禁止任何商业性使用,皮肤工程结构源自第三方开源皮肤脚手架,所有展示素材已预生成嵌入安装包,克隆仓库后无需额外准备本地素材即可直接构建使用。安装时可能会出现一条peer依赖警告,该依赖由DSH运行时本身提供,属于正常预期提示,不会影响插件的实际使用效果。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 20 stars - an early-stage project星标 20,属于早期项目
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 https://github.com/xiake595/touhou-hakurei

把 xiake595/touhou-hakurei 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

touhou-hakurei · 灵梦美化包:博丽神社(东方Project 主题皮肤)

DeepSeek Harness Web GUI 的东方Project 博丽神社主题皮肤:博丽神社昼夜实景背景、 灵梦左右立绘、朱红/纸白/金色的神社装饰界面。纯展示层客户端插件 —— apply() 设置 data-dsh-hakurei 作用域、按亮/暗主题切换神社背景、以独立透明层挂载灵梦 角色、装饰可折叠侧栏,并为加载/思考/工具运行状态预留稳定动画钩子。effect 销毁器 还原全部 CSS/DOM 写入;不注入服务、不发出 Cordis 事件、不触达模型请求。

预览

亮色主题 暗色主题
light dark

效果展示

深色主题 · 场景一 深色主题 · 场景二
深色主题一 深色主题二
浅色主题 · 场景一 浅色主题 · 场景二
浅色主题一 浅色主题二

特性

  • 博丽神社昼/夜实景对话背景(亮/暗主题自动切换;浅色模式带柔光罩缓解刺眼)
  • 灵梦站姿/飞行双立绘(左侧栏联动避让、对话页移向安全边缘)
  • 统一半透明面板:侧边栏、对话头部与输入框使用同一套半透明渐变 (浅色纸白 / 深色深棕),随主题自动切换;内部控件(品牌行、按钮、搜索框) 融入面板,整体干净统一
  • 主题感知文字:浅色模式深墨文字、深色模式纸白文字,保证两种主题下可读
  • 简洁无横幅:顶部缘带、悬浮横幅、底部装饰条与输入框/侧边栏画框均已移除
  • 朱红、纸白、金色点缀(头像 favicon、标题字标、选中态缎带)
  • 素材内嵌于 client bundle(数据 URI),激活不依赖任何临时文件/远程 URL

安装

方式一:一行命令直装(推荐)

dsh plugin --profile web add https://github.com/xiake595/touhou-hakurei

也可以直接把仓库地址交给 DSH:「安装一下这个皮肤包:https://github.com/xiake595/touhou-hakurei」。

方式二:本地路径(开发 / 已克隆仓库)

git clone https://github.com/xiake595/touhou-hakurei
dsh plugin --profile web add ./touhou-hakurei

卸载

dsh plugin --profile web remove @dsh-external/dsh-client-ui-skin-hakurei-shrine

加载即生效、卸载即复原(wiring.id 为 ui-skin-hakurei)。皮肤之间的 互斥切换由皮肤管理工具(如 dsh-skin)或 profile 的 bundles 配置管理。

以 GitHub 方式安装时,pnpm 会对 @deepseek-ai/cordis 报一条 peer dependency 警告——该依赖由 DSH 运行时提供,属预期提示,不影响使用。

素材

仓库内的素材嵌入(assets-gen/ 与 src/client/*.generated.ts)已经生成完毕, 克隆后无需本地素材即可直接构建使用。

如需替换为自己准备的素材:

  1. 准备素材目录(默认 C:\Users\1\Desktop\图片),包含:
    • processed-v2/:bg-light.webp bg-dark.webp(神社昼夜背景)、 reimu-stand.webp reimu-fly.webp(灵梦立绘)、banner.webp(横幅)
    • 方框.png(侧边栏竖幅画框)、对话框.png(输入框横版画框)
  2. 修改 tools/generate-assets.cjs 顶部的 ASSETS_DIR / RAW_DIR 路径
  3. 运行 node tools/generate-assets.cjs 重新生成素材嵌入

装饰素材(鸟居、日轮、朱印牌、缘带、工作区缎带等)由 tools/generate-assets.cjs 程序化生成(SVG → webp)。

开发与构建

pnpm install
pnpm build        # tsdown 构建 lib/(node 入口 + client bundle)

辅助脚本:

node tools/generate-assets.cjs   # 重新生成素材嵌入(需要 sharp 与本地素材)
node tools/rewrite-css.cjs       # 重新生成 hakurei.module.css(色板转换)
node tools/rewrite-index.cjs     # 重新生成 src/client/index.ts(重命名/横幅接线)

致谢与许可

  • 皮肤工程结构(构建预设 build/tsdown.client.ts、皮肤脚手架、布局/动画工程) 源自 dsh-deep-whale 的 maid-atelier(作者 Small-tailqwq)
  • 背景 / 角色 / 画框素材来自用户本地素材(详见 NOTICE)
  • 本皮肤以 CC BY-NC-SA 4.0 发布,禁止任何商业性使用。见 LICENSE 与 NOTICE。
← 上一个 Prev dsh-prompt 下一个 Next dsh-session-context-menu →