dsh-start
Manifest validOne-click start/stop launcher for DSH Web on macOS — start (foreground/daemon), stop, status, duplicate-launch guard, auto browser open, plus a Dock-able DSH.app built by script.
dsh-start
English | 中文
A one-click launcher for DeepSeek Harness (DSH) Web on macOS. Stop typing dsh web by hand — start, stop, and check the server from a single command, or build a Dock-able DSH.app that behaves like a normal macOS application.
Features
- One command, four modes —
dsh-start(foreground, logs visible, Ctrl+C to stop),dsh-start -d(daemon, logs to~/.dsh/web.log),dsh-start stop,dsh-start status. - Duplicate-launch guard — if the server is already up (default port 3080), it just opens the browser instead of starting a second instance.
- Auto-open browser — polls the port after launch and opens
http://127.0.0.1:3080once ready (both foreground and daemon modes). - Normal-app feel (DSH.app) —
scripts/build-dsh-app.shcompiles a stay-open launcher app at~/Applications/DSH.app: double-click to start, Cmd+Q (with a confirmation dialog) to stop. Re-clicking the Dock icon ensures the server is running and opens the browser. - Permission-safe by design — the app delegates the server process to Terminal (which has full file-access context), avoiding the macOS sandbox/TCC
EPERMfailures that occur when a bare app spawnsdshdirectly.
Install
From npm (recommended)
npm install -g dsh-start
dsh-start # start in foreground
dsh-start status # is it running?
From source
git clone https://github.com/zhengjy01/dsh-start.git
cd dsh-start
./bin/dsh-start # same CLI
Build the Dock app (optional)
dsh-start --build-app # same as scripts/build-dsh-app.sh
# or
./scripts/build-dsh-app.sh # needs python3 + Pillow for the icon
Usage
| Command | What it does |
|---|---|
dsh-start | Start in the foreground; Ctrl+C stops the server |
dsh-start -d | Start in the background (window can close); log at ~/.dsh/web.log |
dsh-start stop | Stop the running server (found via the port) |
dsh-start status | Show whether the server is running and its URL |
dsh-start --build-app | Build/refresh ~/Applications/DSH.app |
The port defaults to 3080 (the dsh web default); override with the DSH_PORT environment variable.
How it works
scripts/start-dsh.shchecks the port first. Already running → open the browser. Otherwise it launchesdsh webin the foreground (ornohup'd in daemon mode) and watches for readiness.scripts/DSH.applescriptis a stay-open AppleScript app (osacompile -s):run/reopenensure the server is up and open the browser;quitasks for confirmation and runsstart-dsh.sh stopbefore exiting.- The build script generates the icon with Pillow, compiles the app, patches
Info.plist, and registers it with LaunchServices.
Troubleshooting
EPERM: operation not permittedwhen launching from the app — this is a macOS permission-context issue: rundsh-start --build-app(v2 app delegates to Terminal), or start viadsh-startin your own terminal.- Sessions "missing" after a restart — session data is never deleted; it lives in
~/.dsh/sessions. If the app-spawned server crashed at boot (see~/.dsh/web.log), start from the terminal instead and the sidebar repopulates. - First launch of DSH.app — macOS may ask "DSH wants to control Terminal"; click Allow (one-time).
License
MIT © zhengjy01
Comments
Loading…
Similar plugins
by H1Kariiiiiii
One-click desktop launcher for DSH Web: creates a Windows .lnk with a WPF-style startup popup (progress + timeout), then opens the authenticated browser; plus a floating shutdown button that exits dsh
★ 3
Apache-2.0
JavaScript
Sep 6, 2026
dsh plugin --profile web add dsh-desktop-launcher2by hanwuji1
One-click launcher for the Web UI: a double-click Start-DSH-Web.cmd on the Windows desktop that boots dsh web and auto-opens the browser (polling until ready), plus a web_launcher model tool (install
★ 0
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-web-launcherby cloader
One-click dev-process launcher for the DSH web GUI: per-workspace launch configs (frontend / backend / other command groups), a session-header start button, and an in-session console tab streaming live process output over SSE. Host half spawns and supervises the processes (tree-kill on Windows, ring-buffered output); browser half mounts through the official slot system — no DSH source changes.
★ 0
TypeScript
Aug 26, 2026
dsh plugin --profile web add dsh-devlaunchby songer522
macOS menu bar app for the DSH web server, plus the host plugin it reads: the plugin writes the running server's port, PID and tokenized URL to ~/.config/dsh-launcher/runtime.json and removes it on sh
★ 1
MIT
Swift
Sep 12, 2026
dsh plugin --profile web add dsh-menubar-launcherFloating restart button for the DSH web GUI: restarts the dsh process in place with a full-screen overlay and auto-reloads the page; no launcher script required, works on Windows/macOS/Linux.
★ 0
dsh plugin --profile web add dsh-restart-fabby fuyue521
Windows desktop shortcut for dsh web: launches the server, auto-opens the browser when ready, and stops the service when the Harness window closes.
★ 2
↓ 144/wk
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-desktop-shortcut