U1s1-king/dsh-live2d-afterglow

Plugin插件 Native原生 ⭐ 2 Pets & Fun桌宠与娱乐

Project Overview项目介绍

This is a desk pet plugin built specifically for the DeepSeek Harness (DSH) Web GUI. It adds a draggable Live2D character widget to the DSH web interface, featuring five members of the Afterglow band from BanG Dream! with a total of 426 different outfits. These outfits cover every type of character look including casual wear, school uniforms, performance costumes, event exclusive outfits, birthday outfits, and collaboration pieces. All model files are stored locally on your machine and loaded from the same origin, so no external network requests are made when running the widget.

Installing the plugin is done via the DSH command line interface. You run the install command pointing to your local copy of the repository, then restart the DSH web service and hard refresh your browser page to activate the plugin. This plugin is independent from other similar Live2D desk pet plugins for other bands in the same ecosystem, so you can install multiple plugins at the same time. Only one desk pet will display on the screen at a time, and to switch between bands you need to edit your configuration file to disable the active plugin.

The pre-built output files are already included in the repository, so you do not need to run a local build step after cloning, even with pnpm 9 or newer versions. If you do want to modify the plugin or add new models, you can run pnpm install and then pnpm run build to generate new output files. All model assets combined are between 500MB and 700MB in total size, stored in the assets/model directory. The model data is sourced from the unofficial BANDORI desktop version, and it is for personal local use only, with no commercial redistribution allowed.

这是专为DeepSeek Harness(DSH)Web GUI开发的原生插件,可为DSH网页界面添加可拖拽的Afterglow(来自《BanG Dream!》)Live2D桌宠。插件收录了Afterglow的五位成员:美竹兰、青叶摩卡、上原绯玛丽、宇田川巴、羽泽鸫,合计426套换装,涵盖常服、校服、演出服、活动、生日、联动等各类造型。所有模型本地存储,同源加载,不会产生额外网络请求。

安装方式很简单,通过DSH命令行工具执行对应指令添加本地插件路径后,重启DSH web服务并硬刷新页面即可生效。该插件和其他同系列Live2D桌宠插件相互独立,路由前缀互相隔离,可以同时安装多个不同乐队的插件。但同一界面只会显示一只桌宠,要切换角色团需要修改配置文件禁用对应插件后重启才能生效。

插件已经预先构建好产物,可直接通过git依赖安装,不需要在本地重新执行构建步骤。所有模型资源总大小约500-700MB,保存在项目资源目录下,如果要自行更换模型或换装,修改后需要重启DSH web才能生效。模型数据来源于BANDORI独立版,仅允许本地非商业使用,禁止用于任何商业用途。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:U1s1-king/dsh-live2d-afterglow

把 U1s1-king/dsh-live2d-afterglow 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-live2d-afterglow

Afterglow Live2D 桌宠插件 —— 为 DeepSeek Harness Web GUI 添加可拖拽的 Live2D 看板娘。

收录 Afterglow 五位成员的 Live2D 桌宠:美竹 蘭(Ran)、青葉 モカ(Moca)、上原 ひまり(Himari)、宇田川 巴(Tomoe)、羽沢 つぐみ(Tsugumi),合计 426 套换装 (常服 / 校服 / 演出 / 活动 / 生日 / 联动等,取自 BANDORI 独立版全量数据); 模型本地存储、同源加载,零网络请求。

功能

  • 右下角 Live2D 看板娘(5 角色)
  • 拖拽自由移动(位置持久化到 localStorage)
  • 角色切换 + 换装面板(426 套换装,中文名显示:常服2023 / 活动41 SR / 泳装2023 / 生日2022 等;角色选择面板显示角色头像)
  • 视线跟随鼠标、空闲随机动作/台词气泡、点击互动
  • 拍照(下载 PNG 截图)

安装

dsh plugin --profile web add D:\\dsh\\dsh-live2d-afterglow

装完后重启 dsh web 并硬刷新页面。与 dsh-live2d-mygo / dsh-live2d-poppinparty / dsh-live2d-afterglow / dsh-live2d-pastelpalettes 为独立插件,路由前缀各自隔离 (/pet-assets /pp-assets /ag-assets /ppp-assets),可同时安装;但同源 widget 共享 localStorage 状态、同屏只会出现一只桌宠,切换团请在 web profile 的 cordis.patch.yml 中注释/取消注释对应插件的 disabled 条目后重启。

卸载

dsh plugin --profile web remove dsh-live2d-afterglow

构建

pnpm install
pnpm build

构建产物 lib/index.js + lib/client.js 已随仓库提供(无 prepare 脚本,pnpm 9+ 可直接 git 依赖安装)。模型资源在 assets/model(约 500-700MB,Cubism 2 .moc/.mtn), 更换模型/换装后需重启 dsh web。

说明

  • 模型数据来自 BANDORI 独立版看板娘(model-data),仅本地使用,请勿用于商业用途。
  • 换装显示名为规则化中文映射(src/client/waifu/characters.js 的 LABEL_RULES), 想改某个名字直接改那一行规则即可。
← 上一个 Prev dsh-quality-review 下一个 Next dsh-llm-databricks →