dsh-deepseek-splash: Integrating the DeepSeek whale splash into DSH startup and UI

Introduction

When using DeepSeek Harness (DSH) for agents or daily conversations, the desktop version displays a splash screen first before entering the Web interface. The official page is practical but lacks a bit of the brand ritual associated with “launching software.” If you want to see a DeepSeek-style whale sketching, lighting up, forming, and wordmark animation when DSH Desktop starts, without modifying the host’s core code, the community plugin dsh-deepseek-splash offers a restorable path: the same visual source code is deployed on the desktop splash.html and an optional client-side full-screen overlay. Below is an introduction to what it does, how to install it, and why the interface does not “automatically play it a second time” by default.

What is this

dsh-deepseek-splash is a Web client plugin package for DSH (dsh.client.platform=web). It is listed in the community directory under the maintainer zhang-23x and categorized as “Fun Customization.” The plugin’s stated goal is clear: render the DeepSeek-style splash animation (whale line-art stroke, signal points, filling, and wordmark) as the built-in startup screen of DSH Desktop, and optionally play it once more as a full-screen overlay within the GUI.

In terms of implementation, the plugin itself does not modify the host, write files, or connect to the network. It registers a shell.overlay slot, but the overlay is not rendered by default (to avoid the “cassette feel” of the animation playing again immediately after entering the interface following the splash screen). The only operation that touches the disk is the replacement of the desktop version’s resources/splash.html when you explicitly run tools/build_splash.py --apply (it leaves a backup and can be restored with --restore).

Version 1.0.0, License MIT, declared compatibility dsh >= 0.1.0-rc.5, Node >= 20, supporting darwin / linux / win32.

Core Functions

Two Locations, One Visual Source

The animation styles and timelines are centralized in src/splash.css and assets/whale.svg, with both carriers sharing the same logic (src/splash.js, etc.):

Location Carrier Timing
Splash Screen DSH Desktop’s resources/splash.html (written by the build script) Plays immediately upon double-clicking the icon or when the window appears; the whale stays lit after forming, and the three signal points continue pulsing as a loading indicator until the app switches to the main interface
Interface Intro (Default Off) Plugin shell.overlay Requires explicit opt-in; when enabled, plays for about 2.8 seconds across the whole window when the interface finishes loading

Animation Beats (Summary from README)

  1. Sketching: Blue highlight draws along the whale’s contour segment by segment (pathLength=1 + stroke-dashoffset).
  2. Lighting: Three signal points on the head light up sequentially with a bounce, followed by a breathing pulse.
  3. Forming: Fill flows in from left to right, white light sweeps across, the stroke fades out, and the whale settles.
  4. Signature: The DeepSeek wordmark floats up, and the “深度求索” (DeepSeek) subtitle fades in.
  5. Exit (Interface Overlay only): The whole scene fades out and unloads.

Dark and light themes follow the shell (<html data-theme>); when respecting prefers-reduced-motion, it retains only a minimal fade-in.

Interaction Differences

Interface Overlay (When Enabled)

  • Clicking/touching anywhere or pressing any key skips it immediately.
  • CSS fades out the overlay after about 2.9 seconds; script exceptions should not block the interface for long.
  • It does not repeat playback for subsequent routes within the same tab; it plays when the window is visible and does not require window focus.

Desktop Splash Screen

  • Not skippable (there is no main interface behind it to return to).
  • Stays in a stable final state after forming, with signal points continuing to pulse until the app switches windows.
  • The desktop version writes startup steps into #progress (writing one line fades in one line); title and subtitle follow official copy and switch to Chinese based on system language.

Installation and Activation

The plugin is installed into a profile as a standard DSH client wrapper. The installation command provided in the README is as follows (do not modify the repository name string yourself):

dsh plugin --profile web add "github:zmr234234-jpg/dsh-deepseek-splash"

You can also install from a local directory in DSH Desktop’s plugin management (no CLI needed). After installation, refresh the interface to load the client bundle.

Desktop Splash Screen is the other half of the capability: installing the plugin does not automatically change splash.html. You need to run this additionally in the local plugin directory:

python tools/build_splash.py --apply

To check if it has been replaced or if it was overwritten after an app update, use:

python tools/build_splash.py --status

Restore the official page:

python tools/build_splash.py --restore

Key points:

  • The first --apply backs up the official page as splash.html.dsh-deepseek-splash.bak (subsequent runs will not overwrite this backup).
  • App updates may overwrite splash.html; re-run --apply after updating and use --status to confirm (ours: True/False).
  • The default target path is D:\deepseek\Data\DSH Desktop\resources\splash.html; for other installation locations, use --target <path>.

The page is self-contained (inline styles and SVG), with no external images or network connections.

Typical Usage

Opt-in to Interface Intro in GUI

The overlay is silent by default. If you want to open the interface in a browser or deliberately watch it again, set it once in the page:

window.__DSS_SPLASH__ = { overlay: true };   // or { disabled: false }

Override Animation Parameters

You can adjust them in the console or the object above:

window.__DSS_SPLASH__ = {
  overlay: true,
  disabled: true,
  holdMs: 2760,
  title: "DeepSeek",
  subtitle: "深度求索",
  hint: "点击任意位置跳过"
};

Diagnostics: Animation status is on <html data-dss-splash> (waiting / playing / done / skipped); the stylesheet ID is dss-splash-style. The splash screen side corresponds to window.__DSS_LAUNCH_SPLASH__.

No-Install Preview

  • Open assets/preview.html in a browser; add #t=1300 to the address bar to pause at 1300 ms.
  • dist/splash.html is the rendered output of the splash screen; add ?theme=light to view the light theme.

Use Cases and Notes

Who is it for

  • Users of DSH Desktop who want to see a unified, recognizable DeepSeek whale intro at startup and are willing to occasionally re-run --apply after updates.
  • Users who need to demonstrate the same animation in a pure Web environment by opening the interface overlay via overlay: true.

Please be aware before use

  • The plugin runs with the permissions of the current DSH process; please read the repository source code and the MIT license before installing to confirm acceptance of the explicit replacement behavior for splash.html.
  • The installation spec in the README points to github:zmr234234-jpg/dsh-Deepseek-splash, which may not match the listing path zhang-23x/dsh-deepseek-splash in the community directory; use the actual git source you added.
  • Community directories (like SkillHub) are independent ecosystem sites and have no official affiliation with DeepSeek / High-Flyer; metadata such as stars are subject to what is displayed on each site at the time.

Conclusion

dsh-deepseek-splash connects the same whale intro to the DSH Desktop splash screen and provides an optional second playback via a client overlay with zero default overhead. Remember build_splash.py --apply for desktop effects, and use window.__DSS_SPLASH__.overlay for in-interface playback.

  • Community Directory: https://www.skillhub.cn/plugins/zhang-23x/dsh-deepseek-splash
  • GitHub: https://github.com/zhang-23x/dsh-deepseek-splash
羽毛球分组比赛记分
小程序二维码

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

Xiaoye