Skip to content

localghost v4.2.0

Choose a tag to compare

@SmileyChris SmileyChris released this 11 Oct 18:22
· 26 commits to main since this release

localghost 4.2.0 makes sharing a hub over Tailscale simpler to set up and to trust, and lets host runs isolate themselves from busy ports.

  • Trust a tailnet hub without a fingerprint. uvx localghost tailscale trust <suffix> finds the hub through your Tailscale client's network map, so the tailnet vouches for the root instead of DNS.
  • A hub page on the tailnet. http://localghost.<suffix> lists the hub's running projects and how to trust it. trust.<suffix> is deprecated and redirects there.
  • tailscale share / unshare replace enable / disable, which still work as deprecated aliases. Unshare now keeps the OAuth credential so sharing again needs no setup; --forget-credential removes it.
  • Isolated host runs. localghost run --isolate (and save --isolate) runs the app in its own network namespace behind an ephemeral port, so it never collides with another checkout.
  • Custom commands using {port} walk past a busy port, and detached runs relay loopback-bound apps on Linux.
  • localghost, trust and traefik are now reserved project names.

Upgrade:

uvx --refresh localghost