Share any local app — AI-built, in-progress, or client-ready — with a secure link in seconds. Built-in auth, analytics, and access control. No port forwarding. No config.
$ npm run dev Local app ready on http://localhost:3000 $ npx @sharnix/agent --port 3000 --share Connecting to relay.sharnix.com... ✓ Agent registered (acme-frontend-a1b2c3d4) ✓ Tunnel live at https://my-app.preview.sharnix.com OK Share link created https://my-app.preview.sharnix.com?t=eyJhbGci… read-only · QR for phone testing · link pauses when agent stops
How it works
Add the Sharnix plugin to your project. Works with any stack — Next.js, Vite, Rails, Django, anything that runs on a local port.
npm i --save-dev sharnix
Run one command to establish the tunnel. Your app gets a persistent URL at preview.sharnix.com that survives agent restarts.
npx sharnix connect ./my-app
Create a share link from the dashboard or CLI. Add an expiry, require email auth, restrict IPs, or make it one-time-view.
sharnix link create --expires 7d
Features
Your preview gets a stable subdomain at preview.sharnix.com. It survives agent restarts, port changes, and machine reboots.
Gate any link behind email OTP login. Restrict to a list of approved emails or entire domains like @acme.com.
Limit access to your office CIDR range or a set of allowed countries. Deny everyone else without a meaningful error.
Total visits, unique visitors, session durations, and a time-series chart. Know exactly who has seen your work and when.
Every access event — authenticated, denied, or anonymous — is logged with actor email, IP, country, and timestamp.
HTTP events when links are visited, agents connect, or access is denied. HMAC-signed with automatic exponential retry.
Pricing
Free includes 1 tunnel and up to 5 share links. Pro and Team raise the limits and add analytics, auth-gating, and team controls.
Every plan is free for all users until July 1, 2026 — no card required.
Safe sharing
Sharnix is built for previews — not production hosting. You control who sees what, for how long, and with what permissions.
Free to start. No credit card required. No server to manage.
Create your free account →