Tool Open source

Portless

Portless is a command-line development proxy that replaces numbered localhost ports with stable, named local URLs such as https://myapp.localhost. It runs an application command, assigns the child process an available port through the PORT environment variable, registers the app with an HTTP/2 HTTPS proxy, and routes requests from the named hostname to that process. It can infer and run package.json development scripts, inject port and host flags for frameworks that do not honor PORT, manage multiple workspace packages, and register aliases or subdomains. The proxy supports custom TLDs, local certificate generation and trust, WebSockets, LAN access through mDNS, startup services, and optional sharing through Tailscale or ngrok. Portless is distributed as an npm package for macOS, Linux, and Windows and is pre-1.0.

View repository Visit site