Awesome-AI-Pedia/Awesome-DSH-Pet

Collection合集 Native原生 ⭐ 3 MIT Pets & Fun桌宠与娱乐Markets & Collections市场与合集

这个插件是一个 DeepSeek 工具集,内置了噜噜、总裁等宠物角色,并支持快速添加自定义宠物。

Project Overview项目介绍

Awesome-DSH-Pet is a native extensible desktop pet plugin built exclusively for the DSH Web GUI. It comes with two pre-built characters out of the box, jingyu-zongcai and lulu-capybara, and supports adding custom user-created characters. To install the plugin from a local directory, you can run the DSH CLI command dsh plugin --profile web add <local-path>, then restart the DSH web client to activate the plugin. Once activated, the pet will appear in the bottom right corner of your DSH web interface, and you can access interactions like feeding, playing, and character switching from the plugin menu.

To add a custom character, you only need to complete three simple steps after you make your changes. First, create a character ID, add your spritesheet asset to the correct directory following the Codex 8x9 atlas specification, which also supports single-row action sheets if you don’t have a full atlas. Second, add your character entry to the existing manifest JSON file, making sure all 15 required states are included with the correct configuration for each state. Finally, run the provided verification scripts to check for asset completeness and manifest consistency before reinstalling the updated plugin.

This project is released under the permissive MIT open source license, so you can use and modify it freely as long as you retain the original license terms. All build, test, and verification scripts rely on Node.js to run, so you will need a working Node.js environment installed on your local machine to develop or modify the plugin. After modifying the core client code, you can run the build script to generate the updated client bundle. All configuration options like size, opacity, and auto-sleep timing can be adjusted in the plugin’s settings.yaml file after installation.

这是一款专为 DSH Web GUI 开发的可扩展桌面宠物插件,目前内置了两个预制宠物角色:「鲸鱼总裁 jingyu-zongcai」和「噜噜 lulu-capybara」。安装或更新插件后需要重启 DSH 网页端,插件会在页面右下角显示宠物,用户可通过菜单对宠物进行互动,包括投喂、玩耍、切换角色等操作。用户还可以在 settings.yaml 的 awesome-dsh-pet 配置段中调整插件启用状态、宠物大小、透明度、散步功能开关、自动休眠时间等参数。

本插件支持开发者快速添加自定义宠物角色,流程分为三步:添加角色素材、修改角色清单、运行校验脚本。素材需符合 Codex 的精灵图集规范,支持两种素材形式:推荐使用 8 列 9 行的标准图集,也支持单行动作 sheet。所有角色必须包含 15 种必备状态,每个状态都需要配置对应的素材、帧数、帧率和播放模式。

本插件采用 MIT 许可证开源,所有校验和开发脚本都基于 Node.js 运行,开发者添加自定义角色后需要运行门禁脚本校验素材完整性和清单一致性,还可以运行单元测试确保功能正常。安装时可通过 DSH CLI 命令直接添加本地插件包,重启网页端后即可生效。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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:Awesome-AI-Pedia/Awesome-DSH-Pet

把 Awesome-AI-Pedia/Awesome-DSH-Pet 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Awesome DSH Pet

DSH Web GUI 内的可扩展桌面宠物插件。

  • jingyu-zongcai:鲸鱼总裁
  • lulu-capybara:噜噜

安装

dsh plugin --profile web add /Users/icourt/Desktop/DSH-plugin/Awesome-DSH-Pet

安装或更新后重启 web。插件会在页面右下角显示桌面宠物,菜单里可以投喂、玩耍、切换角色。

配置

settings.yaml 中使用 awesome-dsh-pet: section:

awesome-dsh-pet:
  enabled: true
  size: 110
  opacity: 1
  walk:
    enabled: true
  sleepAfterMs: 60000

快速添加你自己的宠物

三步走:放素材 → 改 manifest → 跑门禁。

1. 起个角色 id 并放素材

角色 id 只允许 [a-z0-9-](会当 URL 路径用)。示例用 my-cat。

把 Codex 标准 8×9 spritesheet 放到:

lib/assets/characters/my-cat/spritesheet.webp

Codex atlas 规范:8 列 × 9 行,每格 192×208(像素)。行含义:

row 用途
0 idle
1 running-right / walk / drag
2 running-left
3 waving / welcome / celebrate
4 jumping / play
5 failed / error / disappointed
6 waiting
7 running / working
8 review / think

如果你手里只有一堆单行动作 sheet(不是 atlas),也支持——见下方"素材两种形式"。

2. 在 lib/assets/manifest.json 增加角色

在 characters 下加一个 key:

{
  "characters": {
    "my-cat": {
      "name": "我的猫",
      "credit": "你的名字",
      "description": "一句话人设。",
      "meta": {
        "stageSize": 110,
        "atlas": { "columns": 8, "rows": 9, "cellWidth": 192, "cellHeight": 208 }
      },
      "states": {
        "idle":         { "sheet": "spritesheet.webp", "row": 0, "rows": 9, "frames": 8, "fps": 4, "playback": "blink" },
        "working":      { "sheet": "spritesheet.webp", "row": 7, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "celebrate":    { "sheet": "spritesheet.webp", "row": 3, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "error":        { "sheet": "spritesheet.webp", "row": 5, "rows": 9, "frames": 8, "fps": 8, "motion": "shake", "playback": "once" },
        "disappointed": { "sheet": "spritesheet.webp", "row": 5, "rows": 9, "frames": 8, "fps": 4, "playback": "loop" },
        "joy":          { "sheet": "spritesheet.webp", "row": 3, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "eat":          { "sheet": "spritesheet.webp", "row": 3, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "play":         { "sheet": "spritesheet.webp", "row": 4, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "drag":         { "sheet": "spritesheet.webp", "row": 1, "rows": 9, "frames": 8, "fps": 8, "playback": "loop" },
        "walk":         { "sheet": "spritesheet.webp", "row": 1, "rows": 9, "frames": 8, "fps": 8, "playback": "pingpong" },
        "sleep":        { "sheet": "spritesheet.webp", "row": 0, "rows": 9, "frames": 8, "fps": 2, "playback": "loop" },
        "wake":         { "sheet": "spritesheet.webp", "row": 3, "rows": 9, "frames": 8, "fps": 6, "playback": "once" },
        "welcome":      { "sheet": "spritesheet.webp", "row": 3, "rows": 9, "frames": 8, "fps": 6, "playback": "loop" },
        "think":        { "sheet": "spritesheet.webp", "row": 8, "rows": 9, "frames": 8, "fps": 4, "playback": "loop" },
        "wait":         { "sheet": "spritesheet.webp", "row": 6, "rows": 9, "frames": 8, "fps": 4, "playback": "loop" }
      }
    }
  }
}

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev graycode-for-dsh 下一个 Next adb_dsh_plugin →