vercel-labs

    vercel-labs/portless

    Replace port numbers with stable, named local URLs. For humans and agents.

    web
    TypeScript
    Apache-2.0
    12.8K stars
    439 forks
    12.8K GitHub watchers
    Updated Oct 26, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 24 contributors on GitHub.

    Gained 47% more stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Replaces local development port numbers with stable, human-friendly named URLs using a proxy and custom domain routing.
    • Enables HTTPS with HTTP/2 by default and auto-manages local CA trust, eliminating browser warnings and manual TLS setup.
    • Use for simplifying local development URLs and avoiding port conflicts across multiple projects or microservices.
    • Use for managing multiple git worktrees with unique subdomain URLs to isolate development environments per branch.
    • Use for enabling LAN mode with mDNS to access local services from other devices on the same network using .local domains.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Replace port numbers with stable, named .localhost URLs for local development. For humans and agents.

    Or as a project dev dependency:

    portless is pre-1.0. When installed per-project, different contributors may run different versions. The state directory format may change between releases, which can require re-running portless trust.

    HTTPS with HTTP/2 is enabled by default. On first run, portless generates a local CA, trusts it, and binds port 443 (auto-elevates with sudo on macOS/Linux). Use --no-tls for plain HTTP.

    The proxy auto-starts when you run an app. A random port (4000-4999) is assigned via the PORT environment variable. Most frameworks (Next.js, Express, Nuxt, etc.) respect this automatically. For frameworks that ignore PORT (Vite, VitePlus, Astro, React Router, Angular, Expo, React Native), portless auto-injects the right --port flag and, when needed, a matching --host flag.

    When auto-starting, portless reuses the configuration (port, TLS, TLD) from the most recent proxy run, so a restart or reboot does not silently revert to defaults. Explicit env vars (PORTLESS_PORT, PORTLESS_HTTPS, etc.) always take priority.

    In non-interactive environments (no TTY, or CI=1), portless exits with a descriptive error instead of prompting, so task runners like turborepo and CI scripts fail early with a clear message.

    Excerpt from the vercel-labs/portless README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 2: +202Sep 3: +416Sep 4: +86Sep 5: +43Sep 6: +24Sep 7: +96Sep 8: +42Sep 9: +59Sep 10: +14Sep 11: +6Sep 12: +7

    +2,454 stars over 87 days across 17 snapshot days; best day +416 on Sep 3.

    Forks

    439+105

    Open issues

    116+0

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    vercel-labs/portless compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    vercel-labs/portless12.8K—25today
    Category median48.4K+6.2K44—

    Also by vercel-labs

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description