DeepSHPlugins
dsh-wallpaper 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-wallpaper

UI 增強JavaScriptMIT

DSH Web 持久化背景圖/影片外掛:在 設定 -> 通用 中提供桌布卡片,可選本地圖片或 MP4(最大 300 MB),調節表層透明度與模糊;檢測到 ffmpeg/ffprobe 時在本機把影片壓縮為 H.264;媒體儲存到 ~/.dsh/wallpapers;並將 Web 服務固定到 9191 埠以便重啟後恢復桌布。

1 StarsFrog755 更新時間 2026-08-26
訪問 GitHub 倉庫
dsh-wallpaper 專案預覽
dsh-wallpaper 介面截圖dsh-wallpaper 介面截圖

專案介紹

中文

DSH Web 持久化背景圖/影片外掛:在 設定 -> 通用 中提供桌布卡片,可選本地圖片或 MP4(最大 300 MB),調節表層透明度與模糊;檢測到 ffmpeg/ffprobe 時在本機把影片壓縮為 H.264;媒體儲存到 ~/.dsh/wallpapers;並將 Web 服務固定到 9191 埠以便重啟後恢復桌布。

English

Persistent image or MP4 wallpaper for the DSH Web profile: a wallpaper card under Settings -> General selects a local image or MP4 (up to 300 MB), tunes surface opacity and blur, compresses video locally to H.264 when ffmpeg/ffprobe are on PATH, stores media under ~/.dsh/wallpapers, and pins the Web server to port 9191 so the saved wallpaper survives restarts.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
Frog755
倉庫
Frog755/dsh-wallpaper
GitHub Stars
1
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-26
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

50/ 100
維護活躍
90
文件與實用資訊
74
生態關注度
9
安裝便捷訊號
75
專案宣告訊號
100

近 16 天仍在更新;關注度尚低(1)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:Frog755/dsh-wallpaper

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-wallpaper

English | 简体中文

Persistent custom wallpaper for the DeepSeek Harness Web profile.

dsh-wallpaper adds one settings row under Settings -> General:

  • choose a local image or MP4 video;
  • tune surface opacity and wallpaper blur;
  • remove the wallpaper at any time.

Images are resized in the browser. MP4 videos up to 300 MB are uploaded only to the local DSH Host. When ffmpeg and ffprobe are available, they are compressed into high-quality H.264 wallpapers with a single fast encoding pass, a target near 18 MB, 1080p maximum resolution, and 30 fps maximum. Audio is removed because a background video is muted. Without those optional tools, the original MP4 is retained so video wallpapers remain usable, although they may take more disk space. Uploads stream directly to a temporary local file rather than being buffered in the DSH Host process. The result is stored under ~/.dsh/wallpapers, while localStorage keeps only its local URL. Replacing or removing a video deletes its prior local file, and startup removes old unreferenced wallpaper videos. Video wallpapers are muted, looped, and auto-played; media is restored on the next launch. Its bundle patch also fixes the Web server to port 9191: browser storage is scoped to protocol + host + port, so a random port would make saved wallpaper appear to disappear after every restart.

Requirements

Image wallpapers need no extra software. Video wallpapers also work without extra software by retaining the original MP4. Install ffmpeg and ffprobe on PATH for the DSH Host process to enable local compression.

Screenshots

Wallpaper applied to the Web profile (image background with adjusted surface opacity):

Wallpaper effect

The wallpaper settings card under Settings -> General:

Wallpaper settings

Compatibility

  • Target: the DeepSeek Harness Web profile (dsh web or the desktop build's

Web UI). The settings card is rendered by the DSH client runtime and needs a modern browser with localStorage support.

  • The bundle patch pins the Web server to http://127.0.0.1:9191; see

Fixed origin below for why, and what to do when the port is occupied.

  • Image wallpapers require no external tools. Video wallpapers accept MP4 files

up to 300 MB; without ffmpeg/ffprobe on PATH the original file is kept as-is, otherwise it is compressed locally to H.264 (target ~18 MB, max 1080p, max 30 fps, audio removed).

  • Peer dependencies: react ^18.2.0, @deepseek-ai/cordis ^4.0.1, and the DSH

client packages listed in package.json. They are provided by the DSH host installation; do not install them manually.

Install

Install the public npm package in one command:

dsh plugin --profile web add -w @frog755/dsh-wallpaper

Restart dsh web after initial installation so the host loader reads the new bundle patch. Open Settings -> General -> Wallpaper to choose your image.

For local development from a cloned repository, run this from the repository root instead:

dsh plugin --profile web add -w .

Changing lib/client.js later is picked up by the DSH client HMR chain; hard-refresh the page if the browser has an older module active.

Fixed origin

The package patch pins DSH Web to http://127.0.0.1:9191. This is intentional: localStorage isolates values by origin, including the port.

If 9191 is occupied, either stop the process holding it or change the port in cordis.patch.yml before starting DSH. Changing the port creates a different browser storage namespace, so the wallpaper must be selected once on that new origin.

What is persisted

All settings remain local to the current browser profile:

  • dsh-wallpaper:image
  • dsh-wallpaper:opacity
  • dsh-wallpaper:blur

On its first run, the plugin imports an existing dsh-skin wallpaper and its opacity/blur values when no dsh-wallpaper value exists. This lets a profile migrate without selecting the background again.

No image is sent to a server. Images are stored as compressed data URLs and are reduced to keep the browser storage footprint bounded.

Development

The client bundle uses DSH's window.__ModuleLoader__.load format, so no build step is needed. It is served by dsh-client-modules; dsh-client-hmr watches its content and sends a rebuilt notification to the browser when it changes.

Attribution

This independent wallpaper-focused plugin was derived from, and substantially reworked from, the wallpaper component of KinGao294/dsh-skin, which is licensed under MIT. The original copyright notice is retained in LICENSE.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案