Localhost,
anywhere.
One command turns the app running on your computer into a public link, and the page updates as you save. Free, open source, no account.
npx hostc@latest 3000Needs Node.js 22.1 or later.
https://k7m2xq9pa4dn.hostc.app → http://localhost:3000
Anyone with this URL can reach your local server. Press Ctrl+C to stop.
10:42:07 GET 200 / 12ms
10:42:07 GET 200 /assets/index.js 31ms
10:42:08 WS 101 /__vite_hmr
10:42:15 POST 200 /webhooks/stripe 48msWhat it does
- Updates as you save
- Change your code and every open device refreshes by itself. WebSockets pass straight through, so hot reload works.
- No config changes
- Requests arrive addressed to localhost, so dev servers accept them as they are.
- Everything gets through
- Pages, APIs, forms, Server-Sent Events, streaming responses and uploads.
- The URL stays put
- After a network drop or a server restart, hostc reconnects and your link keeps working.
- No warning page
- Visitors go straight to your app, with nothing to click through.
- Nothing to set up
- No sign-up, no auth token, no binary to download. Press Ctrl+C and the URL is gone.
Use it to
- Test webhooks on localhostReceive Stripe, GitHub and Slack webhooks on your local server with one command. Free, with no account.
- Test localhost on a real phoneOpen your local dev server on a real phone with a QR code. HTTPS, hot reload and any network. Free, with no account.
- Share a Vite or Next.js dev serverShare a Vite or Next.js dev server through a public URL, with hot reload and no allowedHosts or allowedDevOrigins changes.
Coming from another tool?
- The URL is public
- Anyone who has it reaches your server. Share only what you mean to, never anything holding secrets.
- Free and open source
- The server is open source too, and you can run your own. If hostc helps you, a star on GitHub helps others find it.
- Codex from any browser · Experimental
- Keep working with the Codex CLI on your computer from your phone. The private link can read any file and run any command as you, so keep it to yourself.