编者按

haxi8/dsh-JujutsuKaisen-rainlove

听雨的声音 一滴滴清晰, 你的呼吸像雨滴渗入我的爱里, 真希望 雨能下不停, 让想念继续 让爱变透明, 我爱上 给我 勇气的 Rainie Love, 窗外的雨滴 一滴滴 累积, 屋内的湿气 像储存爱你的记忆, 真希望 雨能下不停, 雨爱的秘密 能一直延续, 我相信我将会看到彩虹的美丽。

这是一个 DeepSeek Harness(DSH)插件。本站汇总其 GitHub README、安装信息、维护状态与公开安全信号。

dsh-video-bg

Animated video background plugin for the DeepSeek Harness (DSH) web GUI: plays a looping video behind the interface, GPU-friendly by design.

English | 中文

What it does

  • A full-screen looping video sits behind the dsh web interface (muted by default, per browser autoplay policy).
  • A small floating control (bottom-right) carries: a restore-original button, play/stop, mute, one occlusion slider and a volume slider; all choices are remembered.
  • The restore button turns the video background completely OFF (video layer + translucency removed) and returns the exact original look; click again to bring it back.
  • The single occlusion slider (背景遮挡) walks the whole see-through → blocked range: 0 = most transparent, the same level as the aionui right panel (surfaces keep their tuned translucent alpha incl. text backgrounds, no veil — the video is bright); 100 = fully occluded, the background completely blocked (surfaces fully opaque + a full veil). It drives --dsh-video-bg-scale and --dsw-skin-scrim in sync, so one knob controls the main interface — the aionui right panel keeps its own unmodified look, and no other plugin's behaviour is changed.
  • The shipped asset is a 1440p / 30 fps loop; replace it with your own video at assets/background.mp4.
  • Playback pauses while the tab is hidden (decode drops to zero — the biggest GPU/CPU saving) and resumes on return.
  • prefers-reduced-motion users get the static veil only, no playback.
  • Works with the dsh-web-ui skin center background controls: the occlusion slider (背景遮挡) and backdrop blur still apply to the video, because the layer sits behind the skin-center blur element.
  • The host serves the video over a read-only, same-origin-fenced route with Range support; no video data is embedded in the JS bundle.

Install

Requires DSH with dsh web working.

From a local checkout (development / self-hosted):

pnpm install
pnpm build
dsh plugin --profile web add link:$(pwd)
# restart dsh web, then refresh the browser page

From npm (once published):

dsh plugin --profile web add dsh-video-bg

Replace the packaged video with your own: drop a compressed loop at assets/background.mp4 (MP4 / H.264, 1440p or lower, ~10-15 s loop recommended) and rebuild, or fork this repo.

Config

No configuration. Replace the asset to change the video.

Known limitations

  • Opacity slider: 0 = the tuned see-through look (same level as the right panel), 100 = fully opaque, background completely blocked. Readability at 0 is carried by a light veil (plus the skin-center occlusion slider when you want it darker). Pairing with a translucent skin (e.g. whale-song from dsh-web-ui) is optional — it adds a frosted-glass look on top.
  • Browsers block unmuted autoplay: audio starts muted; click the floating button to hear it.
  • A video backdrop continuously uses GPU decode; keep the source short and low-resolution. The tab-hidden pause is the main safeguard.
  • Only one video is supported per install.

Security model

The host route (/api/video-bg/video.mp4) is GET/HEAD only, streams the single fixed packaged file (no path input), and rejects cross-site requests (Sec-Fetch-Site / Origin fence), mirroring the dsh-web-ui skin-center policy. No credentials, no user data, no remote execution.

Demo

  1. Start dsh web and open the GUI.
  2. Refresh the page — the video plays behind the interface, muted.
  3. Use the floating control (bottom-right): the monitor button restores the original background (click again to show video), the play/pause button stops or resumes, the speaker icon toggles mute, the occlusion slider walks the whole range (0 = transparent like the right panel, 100 = fully blocked), the last slider sets the volume.
  4. Hide the tab for a few seconds and return — playback resumes (it was paused in the background).
  5. In the skin-center background controls, drag 背景遮挡 to veil the video, or set a backdrop blur.

License

Apache-2.0 — see LICENSE.

REPOSITORY SIGNALS

安全与安装证据

该分数只基于公开仓库元数据与本站登记的安装证据,不等同于代码安全审计。

来源可追溯

来自公开插件目录,并链接到公开 GitHub 仓库。

许可证

仓库声明 Apache-2.0 许可证。

维护活跃度

最近 180 天内有代码更新。

安装证据

尚未登记可复验的精确安装元数据,请按仓库说明手动检查。

安装生命周期脚本

检测到 prepare,安装前请审阅脚本。

需要留意lifecycle-scripts