Expose your local server
in 3 seconds.
Secure tunnels, automatic HTTPS, and zero configuration. The developer-first alternative to ngrok, packed with superpowers for client demos.
Connecting to edge relay...
Requesting wildcard certificate...
✓ Tunnel established successfully
Traffic to https://ax2b3.tunr.sh is now forwarding to localhost:3000
Hit Ctrl+C to quit.
Connecting to edge relay...
✓ Tunnel established
https://demo.tunr.sh → localhost:3000
Proxy features active:
✓ Read-only demo mode (POST/PUT/DELETE blocked)
✓ Freeze cache enabled (crash protection)
✓ Feedback widget injected into HTML
Streaming live request logs...
→ GET /api/products 200 12ms
→ POST /api/orders 201 45ms
→ GET /dashboard 200 8ms
→ DELETE /api/users/42 403 2ms (demo blocked)
Zero-Config Client Feedback
Pass the --inject-widget flag and tunr will automatically inject a Marker.io-style
visual feedback widget into the HTML proxy layer. No code changes required.
Clients can pin comments directly onto the UI, and all JavaScript console errors from their
browser stream directly to your Tunr
Dashboard.
More Superpowers for Vibecoders
We built tunr specifically for freelancers and AI-assisted developers demoing web apps to clients. Stop apologizing for crashes and database wipes.
Freeze Mode (Anti-Crash)
If your local server crashes mid-demo (Node exception, database drops), the tunnel serves the last successful HTML response from proxy memory. The client never sees an error page.
Read-Only Demos
Prevent destructive actions during client demos. The proxy blocks all state-mutating requests (POST, PUT, DELETE) from reaching your local server, returning simulated success codes instead.
AI Native (MCP Support)
Tunr fully supports the Model Context Protocol. Give Claude Desktop or Cursor direct agentic control to spin up tunnels, inspect traffic, and debug request payloads for you.
Password Protected
Add Basic Authentication to your public URL instantly. Keep your development environments secure from unauthorized access while sharing with clients.
Auto-Login Bypass
Inject an auth cookie or JWT header so your client lands on the demo account automatically. No signup flow, no password emails — just the dashboard.
Custom Domains
Use your own domain instead of the default *.tunr.sh subdomain. Point your CNAME and share professional-looking URLs with clients.
Auto-Expiring Tunnels
Set a Time-To-Live (TTL) so your tunnels close automatically. Never worry about forgetting to shut down a tunnel exposing your local machine.
Path Routing
Route different URL paths to different upstream ports on your machine. Perfect for testing microservices or serving your frontend and API from a single tunnel.
Request Replay
Captured an interesting request in the inspector? Replay it against your local server with one command. Debug webhooks, reproduce bugs, or test idempotency.
Machine-Readable Output
Use the --json flag to get structured JSON output from any command. Perfect for CI/CD pipelines, scripting, and AI agent integrations.
Reference
Commands
Everything is one tunr command away.
Under the Hood
How it works
A single Go binary that handles everything under the hood.
-
1Requests a public HTTPS URL from the Relay server, backed by Cloudflare's global edge network. Your localhost becomes reachable from anywhere with automatic TLS — zero DNS config required.
-
2Spins up a local reverse proxy with a layered middleware stack — Demo Mode blocks destructive writes, Freeze Mode caches responses for crash protection, widget injection adds a feedback overlay, and Path Routing fans requests to multiple local ports.
-
3Transparently upgrades WebSocket connections end-to-end, so HMR (Next.js, Vite) and real-time features work completely out of the box without any configuration.
-
4The built-in HTTP Inspector captures every request and response with millisecond timing in an in-memory ring buffer. Browse them in the web dashboard, stream via
tunr logs, or let AI agents query traffic through the Model Context Protocol.
Get started in seconds
Install Tunr and share your first localhost app in under a minute.