DSH Web UI Small game panel on the right
lhh010/dsh-minigames · themes
DSH Web UI Mini game panel on the right: 18 offline mini games (Dinosaur Jump / Tetris / Tank Battle / Minesweeper / 2048 / Sudoku / Pac-Man / Gun Practice, etc.), expandable game registry, a fishing tool when waiting fo.
★ 18GitHub stars
0Forks
2026-08-15Last updated
TypeScriptLanguage
BSD-3-ClauseLicense
Project overview
产物结构(随源码提交,与 dsh-web-panel 一致): lib/index.js —— node half(loader 行实现,仅日志;客户端插件扫描依赖该行存在)。 lib/client.js —— 浏览器 bundle,window.ModuleLoader.load({ id: '@dsh-external/dsh-minigames', factory }),id 必须与 package.json 的 name 一致(client-modules 以包名作为 compose 键)。 lib/types/ —— 声明文件。 架构
面板不依赖任何宿主服务与布局槽(纯 document.body portal),因此: 与主框架版本解耦,dsh.client.inject 为空,客户端零 @deepseek-ai 依赖; 无论 DSH 布局如何变化(左栏/右栏/折叠)都不会冲突。 添加新游戏(预留接口)
实现 MiniGameDefinition(src/client/games/types.ts):
Install command
dsh plugin --profile web add github:lhh010/dsh-minigames