- Description
- Installation
- Usage
- Custom subdomain
- Serving local directory
- Password protection
- Web interface
- HTTP logs
- License
JsTunnel provides unique public URLs allowing you to easily share a web service on your local development machine with the world through a secure tls tunnel.
npm install -g jstunnel
npx jstunnel [options]
Start a webserver on some local port (e.g. 3000) and use the cli to request a tunnel to your local server.
npx jstunnel -p 3000
npx jstunnel -p 5432 -t tcp
npx jstunnel --help
npx jstunnel -p 3000 -s subdomain
npx jstunnel --directory ./
npx jstunnel -p 3000 --auth username:password
npx jstunnel -p 3000 --auth user:pass:+/private
npx jstunnel -p 3000 --auth user:pass:-/public
npx jstunnel -p 3000 --web
npx jstunnel -p 3000 --web false
npx jstunnel -p 3000 --log raw
npx jstunnel -p 3000 --log compact
npx jstunnel -p 3000 --log combined
npx jstunnel -p 3000 --log [type]:200
npx jstunnel -p 3000 --log false
Your stars on GitHub
MIT