@statezero/statezero-tunnel
v2.3.1-0.1
Published
Tunnelmole client for StateZero users to create secure tunnels to their local services.
Maintainers
Readme
StateZero Tunnel Client
A fork of Tunnelmole that provides a simple, project-based CLI tool for creating persistent tunnels to local HTTP(s) servers via subdomains under tunnels.statezero.dev. Designed exclusively for use in development workflows with web-only AI code editors like Bolt.new and a local Django backend.
🚀 Key Features
- Persistent subdomains: Stable
<subdomain>.tunnels.statezero.devURLs for each project. - Interactive CLI: Create and select projects directly from your terminal.
- Lightweight: Focused on tunneling; no advanced programmatic APIs or self-hosting options.
📦 Installation
Requires Node.js 16.10+.
Recommended: Use npx (no installation required)
npx @statezero/statezero-tunnelProject data is automatically saved to your user config directory and persists between runs.
Alternative: Install globally
npm install -g @statezero/statezero-tunnel🛠️ CLI Usage
List or create projects
npx @statezero/statezero-tunnelStart a tunnel
npx @statezero/statezero-tunnel <port>Example:
npx @statezero/statezero-tunnel 8000
Sample output:
🚀 Starting tunnel...
🌐 Subdomain: myapp-1a2b3c.tunnels.statezero.dev
Public URL:
https://myapp-1a2b3c.tunnels.statezero.dev ⟶ http://localhost:8000Your tunnel URL will remain consistent across runs for that project.
📜 License
MIT © StateZero Inc.
