dsh-plugin-genshin-startup

by allen546

2 工具与能力github收录于 08-23

dsh 插件:启动时先白底居中播放原神启动视频

DeepSeek Harness (dsh) plugin: Plays the Genshin Impact launch video centered with white fill on startup befor

安装

dsh plugin --profile web add github:allen546/dsh-plugin-genshin-startup

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

An official-architecture startup plugin for DeepSeek Harness (dsh).

When opening the dsh web interface, it directly autoplays the Genshin Impact Launch ("原神,启动!") opening video, perfectly centered without stretching, and fills all surrounding letterbox/pillarbox space with pure white (#ffffff), before seamlessly dissolving into the main DeepSeek Harness workspace.


✨ Features

  • 🎬 Direct Autoplay: Plays immediately upon opening the web interface without requiring extra clicks.
  • ⚪ Pure White Fill: Clean white background (#ffffff) fills the entire surrounding viewport around the video.
  • 📐 Centered & Non-Stretching: Preserves native aspect ratio with object-fit: contain without distortion or forced fullscreen requests.
  • 🚫 Zero Dialogs / Clean View: No popup prompts, skip banners, or intrusive overlays.
  • ✨ Seamless Transition: Automatically fades out over 800ms into the DeepSeek Harness interface upon completion (or on keypress/click).
  • 🧩 Native DSH Plugin: Built with DSH dsh.bundle patch layer and lazy CJS dsh.client architecture.

🛠️ Installation

Install and enable the plugin in your DeepSeek Harness web profile via the official CLI:

dsh plugin --profile web add allen546/dsh-plugin-genshin-startup

🚀 Usage

Launch the DeepSeek Harness Web UI:

npx @deepseek-ai/dsh web

Or if you have dsh installed globally:

dsh web

Open http://127.0.0.1:3080 in your browser. The opening video will play smoothly before transitioning into your agent workspace!


⚠️ Disclaimer

This project is an independent open-source plugin and is not affiliated with, endorsed by, sponsored by, or associated with miHoYo Co., Ltd. or HoYoverse.

All trademarks, logos, audio-visual materials, and intellectual property relating to Genshin Impact and miHoYo / HoYoverse belong to their respective copyright holders.


📦 Project Structure

.
├── cordis.patch.yml          # DSH profile bundle patch layer
├── lib/
│   ├── index.js              # Host-side plugin entry
│   └── client.js             # DSH lazy CJS browser client module
├── assets/
│   ├── preview.png           # UI Preview screenshot
│   ├── genshin-launch.mp4    # Fast-start optimized video asset
│   ├── genshin-launch.js     # Standalone injector runtime
│   └── genshin-launch.css    # Full-viewport overlay & white-fill styling
├── demo.html                 # Standalone preview page
├── package.json
└── README.md

📜 License

MIT License © 2026 Allen Sun

原始 README: https://github.com/allen546/dsh-plugin-genshin-startup/blob/main/README.md ↗