Preface¶
By default, DeepSeek Harness (DSH) shows its own loading and boot card when it starts. If you want every client launch to first play a fullscreen mp4, then fade into the main interface once playback finishes, with the ability to skip at any time, you need to implement a “boot animation” at the plugin layer rather than modifying the core code. The community has already seen approaches that overlay the boot UI by host injection. dsh-boot-video turns this route into a standalone plugin: it ships with built-in assets, allows importing local videos, centralizes settings on a single page, and provides automatic transcoding for unsupported codecs.
The following sections explain what it is, how to install it, how to use it day-to-day, and the differences between the web version and desktop version regarding audio and refresh behavior.
What Is This¶
dsh-boot-video is maintained by xufu5438-netizen and is categorized as a “Fun Dress-Up” plugin on SkillHub. In one sentence: it adds a video boot intro to DSH — on startup it plays an mp4 fullscreen, then fades out into the interface when playback finishes; clicking the screen or pressing Esc skips it at any time.
The plugin has two halves: a host half and a browser half. The host half streams the video via the route (supporting Range / 206 / 304) and injects a first frame at the document parsing stage to cover DSH’s built-in HARNESS / Loading plugins…. The browser half plays it with a single <video> element and has zero extra runtime dependencies (the host only uses node: built-in modules). Requires DSH >= 0.2.0-rc.1 (see dsh.engines in package.json).
Core Features¶
Playback and Skipping¶
- One mp4 corresponds to one boot intro: it plays fullscreen and fades out when finished; it is not “switch away once loading completes.”
- Click the screen or press
Escto skip; after skipping, the same fade-out still applies, so there is no hard cut. - It plays on every client load (page refresh counts too); during playback it does not wait for DSH’s loading state, and fades out once playback completes.
- The video is displayed centered at its full aspect ratio (
object-fit: contain) without cropping; if the window ratio does not match the source, black bars will appear.
Audio and Platforms¶
- Desktop (Electron): autoplay with audio by default.
- Web version: browsers block unmuted autoplay, so the plugin automatically downgrades to muted and shows an “Unmute sound” button in the bottom-left corner (clicking it only unmutes, it does not skip). If you want the web version to also autoplay with audio, you need to allow that DSH address (e.g.,
http://127.0.0.1:3080) to play audio in your browser’s site settings, then hard refresh; the plugin itself cannot bypass the browser policy.
Settings Page¶
Settings → sidebar “Boot Animation” (a standalone page since 0.3.0):
| Control | Description |
|---|---|
| Play on startup | “My video” (default) fullscreen intro; “Don’t play” goes straight to the interface |
| Intro asset | Default assets/hdd.mp4 (HDD); optional “Yuedu World” assets/yuedu.mp4 (local only, not included in the release package) |
| Import video | Select mp4 (up to 512 MB), stored in the plugin’s assets/user/, can be renamed, deleted, previewed |
| Preview | “▶ Play once” to see the effect without restarting |
Changing the asset immediately replays with the new asset; no restart confirmation is needed. There is a self-check line at the bottom of the settings page: when the client half loaded, and whether the last boot played successfully, which helps troubleshoot “changes not taking effect / video won’t open.”
Import and Transcoding¶
- Only accepts
.mp4; common H.264 forms can be imported directly. - HEVC / H.265: on import it will ask whether to auto-convert; after confirming, the plugin downloads ffmpeg (~28 MB, using a domestic mirror), converts to H.264 (
libx264 -crf 20, preserving resolution and frame rate, audio AAC 192k,+faststart), and verifies playability before accepting it. - Other containers (
.mkv/.webm/.mov) will be rejected; you need to export to mp4 + H.264 first. - If you do not want to allow disk-write imports, set the environment variable
DSHBV_IMPORT=0before launching DSH (corresponding toIMPORT_ENABLEDon the client side). - Note: User-imported files live inside the plugin directory; reinstalling or upgrading the plugin may overwrite
assets/user/, so back up before reinstalling.
With Other Plugins and Storage¶
- Each plugin uses its own localStorage key, so installing it alongside other intro plugins will not interfere with each other.
- After uninstalling, the boot returns to DSH’s default startup screen; for thorough cleanup, you can delete
dsh-boot-video:source,dsh-boot-video:asset, anddsh-boot-video:last-bootin the console.
Installation and Activation¶
The official recommendation is to install from npm (--profile web is consistent with the README):
# Install from npm (recommended)
dsh plugin --profile web add dsh-boot-video
# Install from GitHub (the repo includes build artifacts, no install-time scripts, no build authorization triggered)
dsh plugin --profile web add github:xufu5438-netizen/dsh-boot-video
# Or install from a local directory (replace the path with your extracted directory)
dsh plugin --profile web add <absolute path of this directory>
After installing, you must restart DSH once (the bundle is assembled at startup), then Ctrl+Shift+R to hard refresh — the DSH client bundle has long-term caching, and a regular F5 may still use an old copy.
Desktop version: You can also fill in a local path / registry / git / tarball in “Settings → Plugins → Add Plugin”; after installing, you need to fully quit and reopen the app; just refreshing the page is not enough.
Uninstall (when installed via CLI):
dsh plugin --profile web remove dsh-boot-video
On the desktop version, just uninstall in “Settings → Plugins”.
Typical Usage¶
Switch the Intro and Import Your Own mp4 in the UI¶
- Open Settings → Boot Animation.
- Under “Play on startup”, select “My video”.
- Under intro asset, select the built-in HDD, or click “⬆ Import video” and choose a local mp4; after importing, it is automatically selected and played once, and a naming prompt pops up.
- When you want to confirm the effect, click “▶ Play once”; clicking again while it is playing restarts from the beginning.
Generate Bundle Assets from a Master Using a Script (Maintainers / Advanced)¶
If you want to replace the default bundled video (requires H.264 + AAC, recommended ≤ 15 MB, ≤ 20 seconds), you can use the repo script:
node scripts/make-asset.mjs <your master.mp4> --height 1440 --crf 22
Black bars should be trimmed during encoding; you can probe first and then pass --crop:
ffmpeg -vf cropdetect=24:16:0 -f null -
node scripts/make-asset.mjs <your master.mp4> --crop 2560:1086:0:177 --crf 22
CLI equivalent for HEVC import (when you don’t want to use the UI):
node scripts/import-hevc.mjs "D:\video assets\your master.mkv"
(Note: The import path example comes from the README; only .mp4 goes through the UI import; mkv needs to be converted to mp4 by yourself or use the transcoding script flow provided by the project.)
Applicable Scenarios and Notes¶
Who it’s for: Developers or individual users who want to add a branded or fun intro when the DSH Web UI or Electron desktop app starts, and who can accept that “it plays once on every load/refresh.”
License and assets: Code is MIT. The built-in assets/hdd.mp4 comes from Bilibili UP主 @露霁luki_yo’s “Hollow Deep Dive System” (HDD), with permission granted for bundled distribution; assets/yuedu.mp4 is not authorized, for local use only, and is not included in the npm release package (use npm run pack:release to verify package contents for external releases).
Security and permissions: The plugin runs with the current DSH process’s permissions; the import feature writes files to the plugin directory and may download ffmpeg. Before installing, it is recommended to read the GitHub repo source code and LICENSE, then decide whether to enable it in production or shared environments.
Known limitations (from the README “Compatibility and Limitations”):
- It can only overlay fullscreen after the Web UI loads; it cannot appear earlier than Electron’s first frame of the window.
- The first frame is a solid color
#000000, not the first frame of the video. - The web version cannot implement “unmuted autoplay without interaction” unilaterally by the plugin.
The DSH community plugin catalog (such as SkillHub) is an independent ecosystem site and has no official affiliation with DeepSeek / Huanfang; installation methods follow each plugin’s README.
Conclusion¶
dsh-boot-video turns “fullscreen mp4 boot → fade out into the interface → click or Esc to skip” into a configurable DSH plugin, and covers asset selection, user import, HEVC auto-conversion to H.264, and a settings-page self-check. The current npm package version is 1.0.1.
- Catalog page: https://www.skillhub.cn/plugins/xufu5438-netizen/dsh-boot-video
- Source code and full documentation: https://github.com/xufu5438-netizen/dsh-boot-video