PWA icon: replaces the icon and app name used when the Web GUI is installed or added to the desktop, covering desktop browsers and the iOS home screen. Ships a ready-to-use bundled icon set and accepts your own image plus manifest overrides.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-pwa-icon
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:feng-yifan/dsh-plugins#path:/packages/dsh-pwa-icon
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
简体中文 | English
Use the picture you want as the app icon when the DSH Web GUI is installed / added to the desktop as a PWA (desktop browsers and the iOS Home Screen).
- Works out of the box: the package ships its own icon set (192 / 512 / maskable 512 / 1600, plus a 180 PNG for iOS), so no configuration is needed.
- Bring your own image: point
iconat your own picture. - Rename the app: the manifest
short_namedefaults toDSH(shown as the desktop shortcut / home-screen label); override it withmanifest.short_name.
Install
dsh plugin --profile web add dsh-pwa-icon
Configuration (optional)
- id: pwa-icon
name: dsh-pwa-icon
config:
icon: /path/to/icon.webp # your own image; omit to use the bundled set
sizes: 512x512 # only needed with icon: the image's real pixel size
manifest:
short_name: DeepSeek Harness # desktop / home-screen label
| Field | Default | Meaning |
|---|---|---|
enabled |
true |
master switch |
icon |
the bundled icon set | path to your own image; once set, only that file is used and sizes / type / purpose / iconUrl apply |
sizes |
— | with icon, the image's real pixel size (e.g. 512x512); a wrong value may make the browser ignore the icon |
type |
from the extension | image/* only |
purpose |
any |
use maskable for Android adaptive icons |
manifest |
— | extra / overriding manifest fields, e.g. short_name, name |
appleTouchIcon |
true |
inject the apple-touch-icon used by iOS |
iconUrl / manifestUrl / publicBase |
— | advanced: custom route paths for the icon or manifest, reverse-proxy mount prefix; normally untouched |
Taking effect and updating
- Config changes: saving the profile's
cordis.patch.ymlhot-reloads within seconds. - Upgrading the package version: a hot reload does not guarantee re-importing the module — check the actual output first (
curl <your entry>/manifest.webmanifest), and restartdsh webif nothing changed. - Swapping the image file: icons are re-read per request, no restart needed.
- An already installed PWA does not pick up a new icon or name: both are captured at install time; uninstall it (or delete the desktop shortcut / home-screen icon) and install / add it again.
Troubleshooting
- The installed icon is a "site badge + app name" tile → the browser got no usable manifest. Check that
manifest.webmanifestis reachable under your entry point and that everyiconsURL in it returns 200. - The icon 404s after configuring
icon→ that image file was moved or deleted (anything in~/Downloadsgets cleaned up easily). Move it somewhere stable, or go back to the bundled set. - The icon routes are public → browsers fetch icons without credentials (same nature as the favicon), so configuring
iconexposes that image to anything that can reach the port. - iOS → the home-screen label comes from the manifest
short_name; the icon prefersapple-touch-icon(the package ships a 180×180 opaque PNG); iOS 26 was also observed reading the WebP icon from the manifest. - The bundled icons come from this repository's maintainer and are distributed publicly on npm; configure
iconif you want your own.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10715
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10715
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8617
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7532
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5410
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1099
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.