hostc

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 3000

Needs 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 48ms

What 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

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.