Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
portside
command
Command portside keeps local dev servers running in one place.
|
Command portside keeps local dev servers running in one place. |
|
internal
|
|
|
agentsetup
Package agentsetup is the optional setup for coding agents: the MCP server registered with Claude Code and Codex, and the agent skill in their skill directories.
|
Package agentsetup is the optional setup for coding agents: the MCP server registered with Claude Code and Codex, and the agent skill in their skill directories. |
|
agentskill
Package agentskill renders the agent skill that teaches coding agents to work with the daemon, and installs it where Claude Code and Codex look for skills (dirs.go locates their directories).
|
Package agentskill renders the agent skill that teaches coding agents to work with the daemon, and installs it where Claude Code and Codex look for skills (dirs.go locates their directories). |
|
app
Package app holds the product identity in one place.
|
Package app holds the product identity in one place. |
|
browser
Package browser picks the command that opens an address in a browser of this session, shared by the CLI and the terminal UI.
|
Package browser picks the command that opens an address in a browser of this session, shared by the CLI and the terminal UI. |
|
cli
Package cli implements the command-line interface.
|
Package cli implements the command-line interface. |
|
client
Package client talks to a running daemon and starts one when needed.
|
Package client talks to a running daemon and starts one when needed. |
|
config
Package config loads and edits the TOML file that lists managed servers.
|
Package config loads and edits the TOML file that lists managed servers. |
|
csp
Package csp holds the Content-Security-Policy for content the dashboard's origin serves but did not write: project icons and every reply relayed from another computer.
|
Package csp holds the Content-Security-Policy for content the dashboard's origin serves but did not write: project icons and every reply relayed from another computer. |
|
daemon
Package daemon runs the long-lived process: it owns the supervisor and serves the HTTP API, dashboard and proxy until it receives a signal.
|
Package daemon runs the long-lived process: it owns the supervisor and serves the HTTP API, dashboard and proxy until it receives a signal. |
|
discover
Package discover finds projects that look like they have a dev server and proposes a command for each, so adding a server rarely means typing one.
|
Package discover finds projects that look like they have a dev server and proposes a command for each, so adding a server rarely means typing one. |
|
docker
Package docker talks to a container engine through the Docker Engine API.
|
Package docker talks to a container engine through the Docker Engine API. |
|
editor
Package editor runs the user's text editor on a file in this terminal, for the command line's `config edit` and the terminal UI's `:config`.
|
Package editor runs the user's text editor on a file in this terminal, for the command line's `config edit` and the terminal UI's `:config`. |
|
hostport
Package hostport reads the host out of a Host header or a host:port pair, the one form every host check compares.
|
Package hostport reads the host out of a Host header or a host:port pair, the one form every host check compares. |
|
mcpserver
Package mcpserver exposes the daemon to coding agents over the Model Context Protocol (stdio).
|
Package mcpserver exposes the daemon to coding agents over the Model Context Protocol (stdio). |
|
notify
Package notify signals subscribers that something changed.
|
Package notify signals subscribers that something changed. |
|
paths
Package paths resolves where configuration, state and logs live.
|
Package paths resolves where configuration, state and logs live. |
|
ports
Package ports answers "is anything listening on this port, and who is it".
|
Package ports answers "is anything listening on this port, and who is it". |
|
remote
Package remote connects this daemon to the daemon on another of the owner's devices (see package share for the other side).
|
Package remote connects this daemon to the daemon on another of the owner's devices (see package share for the other side). |
|
server
Package server exposes the supervisor over HTTP: the JSON API used by the CLI and dashboard, WebSocket streams, the embedded dashboard itself, and a reverse proxy that serves every server at http://<name>.localhost.
|
Package server exposes the supervisor over HTTP: the JSON API used by the CLI and dashboard, WebSocket streams, the embedded dashboard itself, and a reverse proxy that serves every server at http://<name>.localhost. |
|
service
Package service registers the daemon with the OS so it starts at login: a launchd agent on macOS, a systemd user unit on Linux.
|
Package service registers the daemon with the OS so it starts at login: a launchd agent on macOS, a systemd user unit on Linux. |
|
share
Package share lets the owner's other devices connect to this daemon.
|
Package share lets the owner's other devices connect to this daemon. |
|
signing
Package signing signs HTTP requests with a shared key and verifies them.
|
Package signing signs HTTP requests with a shared key and verifies them. |
|
supervisor
Package supervisor runs dev servers in pseudo-terminals and tracks their lifecycle: start (with dependencies), readiness, graceful stop, crash handling with restart policies, resource usage and scrollback.
|
Package supervisor runs dev servers in pseudo-terminals and tracks their lifecycle: start (with dependencies), readiness, graceful stop, crash handling with restart policies, resource usage and scrollback. |
|
tailnet
Package tailnet reads this machine's Tailscale state and manages Tailscale Serve entries through the tailscale CLI, which works the same with every Tailscale variant (macOS app, Homebrew, Linux packages).
|
Package tailnet reads this machine's Tailscale state and manages Tailscale Serve entries through the tailscale CLI, which works the same with every Tailscale variant (macOS app, Homebrew, Linux packages). |
|
tui
Package tui is the full-screen terminal client of the daemon (design/tui.md).
|
Package tui is the full-screen terminal client of the daemon (design/tui.md). |
|
tui/act
Package act runs terminal UI actions without blocking the UI.
|
Package act runs terminal UI actions without blocking the UI. |
|
tui/containers
Package containers is the terminal UI's containers pane and the right pane for a selected container (design/tui.md "Containers"): the daemon's Docker containers grouped by Compose project, their actions, logs, details, shell and compose jobs.
|
Package containers is the terminal UI's containers pane and the right pane for a selected container (design/tui.md "Containers"): the daemon's Docker containers grouped by Compose project, their actions, logs, details, shell and compose jobs. |
|
tui/edit
Package edit is the terminal UI's config editing (design/tui.md "Forms and dialogs"): `:config` runs the user's editor on the config text and saves it through the API with its revision, and the server, new server and settings forms are overlays over a dimmed screen.
|
Package edit is the terminal UI's config editing (design/tui.md "Forms and dialogs"): `:config` runs the user's editor on the config text and saves it through the API with its revision, and the server, new server and settings forms are overlays over a dimmed screen. |
|
tui/form
Package form is the terminal UI's form: one field per row with the label left and the value right, as in the dashboard's Settings (design/tui.md "Forms and dialogs").
|
Package form is the terminal UI's form: one field per row with the label left and the value right, as in the dashboard's Settings (design/tui.md "Forms and dialogs"). |
|
tui/keymap
Package keymap is the terminal UI's one table of actions: each action has its keys, its command-line name and its help text, so the footer, the help overlay, the command line and the menus are all generated from the same entries (design/tui.md "Keys").
|
Package keymap is the terminal UI's one table of actions: each action has its keys, its command-line name and its help text, so the footer, the help overlay, the command line and the menus are all generated from the same entries (design/tui.md "Keys"). |
|
tui/live
Package live streams daemon snapshots to the terminal UI.
|
Package live streams daemon snapshots to the terminal UI. |
|
tui/overlay
Package overlay draws what the terminal UI shows over its panes: the help overlay, the command line, the menus and toasts, and places them on the screen (design/tui.md "Interaction").
|
Package overlay draws what the terminal UI shows over its panes: the help overlay, the command line, the menus and toasts, and places them on the screen (design/tui.md "Interaction"). |
|
tui/ports
Package ports is the terminal UI's ports pane (design/tui.md "Ports"): the processes listening on TCP ports as the daemon reports them (GET /api/listeners), what each is in the daemon's terms, and killing one or taking its port over for the server it blocks.
|
Package ports is the terminal UI's ports pane (design/tui.md "Ports"): the processes listening on TCP ports as the daemon reports them (GET /api/listeners), what each is in the daemon's terms, and killing one or taking its port over for the server it blocks. |
|
tui/remote
Package remote is the terminal UI's view of the computers around the daemon and of the daemon itself: the Computers overlay (other computers over Tailscale, sharing, forwarded ports) and the switch of the session to another computer, the daemon's details with its upgrade and restart in place, and the coding-agent setup (design/tui.md "Other computers and the daemon").
|
Package remote is the terminal UI's view of the computers around the daemon and of the daemon itself: the Computers overlay (other computers over Tailscale, sharing, forwarded ports) and the switch of the session to another computer, the daemon's details with its upgrade and restart in place, and the coding-agent setup (design/tui.md "Other computers and the daemon"). |
|
tui/servers
Package servers is the terminal UI's servers pane: the grouped list of servers with their state, port, CPU and memory, the filter and the server actions (design/tui.md "Layout", "Keys", "Mouse").
|
Package servers is the terminal UI's servers pane: the grouped list of servers with their state, port, CPU and memory, the filter and the server actions (design/tui.md "Layout", "Keys", "Mouse"). |
|
tui/theme
Package theme holds the terminal UI's colors, glyphs and styles: the dashboard's theme families, generated from its CSS, plus Terminal, which uses the terminal's own ANSI colors.
|
Package theme holds the terminal UI's colors, glyphs and styles: the dashboard's theme families, generated from its CSS, plus Terminal, which uses the terminal's own ANSI colors. |
|
tui/ui
Package ui holds what every part of the terminal UI shares: the environment panes draw and act with, the pane contract and the messages that cross between panes and the root model.
|
Package ui holds what every part of the terminal UI shares: the environment panes draw and act with, the pane contract and the messages that cross between panes and the root model. |
|
viewfmt
Package viewfmt holds the text and order the CLI and the terminal UI show servers with, so both describe a server the same way.
|
Package viewfmt holds the text and order the CLI and the terminal UI show servers with, so both describe a server the same way. |
|
scripts
|
|
|
benchclient
command
Command benchclient holds one events connection (/api/events) to the daemon on -port open for -for, the way the dashboard (usage shown) or the menu bar app with its panel closed (-usage=false) does, and discards what the daemon sends.
|
Command benchclient holds one events connection (/api/events) to the daemon on -port open for -for, the way the dashboard (usage shown) or the menu bar app with its panel closed (-usage=false) does, and discards what the daemon sends. |
|
notices
command
Command notices writes THIRD_PARTY_NOTICES.txt: the license of every Go module linked into ./cmd/portside, every npm package bundled into the dashboard (production dependencies reachable from web/package.json), and the color themes the dashboard palettes derive from.
|
Command notices writes THIRD_PARTY_NOTICES.txt: the license of every Go module linked into ./cmd/portside, every npm package bundled into the dashboard (production dependencies reachable from web/package.json), and the color themes the dashboard palettes derive from. |
|
tuithemes
command
|
|
|
Package web embeds the built dashboard (web/dist) into the binary.
|
Package web embeds the built dashboard (web/dist) into the binary. |
Click to show internal directories.
Click to hide internal directories.




