wuweiran-web/dsh-beauty-persist
wuweiran-web★ 1JavaScript最后同步: 2026-08-21
让 DSH 桌面端壁纸持久不丢:支持 GIF 动图 & MP4 视频壁纸,内置全屏皮肤中心(上传、预览、一键应用、删除素材),重启、换端口、清缓存都不丢失。Server-side wallpaper & theme persistence for DSH Desktop — animated GIF / MP4 video wallpapers plus a full-screen skin center (upload, preview, apply, delete).
README 摘要
dsh-beauty-persist Persist dsh-dream-skin / dsh-liquid-glass wallpaper & theme across DSH Desktop restarts . Why The DSH Desktop shell launches its web carrier with an OS-assigned random port ( --port 0 ), so the browser origin changes on every restart. Browser localStorage is partitioned per origin — visual state like a wallpaper image (stored by dream-skin / liquid-glass in localStorage ) disappears after each restart , even though it was never deleted. dsh-beauty-persist moves that visual state into a server-side JSON file that is independent of the port. It restores the state on every page load and pushes changes back to the server when you tweak the settings in the UI. What it does - Host half ( lib/index.js ) - Serves GET /beauty-persist/state (current persisted state) and POST /beauty-persist/state (replace persisted state). - Serves GET /beauty-persist/wallpaper.gif (the stored GIF wallpaper) and POST /beauty-persist/wallpaper.gif (upload a new GIF wallpaper). - Injects the persisted state into the index.html response as window. DSH BEAUTY PERSIST STATE , before the boot manifest, so the browser half restores synchronously ahead of dream-skin/liquid-glass initialization. - …
在 GitHub 查看完整 README →分类
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any web UI, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;提示词管理器可用于任意 Web UI,含 DeepSeek Harness。
★ 19,772
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 5,470
omdsh-dev/DSH-better-sidebar开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
★ 2,596