dsh-opening: Play a 19.5-second black-and-white intro upon DeepSeek Harness startup

Preface

After the DeepSeek Harness (DSH) web / desktop profile starts, the interface usually jumps straight into the workspace. If you want to present a fixed piece of visual language about “INTENT, IN FORM” at the start of every session without stuffing a large video into the frontend bundle, you need to provide media routing on the Host side, play it via a full-screen overlay in the browser, and handle details like autoplay policies, skipping, and replay. The community plugin chuyuanguo/dsh-opening packages the short film 《DSH / OPENING — INTENT, IN FORM》 as a standard Cordis bundle: on application startup it plays a ~19.5-second monochrome sci-fi opening in full screen, then quietly exits.

What Is This

dsh-opening is published by the maintainer chuyuanguo and is categorized as “Fun Dress-Up” on SkillHub. The plugin description is: 19.5s monochrome DSH opening film as a DeepSeek Harness startup plugin. The local package name is @local/dsh-opening (package.json version 1.0.0); it is mounted via a directory link (link:). Do not delete or move the cloned directory after installation.

Core Features

The capabilities below are documented in the README and can be verified in the repository description.

  • Plays the finished film as-is: 1920×1080, 30 fps, H.264 + AAC stereo, 19.5 seconds long; no redrawing in the browser and no references to external image or audio assets.
  • Auto-play on startup: played once per page session; opening a new tab or restarting the client will play it again.
  • Skippable: a “Skip” button in the top-right corner; Esc also works (can be disabled via configuration).
  • Audio fallback: if the browser refuses autoplay with sound, it plays muted first, and sound is enabled on the user’s first click.
  • Replayable: Settings → General → Opening Animation → Replay.
  • Respects prefers-reduced-motion: stays on the poster and only starts playing after the user clicks.
  • Doesn’t freeze the UI: the full-screen overlay has a duration watchdog; it automatically collapses if the media errors or the ended event is lost.
  • Local streaming: the Host serves the film via HTTP Range, so the first frame appears quickly and the ~30 MB video is not bundled into JS.

Installation and Activation

Requirements: a DeepSeek Harness web / desktop profile, with the Host providing a webServer service.

First clone the repository locally (the installation command follows the README):

git clone https://github.com/chuyuanguo/dsh-opening.git

Then install the local bundle in the Harness, pointing target to the cloned directory (Windows path example below; adjust to your actual path):

plugin_manager({
  action: 'install_bundle',
  target: 'C:\\path\\to\\dsh-opening',
})

Installation is written to the current profile and applies to all sessions of that profile. Refresh the page after completion to see the opening; it auto-plays only once per page session—if you want to watch it again, use “Replay” in the settings.

Configuration

Optional configuration file: $DSH_HOME/dsh-opening.json (on Windows this is usually C:\Users\<you>\.dsh\dsh-opening.json).

{
  "frequency": "session",
  "volume": 0.85,
  "allowSkip": true,
  "autoplay": true
}
Field Value Description
frequency session (default) / daily / once / always How often to auto-play
volume 0 – 1 Initial volume
allowSkip true / false Whether to show the skip button and allow Esc
autoplay true / false When false, only manual replay from the settings

The configuration file is re-read on every state request; after editing, refresh the page to apply it. If there is no configuration file, defaults are used.

Typical Usage and Self-Check

Manual replay: after installation and refresh, if the session already auto-played it, go to Settings → General → Opening Animation → Replay.

Host routing self-check (replace <port> with the current Harness port; -o NUL is the Windows form, on macOS / Linux change it to -o /dev/null):

node --check index.js
node --check client.js

curl -s  http://127.0.0.1:<port>/dsh-opening/state.json
curl -sI http://127.0.0.1:<port>/dsh-opening/media/opening.mp4
curl -s -D - -o NUL -H "Range: bytes=0-1023" \
  http://127.0.0.1:<port>/dsh-opening/media/opening.mp4

Expected results: the state request returns 200 application/json; the film returns 200 with Accept-Ranges: bytes; the Range request returns 206 with Content-Range: bytes 0-1023/30645130; an out-of-range request returns 416.

How It Works (Brief)

The plugin has two halves: Host and browser. index.js registers /dsh-opening/state.json and the media routes (opening.mp4 / poster.png), supporting HEAD, Range, ETag, 304, and 416; client.js registers a full-screen player with shell.overlay and a replay entry with settings.general.item. On the browser side it hooks in via Harness’s ctx.slots and ctx.locale, without appending nodes directly to document.body.

Use Cases and Notes

Suitable for web / desktop users who want a unified brand opening at the moment DSH starts, while also accommodating skip, mute policies, and accessibility (reduced motion).

Before installing, it is recommended to read the source code and license: the plugin source is MIT; the finished film and poster are © 2026 chuyuanguo and are not covered by MIT—third-party fonts and trademarks are listed in the repository’s NOTICE.md. The plugin runs under the permissions of the current DSH process; you should review the repository contents yourself before installing.

Known limitations (from the README):

  • Only works in profiles where the Host provides webServer; if the Electron shell serves the frontend via file:// + IPC without an HTTP carrier, the plugin will not mount.
  • The repository only contains the 1080p30 Clear version; there is no 4K 24fps master.
  • Apart from the replay entry in the settings page, there is no standalone configuration UI; options are modified via a JSON file.
  • The film includes the DeepSeek whale logo and Montserrat font rendering; see NOTICE.md for declarations.

The DSH ecosystem emphasizes “everything is a plugin”; SkillHub is a community directory and has no official affiliation with DeepSeek / High-Flyer.

Conclusion

dsh-opening turns a fixed-length monochrome opening into a streamable startup plugin and handles common needs such as session frequency, skipping, volume, and replay. Directory page: https://www.skillhub.cn/plugins/chuyuanguo/dsh-opening; source code and full documentation: https://github.com/chuyuanguo/dsh-opening.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye