DEV Community

Cover image for port0: No more dev ports. Just names like project.local
BluePhantom
BluePhantom

Posted on

port0: No more dev ports. Just names like project.local

Every dev curses ports. "Is it 3000? 5173? Shit, kill all."

Built port0 - Go daemon wraps ANY dev cmd:

cd myapp
port0 npm run dev

Boom: myapp.localhost / myapp.web → your server. Auto free port via PORT env, proxy on 80 by Host header.

Quick Demo

Terminal:
$ port0 go run .
port0: Assigned 127.0.0.1:4281 → openclaw.*
Proxy ready.

Browser: openclaw.localhost loads your app. Zero config, folder=hostname.

Why tho?

  • Universal: npm dev, python runserver, go run, rails s.
  • No Valet/NGrok lock-in.
  • ~/.port0 state persists.

Live: https://port0.bluephantom.dev

Open Source: https://github.com/Blu3Ph4ntom/port0
Feedback? https://x.com/Im_BluePhnatom

Top comments (0)