Every dev server you run,
anchored in one place

porlocal leases ports, launches and supervises the dev servers of your projects, maps your phone's ports, and shows it all in a dashboard. Your projects never need it: they still run with a plain pnpm dev.

api ready :4310 web starting node.exe by hand owner gone · stops in 12s
The porlocal dashboard: a card per project, what runs and its ports

Stop juggling terminals and ports

Five projects, two worktrees, a database in Docker and a phone on USB: porlocal knows which port each one got, who started it, and what is wrong.

Ports that never clash

Each service gets its declared port when free, another one when not, said out loud, and every .env.local that reads it is rewritten.

Supervised dev servers

Started from the CLI or the dashboard, they stop when the terminal, IDE or agent that started them goes away, after a grace delay.

Projects, not processes

Repos linked by their env, an org's repos, a ticket's worktree slots: shown together, as one project with its own page.

What needs a look, first

A port taken, a stale .env.local, a crash, a server started by hand and forgotten: listed, one click from its line.

Devices on USB

adb reverse mappings kept for every connected phone, put back when it reconnects.

Optional, always

It only fills the .env.local block pnpm wt env writes: a clone without porlocal runs exactly the same.

A quick tour

Screenshots of the dashboard on a made-up machine (pnpm screenshots): an "Acme" org of four repos and a ticket slot, a blog, a phone.

A page per project

  • Its issues first, each one scrolling to its line
  • Its repos with their env links: API_URL → api :4310
  • One line per service: state, port, uptime, and the same actions at the same place
A project's page: its repos and their services

Logs, live

  • A service's log streamed as it is written
  • Follows the end, stops following when you scroll up
A service's live log in the dashboard

Everything to look at

  • The header counts what needs a look on the whole machine
  • Each issue opens its project's page, on its line
The list of issues from the header

Light or dark

  • Follows your system, or the toggle in the header
  • A tray icon too (Windows): green, yellow or grey at a glance
The dashboard in the light theme

Install

  1. Clone it, then pnpm install, pnpm build and pnpm link --global for the porlocal command.
  2. Declare a project's dev servers in its package.json:
    "localDev": {
      "services": { "web": { "port": 3000, "run": "pnpm dev" } },
      "env": { "PORT": "{port:web}" }
    }
  3. porlocal up in the project (or porlocal run web), then porlocal dashboard.
  4. porlocal daemon autostart on: the daemon and its tray icon at login (Windows).

Every command: porlocal --help. The details are in the README.