"Expose your local server to the world seamlessly!"
AutoHost is a one-stop localhost tunneling tool that makes your local web server publicly accessible in seconds.
Forget manual setups! AutoHost automatically handles:
- Installing required tunneling tools (ngrok, localtunnel, cloudflared, Serveo, Pinggy, Localxpose)
- Configuring auth tokens
- Persistent user settings
- Graceful tunnel termination on CTRL+C
- Auto-install and verify required CLI tools
- Multi-tunnel support:
ngrok,localtunnel (lt),cloudflared,Serveo (SSH),Pinggy (SSH),Localxpose (lx)
- Public URL detection in real-time
- Remember last used port, tunnel service, and www path
Linux (Debian/Ubuntu):
git clone https://github.com/zanesense/AutoHost.git
cd AutoHost
sudo apt update
sudo apt install -y python3 python3-pip nodejs npm sshRun the tool:
python3 auto-host.pyThe first time you use AutoHost, it will automatically install missing tools like ngrok, localtunnel, or cloudflared.
- Run
python3 auto-host.py. - Select your tunneling service.
- Enter the local port your server runs on (e.g., 8000).
- Specify the
wwwdirectory (default:./www) or leave blank. - If needed, enter AuthToken (only for ngrok).
- Watch your public URL appear in real-time.
Open the public URL in your browser to share your server instantly! π
| Service | Requires Auth | Auto-install |
|---|---|---|
| ngrok | β | β (via apt) |
| localtunnel (lt) | β | β (via npm) |
| cloudflared | β | β (via apt) |
| Serveo (SSH) | β | β |
| Pinggy (SSH) | β | β |
| Localxpose (lx) | β | β (via curl script) |
- Ensure the port you choose is open and accessible.
- To terminate all tunnels at any time, press CTRL+C.
- Update your tools for the latest features and security.
MIT License Β© 2025 AutoHost Built with β€οΈ by zanesense