JsTunnel - secure tunnels to localhost
Description
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.
Installation
globally via npm
npm install -g jstunnelrunning on-demand:
npx jstunnel [options]Usage
Start a webserver on some local port (e.g. 3000) and use the cli to request a tunnel to your local server.
example: http tunnel
npx jstunnel -p 3000example: print help
npx jstunnel --helpCustom subdomain
example:
npx jstunnel -p 3000 -s subdomainServing local directory
example:
npx jstunnel --directory ./Password protection
example: basic auth
npx jstunnel -p 3000 --auth username:passwordexample: include path
npx jstunnel -p 3000 --auth user:pass:+/privateexample: exclude path
npx jstunnel -p 3000 --auth user:pass:-/publicWeb interface
example: enable
npx jstunnel -p 3000 --webexample: disable
npx jstunnel -p 3000 --web falseHTTP logs
example: raw
npx jstunnel -p 3000 --log rawexample: compact
npx jstunnel -p 3000 --log compactexample: combined
npx jstunnel -p 3000 --log combinedexample: body limiter
npx jstunnel -p 3000 --log [type]:200example: disable
npx jstunnel -p 3000 --log false