rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
给你的 DeepSeek Harness 加一段开机动画:双击启动后,窗口先全屏播放你指定的视频(可带音频),HARNESS 在后台同步加载,播完按设定的转场进入主界面;如果那时还没加载完,会保持最后一帧慢慢淡出,再露出默认启动屏继续等待。
适用于 DeepSeek Harness 桌面版(Windows),在
0.2.1-rc.3上开发与验证。
dsh plugin --profile desktop add github:hkhlpj/dsh-boot-theme
或从本地目录安装:
dsh plugin --profile desktop add link:<本目录绝对路径>
安装后完全退出并重启 DeepSeek Harness。
打开右侧栏 → 引导页 / 「+」→ 开机美化:
保存后下次冷启动生效,试播立即生效。
设置保存在 ~/.dsh/storage/boot-theme/settings.json,也可以直接在面板里改。
| 项 | 默认 | 说明 |
|---|---|---|
enabled |
true |
总开关 |
playMode |
dailyFirst |
everyColdStart / dailyFirst / firstLaunch |
maxSeconds |
3 |
播放上限,1–10 秒 |
durationMode |
cap |
cap 按设定截断;full 按视频全长(≤10s) |
videoPath |
空 | 视频绝对路径 |
audioPath |
空 | 独立音频路径;空则用视频音轨 |
audioEnabled |
true |
是否播放声音 |
volumePreset |
medium |
high(0.8) / medium(0.5) / low(0.3) / custom |
volume |
0.5 |
custom 时的音量 |
fadeInMs / fadeOutMs |
500 / 800 |
淡入淡出时长 |
transition |
fade |
fade / zoomBlur / shatter |
skipEnabled |
true |
是否允许跳过 |
skipAudio |
fade |
跳过时音频:fade / stop / custom |
skipAudioFadeMs |
400 |
跳过时淡出时长 |
background |
#000000 |
视频留黑边时的底色 |
fit |
cover |
cover 铺满 / contain 完整显示 |
index.js):读写配置,注册 /boot-theme/state|settings|media|pick|played 路由;媒体以流式 + Range 提供,不经过 base64 或大块 IPC。webserver/index-inject 把运行时脚本注入 boot 页;脚本只在检测到桌面环境(dshDesktopBoot)时运行。boot-runtime.js):全屏 overlay + <video>/<audio>,遮盖应用但不延迟加载;结束时判断主界面是否就绪,就绪则转场,未完则保持最后一帧 1.5 秒淡出后交回默认启动屏。client.js):右侧栏 sidebar.right.pane.tab 注册一个 tab,用于配置与试播。127.0.0.1:端口 不会播放。~/.dsh 下的存储与主题无关,卸载插件不会自动删除。node --check index.js
node --check boot-runtime.js
node --check client.js
结构:
| 文件 | 作用 |
|---|---|
index.js |
Host:配置、路由、文件选择、index 注入 |
boot-runtime.js |
页面内启动动画运行时 |
client.js |
右侧栏「开机美化」面板 |
cordis.patch.yml |
bundle 挂载声明 |
A cold-start boot animation plugin for DeepSeek Harness Desktop (Windows): plays a configurable video with optional audio over the app while it loads, then transitions into the UI (fade / zoom-blur / glass shatter). Supports per-cold-start, daily-first, and first-launch modes, skip gestures, and an in-app settings panel with preview.
dsh plugin --profile desktop add github:hkhlpj/dsh-boot-theme
MIT © 2026 hkhlpj
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。