Launching the Web Interface
Start the web interface from your terminal with the--web flag:
http://localhost:3000.
You can also pass an optional path to open GSD in a specific project directory:
Starting and Stopping with the web Subcommand
Use the gsd web subcommand to manage the web server independently of a GSD session:
Custom Host and Port
Override the default bind address and port with CLI flags:| Flag | Default | Description |
|---|---|---|
--host | localhost | Bind address for the web server |
--port | 3000 | Port for the web server |
--allowed-origins | (none) | Comma-separated list of allowed CORS origins |
What the Web UI Provides
Terminal Emulator
A full xterm.js-powered terminal runs inside the browser. Start GSD sessions, run commands, and interact with the TUI without leaving the web interface.
Project Dashboard
A visual overview of milestones, slices, and tasks with progress indicators, dependency graphs, and status badges.
Live State Viewer
Server-sent events push real-time updates as auto mode executes. Watch tasks complete, costs accumulate, and milestone progress advance without refreshing the page.
Session Management
Switch between active sessions, view session history, and resume a previous session — all from the browser sidebar.
Knowledge Browser
Browse your project’s knowledge base including
KNOWLEDGE.md rules, patterns, lessons, and architectural decisions stored in DECISIONS.md.Preferences Editor
Edit global and project-level preferences through a guided web form — no need to manually edit YAML frontmatter in
PREFERENCES.md.File Browser
Navigate the project directory and
.gsd/ artifact files directly from the browser, with syntax-highlighted viewing.Cost Tracking
Live cost panels show per-session and per-milestone spending, token usage, and projections based on current burn rate.
Multi-Project Support
The web UI supports multiple projects from a single browser tab. Switch between projects using the?project= URL parameter:
GSD_WEB_PROJECT_CWD as an environment variable to specify the default project when ?project= is not in the URL:
Notification History
The web UI tracks all notifications GSD sends during a session — milestone completions, budget alerts, blockers, and attention requests — in a persistent notification panel. Click any notification to jump to the relevant part of the dashboard.Platform Notes
The GSD Pi web interface is supported on macOS and Linux. The web build is skipped on Windows due to Next.js webpack compatibility issues with certain system directories. The GSD CLI and TUI remain fully functional on Windows.
MCP and API Routes
The web server exposes a rich set of API routes that power the dashboard. These routes are also available for integrations and tooling:| Route | Description |
|---|---|
/api/live-state | SSE stream of live session state |
/api/projects | List and switch projects |
/api/preferences | Read and write preferences |
/api/knowledge | Browse the knowledge base |
/api/session | Session management |
/api/git | Git status and worktree info |
/api/notifications | Notification history |
/api/history | Execution history |
/api/terminal | Terminal bridge for xterm.js |
