hport-tunnel
v1.1.0
Published
Securely expose localhost to the internet via H-Lab Cloud Edge
Maintainers
Readme
🚀 H-PORT Tunnel
H-PORT is a lightweight tunneling tool that securely exposes your localhost to the internet via hcu-lab.me. It uses Cloudflare's edge network to provide instant, secure public URLs for your local development.
✨ Features
- 🛡️ Secure: Built-in protection against token leakage in logs.
- 🔗 Instant URL: Get a
*.hcu-lab.meaddress in seconds. - 🧹 Auto-Cleanup: Automatically releases DNS records when you stop the tool.
- ♻️ Safe Reuse: If a custom subdomain already exists, H-PORT can confirm and overwrite the old DNS mapping for you.
- 🚀 Zero Config: No complex setup required.
💻 Installation
1. Prerequisites
This tool requires cloudflared to be installed on your system.
2. Install via NPM
npm install -g hport-tunnel🚀 Usage
Expose your local port 8080:
hport 8080Expose with a custom subdomain:
hport 3000 -s my-appReuse the same subdomain and auto-confirm overwrite:
hport 9993 -s abc -yExpose a specific local IP and port:
hport 192.168.1.10:5000⚠️ Security Notice
If you are using version 1.0.0, please update to 1.0.1 immediately to ensure your connection tokens are not leaked in terminal error logs.
📄 License
ISC
