U1s1-king/dsh-live2d-ras
项目介绍Project Overview
dsh-live2d-ras 是 DeepSeek Harness 的 RAISE A SUILEN Live2D 桌宠插件,本地加载 Cubism 2 模型与运行时,零外部依赖、完全离线。提供 LAYER、LOCK、MASKING、PAREO、CHU² 五名角色,共 226 套换装,支持拖拽、点击抚摸互动、角色切换、换装面板、表情包与每日/节日问候,并自动记忆位置和显示状态。适合想要 RAS 看板娘陪伴桌面时使用。注意模型资源约 660MB,且数据源自 BANDORI 独立版 Live2D。
dsh-live2d-ras is a DeepSeek Harness plugin that adds a RAISE A SUILEN Live2D desktop pet. It loads Cubism 2 models and runtime locally, with no external dependencies and fully offline use. It includes LAYER, LOCK, MASKING, PAREO, and CHU², with 226 outfits, dragging, petting interactions, character and costume switching, stickers, daily greetings, and holiday messages. It also remembers position and visibility. Use it for an RAS desktop companion; note the assets are about 660MB and come from BANDORI standalone Live2D data.
请帮我了解并安装插件:【dsh-live2d-ras】【https://github.com/U1s1-king/dsh-live2d-ras】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add "github:U1s1-king/dsh-live2d-ras#main"
把 U1s1-king/dsh-live2d-ras 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-live2d-ras
RAISE A SUILEN(RAS)Live2D 桌宠插件 for DeepSeek Harness(本地模型同源加载,零外部依赖)。
收录
RAISE A SUILEN:和奏瑞依 LAYER(主唱·贝斯)、朝日六花 LOCK(吉他)、佐藤益木 MASKING(鼓手)、鳰原令王那 PAREO(键盘)、珠手知由 CHU²(制作人·DJ),合计 226 套换装(Cubism 2,约 660MB 模型资源)。
模型取自 BANDORI 独立版 Live2D 数据(
D:\za\文件\models的 zst 包,编号 007/017/020/027/030),与 Roselia / Poppin'Party 插件同源;本地模型 + 本地运行时,完全离线。
功能
- 右下角 Live2D 看板娘(5 角色:LAYER / LOCK / MASKING / PAREO / CHU²),支持拖拽
- 角色切换 + 换装面板(226 套换装,含全部 Live/活动/生日/节日服装)
- 桌面宠物(点击 / 抚摸 / 拖拽互动)
- 表情包 + 每日问候 + 节日祝福(按季节 / 时刻 / 操作触发台词)
- 模型位置、显示状态自动记忆(独立 localStorage 键
ro-waifu-*,互不干扰)
安装
dsh plugin --profile web add D:\dsh\dsh-live2d-ras
dsh web
或从 GitHub 安装:
dsh plugin --profile web add "github:U1s1-king/dsh-live2d-ras#main"
结构
src/
index.ts # host 半区:cordis 插件入口(inject webServer)
routes.ts # 静态资源路由(/ras-assets)
client/
index.ts # client 半区:__ModuleLoader__ 挂载 + VENDOR 加载
waifu/
characters.js # 角色元数据(LAYER / LOCK / MASKING / PAREO / CHU²)
config.js # 通用配置(状态 / 位置 / 面板)
modelList.js # 模型列表(由 assets/model 生成,5 角色 × 226 套)
tips.js # RAS 台词包(5 角色人设台词)
model.js # Live2D 模型加载(index.json + 动作过滤)
tools.js # 工具按钮(换装 / 拍照 / 信息 / 退出)
assets/
model/ # 模型资源(007_* CHU² / 017_* LOCK / 020_* MASKING / 027_* PAREO / 030_* LAYER)
vendor/ # live2d.min.js / pixi.min.js / live2d-display.cubism2.min.js
waifu.css # 桌宠样式(右上角定位 + z-index 防遮挡)
character.png # 角色图
assets/ # 角色头像(chara_icon_7/17/20/27/30.png)
说明
- 路由前缀:
/ras-assets(与 Roselia 的/ro-assets、MyGO 的/pet-assets互不冲突,可多插件共存) - localStorage:使用
ro-waifu-display/ro-waifu-pos独立键,与其他桌宠插件隔离 - 模型来源:BANDORI 独立版全量数据(zst 压缩包解压转换),model.json → index.json
- 台词包:按 5 角色人设撰写(LAYER 温柔 / LOCK 元气 / MASKING 反差萌 / PAREO 天才 / CHU² 骄傲小大人)
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS