Expose your local server to the internet securely — powered by the NetCrux Tunnel Network.
NetCrux is a lightweight, secure, and developer-friendly tunneling tool that lets you expose your local servers to the internet through an encrypted WebSocket tunnel.
Use it to test webhooks, demo web apps, or share local projects — without deploying them publicly.
This is the CLI client for connecting to the NetCrux tunneling network.
- 🔒 Secure WebSocket Tunnel — All traffic is encrypted end-to-end.
- 👤 Authentication System — Login and manage your tunnels via NetCrux account.
- ⚙️ Multiple Tiers — Free, Pro, and Enterprise tiers with different capabilities.
- 🔁 Persistent Connections — Keeps your tunnel alive even if your app restarts.
- 🌍 Custom Subdomains — Reserve a subdomain for your tunnel.
- 📦 Simple CLI Interface — Easy to use, no config files required.
Install NetCrux Client CLI globally from npm:
npm install -g netcrux-client-cliExpose your local port (for example, port 3000):
netcrux -p 3000If you’re not logged in, NetCrux will automatically ask for your email and password, or offer to create a new account.
You can specify a custom subdomain using the -n flag (available for Pro and Enterprise tiers):
netcrux -p 3000 -n myappOutput:
✔ Connected to tunnel server
Socket ID: YbAH508Z7__jkq21AAAF
⠹ Registering tunnel...
✔ Tunnel registered successfully
🔗 Public URL: https://myapp.tunnel.hcodes.tech-
Run
netcrux -p <port> -
If unauthenticated:
-
CLI prompts with two options:
- 🆕 Sign Up — Create a new NetCrux account
- 🔐 Login — Use your existing credentials
-
-
Once authenticated, a secure tunnel is created automatically.
-
Credentials are stored locally for future sessions.
Run a local Node.js app and expose it instantly:
node app.js
netcrux -p 3000You’ll get a secure public URL like:
https://uecpztgsxx.tunnel.hcodes.tech
| Tier | Description | Features |
|---|---|---|
| Free | Basic tunnel access | Random subdomain, limited uptime |
| Pro | Premium user | Custom subdomain, persistent tunnels |
| Enterprise | Advanced users | Custom domain, analytics, uptime guarantee |
| Command | Description |
|---|---|
netcrux -p <port> |
Expose a local port |
netcrux -p <port> -n <subdomain> |
Expose with custom subdomain |
- Node.js + Commander — CLI Framework
- Socket.IO — Real-time encrypted tunnel communication
- Axios — API interaction and authentication
- Ora & Chalk — Modern CLI animations and color output
- fs-extra & dotenv — Configuration and file management
🔴 Versions prior to 2.0.0 are deprecated. Please upgrade to the latest version for authentication and tiered access support:
npm install -g netcrux-client-cli@latestHimanshu Raj Developer | Backend Engineer | Blockchain Enthusiast
This project is licensed under the MIT License. Feel free to fork, contribute, and improve NetCrux!
For feature requests, bug reports, or issues:
- 🐛 Report bugs on GitHub Issues
- 💡 Feature suggestions are always welcome!
npm star netcrux-client-cli“Develop faster, demo smarter — with NetCrux.”