Portless Local Development

•
79
•

Replaces fragile port numbers with stable, named .localhost URLs for a streamlined local development experience.

Portless Local is a specialized development tool designed to eliminate the friction of managing local port numbers by assigning readable, deterministic .localhost hostnames to your services. It automatically handles local reverse proxying, manages Git worktree subdomains, and provides built-in HTTPS/HTTP2 support, ensuring that both human developers and AI agents can interact with local environments using consistent, collision-free URLs. By scoping cookies and storage to specific subdomains, it prevents the cross-port data leakage common in complex monorepo or microservice setups.

Key Features

01Zero-config HTTPS with auto-generated local CA and HTTP/2 support
0279 GitHub stars
03Automatic port-to-hostname mapping using .localhost domains
04Smart Git worktree detection for branch-specific subdomains
05Cross-device testing with LAN mode using mDNS .local domains
06Framework-aware injection for Next.js, Vite, Astro, and Express

Use Cases

01Providing AI agents with deterministic URLs for automated testing and browser interaction
02Managing multiple microservices in a monorepo without manual port assignments
03Testing OAuth callbacks and secure cookies that require stable, named hostnames