Skip to content
dev-centrPublic

About

Rundock: one machine-wide dock for local dev servers, folder servers, GUI sessions, and CLI runs. Headless D engine, rundock:client library, CLI, and a Tauri desktop grid.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Rundock

Contributors Forks Stargazers Issues

Rundock

One place on your machine for everything you are running to review: dev servers, static-site folders, GUI sessions, and CLI runs.
If it runs, it can dock here.

Report Bug · Request Feature

Important

Rundock is in early development. The engine, CLI, and client library (Phase 0) and the desktop app with its Windows installer (Phase 1) build from source; see desktop/. Nothing is released yet.

Who it is for

Rundock is for developers who review work on localhost, and for the coding agents that start that work.

When an agent works locally instead of pushing a preview branch, review moves to your machine. After a few sessions you have a pile of node.exe processes, two copies of the same site on different ports, a static-site output folder you opened from disk, and a CLI you can only test by remembering which folder to cd into and which command to type. Rundock keeps one machine-wide list of those things, says which project, variant, and branch each one belongs to, and lets you and your agents reuse what is already running instead of starting another copy.

What it does

  • Cards for anything you run. A card is one named thing: a dev server, an output folder served with live reload, a GUI app session, or a one-shot CLI run you can re-run with one click.

  • Declared identity. Each card knows its project, variant (for example solid vs nextjs), name, and git worktree (path, branch, HEAD, dirty state), so two variants of one project never look like the same thing.

  • Reuse instead of duplicate. rundock ensure returns the running server for a branch if there is one, wakes it if it is asleep, and only starts a new one when nothing matches. It never switches the branch of a checkout that someone else is using.

  • Subscribers you can see. Every agent chat that uses a card is recorded with a connected or disconnected status. The list is kept until you destroy the card. When nobody is connected, the card moves to an Unused section; nothing is killed for you.

  • Push hand-off back to an agent. Clicking Push offers a push lock to the most recently active connected chat first, then the next one, so the chat with the context and the conflict-handling rules does the push.

  • Clean teardown. Each card’s process tree runs in a Windows Job Object (or a POSIX process group), so stopping a pnpm → node → esbuild chain stops all of it.

Try it

Build from source with LDC and DUB. Output coloring uses shell-colorizer from a sibling checkout at ../../dlang-supplemental/shell-colorizer (the hive layout: <code root>/github.com/dlang-supplemental/shell-colorizer):

dub build
dub test

On Windows the binary is rundock.exe in the repo folder. The engine starts on the first command and exits on its own when nothing is running.

# An agent asks for the dev server on its branch (reused if it is already running)
rundock ensure --project FTN --variant solid --branch fix-nav --as harness:chat-42 -- pnpm dev --port {port}

# Serve a static-site output folder with live reload
rundock folder build/site --live-reload

# Run a CLI once, keep how you ran it, and wait for the result
rundock run --name smoke --wait -- dub run -- --version

# See everything, with Unused at the bottom
rundock status

# Hand a push to the most recently active connected chat
rundock push request "server 1"

rundock ? lists every command. Using Rundock from an agent is the short guide for coding agents, and Local API v1 is the contract for UIs and libraries.

How it fits together

Rundock is a headless engine with thin clients. Closing a client never stops what is running.

Part Role

rundock engine

Headless D daemon. Owns the session file and event log, launches and stops processes, and keeps cards across restarts.

rundock:client

D library. Talks to the engine over a named pipe on Windows or a Unix domain socket elsewhere, so tools such as DevCentr use Rundock without shelling out to the CLI.

rundock CLI

For people and agents: ensure, run, folder, app, subscribe, poll, push, and the serve family.

Local HTTP + SSE API

http://127.0.0.1:17360/v1/…​; for the desktop app, tray, and other UIs.

Rundock desktop

Tauri v2 app (desktop/): a home grid of cards, an Unused section, a + Dock dialog, and a details page with subscribers, output, and logs.

Projects can declare their cards in a rundock { } block inside .devcentr.sdl (see the example). CLI flags work without it.

To use the engine from D, depend on rundock:client:

import rundock.client;
import std.json : parseJSON;

auto rd = RundockClient.connectOrStart("rundock");
auto result = rd.ensure(parseJSON(`{"project":"FTN","branch":"fix-nav","as":"devcentr:grid","command":["pnpm","dev","--port","{port}"],"cwd":"Z:/code/FTN-solid"}`));

Built with

  • Engine, CLI, client library — D with DUB

  • Desktop — Tauri v2 and SolidJS

  • Help text — prohelp (help.sdl)

  • Output colors — shell-colorizer (muted, contrast-checked roles for shell and log output)

  • Platonic Protocol — platform self-description, planned for Rundock’s Install DevCentr flow

  • DevCentr — the developer workspace that will show Rundock cards in its project grid

License

MIT. Copyright (c) 2026 DevCentr. See LICENSE.

Contact

About

Rundock: one machine-wide dock for local dev servers, folder servers, GUI sessions, and CLI runs. Headless D engine, rundock:client library, CLI, and a Tauri desktop grid.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages