Manage development projects from the DSH web UI in a draggable floating window: add/remove, one-click start/stop/restart, hot-reload restart on file changes, and real-time persistent logs.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:br1nosense/dsh-project-manager
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
A DSH plugin that manages development projects from the DSH web UI in a draggable floating window — add/remove projects, one-click start/stop/restart, hot-reload auto-restart on file changes, and real-time persistent logs.
Features
- Floating window: shown at the bottom-right of the DSH web UI
(
shell.overlay), draggable by its title bar, collapsible via its top-right button; position and collapse state are remembered inlocalStorageand clamped back into the viewport on resize. - Project list: each project card shows a status badge (running / starting / stopping / exited / failed / stopped), PID, working directory and start command.
- Start / Stop / Restart: one button row per project. On Windows, stop
uses
taskkill /Tto kill the whole process tree so no child processes are left behind. - Add project: name, working directory, start command (e.g.
npm run devorpython app.py), extra args, auto-start, hot-reload toggle, watch extension whitelist, and extra environment variables. - Hot reload:
fs.watchwatches the project directory recursively; file changes (filtered by the extension whitelist, ignoringnode_modules/.git/dist) trigger a debounced (500 ms) auto-restart. - Logs: each project's stdout/stderr is written line-by-line to an
in-memory ring buffer (configurable cap, default 2000 lines) and persisted
to
logs/<id>.log; the floating window has an expandable log viewer with incremental polling, auto-scroll and clear.
Install
Option A: clone from GitHub (recommended)
git clone https://github.com/br1nosense/dsh-project-manager.git
cd dsh-project-manager
powershell -ExecutionPolicy Bypass -File .\install.ps1
Option B: via dsh plugin add
dsh plugin add https://github.com/br1nosense/dsh-project-manager
Restart dsh web after installing (the client bundle can also be hot-updated
by HMR). Verify:
dsh --profile web --dump-config # should show an `id: project-manager` line
REST API (same-origin; callable by the browser half and the agent)
| Method | Path | Purpose |
|---|---|---|
| GET | /project-manager/api/status |
plugin status |
| GET | /project-manager/api/projects |
project list (with live status) |
| POST | /project-manager/api/projects |
add a project |
| PUT | /project-manager/api/projects/:id |
update a project |
| DELETE | /project-manager/api/projects/:id |
delete a project (stops the process first) |
| POST | /project-manager/api/projects/:id/start |
start |
| POST | /project-manager/api/projects/:id/stop |
stop |
| POST | /project-manager/api/projects/:id/restart |
restart |
| GET | /project-manager/api/projects/:id/logs?since=<seq> |
incremental logs |
| POST | /project-manager/api/projects/:id/logs/clear |
clear logs |
Configuration
The project list is persisted under the project-manager: section of
~/.dsh/settings.yaml and hot-reloaded. Field schema is documented in the
comments of cordis.patch.yml.
Development
lib/index.js— host half: process management, hot reload, logs, webServer REST API,ctx.projectManagerservice.lib/client.js— browser half: theshell.overlayfloating window (draggable, collapsible).- Client-side changes are hot-updated by
dsh-client-hmr(poll bundle file → SSE push) without restartingdsh web; only a brand-new bundle entering__DSH_BOOT__needs a restart.
License
MIT — see LICENSE.
Links
More in this category
yjh051108/dsh-routing-suite★ 6990
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3670
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 325
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 210
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
lire1131/dsh-undo-savepoint★ 168
Undo/redo & rollback system for DSH: every config change is auto-snapshotted; undo/redo/restore to any version from the WebUI or the offline CLI/GUI tools (works even when DSH fails to boot).
Fishquito7/dsh-skill-mcp-panel★ 161
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.