Local development, upgraded

Your app deserves a real URL, even on your laptop

Stable HTTPS domains for local development. No ports. No /etc/hosts. No certificate warnings. One command and you're there.

Install
curl -fsSL https://antra.iifelse.com/install.sh | bash
or brew install ifelse-codes/antra/antra

The problem

Local development still looks like 2009.

What you got

  • localhost:5173
  • A red lock and "proceed anyway"
  • A spreadsheet of ports
  • "This is not a secure context"
  • "wait, which port was auth on?"

What you wanted

  • A real URL
  • HTTPS that just works
  • Multiple services, one address
  • Cookies, Service Workers, WebCrypto
  • A teammate can hit the same app

Capabilities

Everything the workaround stack does, minus the work.

01

One command

antra run --domain myapp.localhost -- pnpm dev. That's it.

02

Real HTTPS

Local CA, SNI certs, zero browser warnings. One-time trust, then forget.

03

No ports

Visit https://myapp.localhost. No :5173. No :3000. Done.

04

HMR works

Transparent WebSocket tunnel. Vite, Next, Rails, anything.

05

Multi-app routing

Run antra run N times. Each app gets its own domain. The daemon handles it.

06

Project config

Drop an antra.toml. Run antra dev. The whole team gets the same setup.


Architecture

A daemon, a cert cache, and a route table. That's the whole system.

Browser │ https://myapp.localhost ▼ ┌──────────────────────────────────────────┐ │ Antra daemon │ │ │ │ :80 HTTP → HTTPS redirect │ │ :443 TLS termination (SNI → leaf cert) │ │ │ │ Route table │ │ myapp.localhost → 127.0.0.1:5173 │ │ api.localhost → 127.0.0.1:8080 │ └──────────────────────┬───────────────────┘ │ X-Forwarded-* ▼ Your process

In practice

One command. A real URL. Your process unchanged.

Terminal
$ antra run --domain myapp.localhost -- pnpm dev Domain resolved: myapp.localhost Proxy ready HTTPS ready Route registered → https://myapp.localhost

Comparison

Antra vs the usual suspects.

localhost:port mkcert + Caddy ngrok Antra
Stable local domain Manual Random / paid .localhost / .test
HTTPS without warnings Manual Yes antra trust once
Hosts file edits n/a You edit it No Only for .test
WebSocket / HMR Yes Config-dependent Yes Transparent
Multi-app routing DIY Config file Extra tunnels antra run x N
Cloud account No No Yes No
One-command UX Close Yes

Get started

Stop typing :5173.

Install Antra. Run your app. Visit a real URL. That's the whole product.

View on GitHub