Preface¶
When debugging agents, running plugins, or watching terminal output inside DeepSeek Harness (DSH) for long stretches, switching to a browser tab to hunt for mini-games often breaks the current workspace context. The common workaround is piling H5 game links into bookmarks or installing a separate entertainment app locally—both inconsistent with the “everything is a plugin inside Harness” approach.
GameHub Arcade (repo bihong2026/dsh-arcade) embeds a game center into the DSH web sidebar: after installation it adds a game entry point, opening curated open-source web games validated through an ingestion pipeline inside sandboxed iframes, without requiring per-game dependencies. Below we explain what it is, what it can do, and how to install and use it day-to-day.
What Is This¶
GameHub Arcade is a web sidebar plugin for DeepSeek Harness, published by maintainer bihong2026. The repository is licensed under MIT (npm package name @gamehub/dsh-arcade).
The plugin itself is deliberately thin: it registers a tab in the sidebar and embeds the same static game site inside sandboxed iframes. The game list, search, and category UI live in the site/ directory, which shares a single site/data/games.json data file with an independently deployable game website. When community directories like SkillHub categorize it under tags such as “fun / dress-up”, treat the directory listing as the authoritative reference; functionally it is a mini-game / arcade collection, not an official DSH or DeepSeek application.
The current README states that 94 games have been individually tested as embeddable and runnable (e.g., Snake, 2048, Tetris, Pac-Man, Minesweeper, Go, Hextris, etc.), sourced from the open-source community (MIT etc.). The roadmap targets continued expansion toward 1000+. A full self-hosted live example is available at https://122.51.206.118/ (94 games, without relying on code-hosting platforms to fetch game assets).
Core Features¶
Sidebar Game Center¶
After installing and restarting the DSH Web UI, a Games tab appears in the sidebar (the README shows “🎮 游戏”). Clicking it opens a complete game center: browsing, search, category filters, favorites, random pick, and gameplay in the player with fullscreen or compact modes.
Click-to-Play and Sandboxing¶
Games run inside sandboxed iframes without same-origin grants; per the README, game logic cannot access DSH session data. End users do not need to install Node, Python, or other local runtimes for either the plugin or individual games.
Catalog and Categories¶
The single source of truth is site/data/games.json. Both the site and the plugin read this JSON only; adding new games means appending entries at the data layer, with no need to change or republish the plugin for each game. The README lists roughly 10 major categories (board, arcade, puzzle, 3D, etc.) and supports light/dark themes (following the system).
Curation and Validation¶
scripts/ingest.py pulls candidate games from an upstream registry and checks whether X-Frame-Options / CSP frame-ancestors allow iframe embedding; non-embeddable titles are not written into the catalog. Curation criteria also include: no forced ads/redirects, open-source or licensed, and healthy content. Each record can carry source_repo and license for traceability; copyright for third-party games belongs to the upstream authors.
Optional: Standalone Website¶
The same site/ can be statically hosted on its own (nginx, GitHub Pages, Cloudflare Pages, etc.), sharing the catalog and traffic logic with the DSH plugin; the plugin simply embeds that site into the sidebar.
Installation and Activation¶
When installing from the DSH terminal, replace <profile> with your profile name (the examples use web). The commands below all come from the repository README.
Method A — Local directory (recommended by the README)
First obtain the source directory containing package.json from GitHub or Gitee, then install by pointing to that directory:
# GitHub
git clone https://github.com/bihong2026/dsh-arcade.git
# or Gitee (faster in mainland China)
git clone https://gitee.com/bihong2023/dsh-arcade.git
dsh plugin --profile web add ./dsh-arcade
Method B — Install from a Git repository
dsh plugin add passes its argument through to pnpm, which only accepts source formats pnpm understands:
# GitHub (shorthand)
dsh plugin --profile web add "github:bihong2026/dsh-arcade#v0.1.2"
# Gitee (full git URL)
dsh plugin --profile web add "git+https://gitee.com/bihong2023/dsh-arcade.git#v0.1.2"
# Track the main branch
dsh plugin --profile web add "github:bihong2026/dsh-arcade#main"
dsh plugin --profile web add "git+https://gitee.com/bihong2023/dsh-arcade.git#main"
If installing from a Git source and pnpm 10+ reports Ignored build scripts, you can run pnpm approve-builds as prompted; the repo also commits the lib/ build output, so you can prefer Method A or Method C to skip building.
Method C — Tarball (suitable for offline use)
dsh plugin add ./dsh-arcade-0.1.2.tgz
After installation, restart dsh web and refresh the page; the game tab should appear in the sidebar.
Typical Usage¶
Playing Games Inside the Harness¶
- Complete any of the installation methods above and restart the web UI.
- Open the Games tab in the sidebar.
- Use search or categories to find a game and click to enter; operate inside the iframe player.
Local Preview of the Standalone Site¶
You can preview the same UI and catalog without going through DSH:
python3 -m http.server 8080 --directory site
Visit the corresponding port in your browser to preview site/.
Manually Adding a Game (maintainers / contributors)¶
Append an entry to the games array in site/data/games.json, for example:
{
"id": "manual:my-game",
"slug": "my-game",
"name": "我的游戏",
"category": "puzzle",
"tags": ["classic"],
"description": "一句话介绍",
"tech": "html5",
"embed": "https://<game-url>",
"embed_ok": true,
"source_repo": "https://github.com/...",
"license": "MIT"
}
Rebuild the catalog and validate embeddability in bulk:
python3 scripts/ingest.py
Optional: Mirror All Game Static Assets¶
If you want your self-built environment to avoid depending on external game URLs:
python3 scripts/mirror2.py /path/to/mirror
Use Cases and Notes¶
Who it’s for: developers already using DSH Web who want a brief break inside the same workspace without leaving the Harness; also suitable for teams deploying a static game site on the intranet while sharing the same games.json with DSH.
Permissions and security: the plugin runs with the current DSH process and user environment; before installing, review the repository source, cordis.patch.yml, and the MIT license, and understand that iframes still load third-party pages from the embed URL—only install sources you trust.
Copyright: the repository code is MIT; each included game follows the license in games.json and the upstream repository’s policies. Do not treat the collection as a blanket copyright transfer.
Ecosystem note: DSH community plugin directories (such as SkillHub) are not officially affiliated with DeepSeek or DUANMU; discovery, installation, and source review should follow the GitHub repository and maintainer documentation.
Links and Further Reading¶
- Community directory page: https://www.skillhub.cn/plugins/bihong2026/dsh-arcade
- Source code and full documentation: https://github.com/bihong2026/dsh-arcade
- Gitee mirror: https://gitee.com/bihong2023/dsh-arcade
The roadmap (per the README) has already completed the sidebar, ingestion pipeline, and self-hosted mirrors of the 94 games; items in progress include growing the game count, leaderboards, Chinese/English metadata, and DSH theme token adaptation. If you maintain a broken link or open a new game PR, the contribution guide recommends running python3 scripts/ingest.py first to confirm the embeddability check passes.