First time: tell your agent "Follow relay.sharnix.com/skill.md and share my app."
After setup: just "Sharnix share my app."
You're building with AI. Your client wants to see it now — not after you figure out deployment.
First time
After setup
First run: your agent fetches one playbook, runs setup, and you click Authorize in the browser — usually 10 seconds to a minute. After that, the short phrase is enough.
Try it now →Unlimited
tunnels on free
Read-only
by default
Revocable
share links
How it works
Run your dev server first. Single-port apps can use --port; multi-port apps need a .sharnix.yaml manifest.
npm run dev
Use the foreground CLI for quick shares and phone testing, or install a background service so the tunnel agent survives terminal close and reboot. Linux and Windows services auto-start on login (1.1.10+ / 1.1.11+). Your dev server still needs its own start command.
npx @sharnix/agent --share --permission full
# or: npx @sharnix/agent service install && service start
The agent prints a public HTTPS URL and can open a QR page. Token links bootstrap a cookie session on your preview subdomain so Vite/Next-style apps render styled on mobile.
npx @sharnix/agent --port 3000 --share
Send the link to a client, tester, teammate, or phone. If your app or agent stops, visitors can notify you from the paused/offline page.
open https://my-app.preview.sharnix.com
Features
Run the agent on macOS, Windows, or Linux and get a public preview link for a local port. The URL stays stable per project while your app and agent are running.
service install keeps the tunnel agent alive after terminal close and survives reboot on Linux (1.1.10+) and Windows (1.1.11+). Sharnix does not start your dev server — run both for a live preview.
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.
If your local app or agent stops, visitors see a clear paused/offline page instead of a broken connection and can notify the owner.
Pricing
Generous free tier — unlimited tunnels and share links. Upgrade for analytics, auth-gating, and team controls.
Perfect for solo projects and kicking the tyres.
For developers who need persistent previews and controlled access.
For agencies, squads, and teams shipping for clients.
Need custom billing, SSO, or SLA? Talk to us →
Safe sharing
Sharnix is built for previews — not production hosting. You control who sees what, for how long, and with what permissions.
Visitors connect to Sharnix over HTTPS. Your machine is not directly reachable from the internet.
Share links can disable forms and writes until you explicitly allow full interaction.
Turn off access instantly, set an expiry, or burn a link after one view.
When your agent disconnects, visitors see a clear paused page — not a broken connection.