- Description
- Installation
- Usage
- Custom subdomain
- Serving local directory
- Password protection
- Web interface
- HTTP logs
- Server
- 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 --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
npm install -g jstunnel
jstunnel-server --help
npx -p jstunnel jstunnel-server [options]
# svtslv/jstunnel or ghcr.io/svtslv/jstunnel
docker run \
-d \
--name jstunnel-server \
--restart unless-stopped \
-p 9000:9000 \
svtslv/jstunnel \
jstunnel-server
cat ./docker-compose.yaml
cat ./kubernetes.yaml
# With SSl (Single or Wildcard)
jstunnel -p 3000 -s tunnel --domain domain.com --api https://tunnel.domain.com
# Without SSL (Net connect)
jstunnel -p 3000 --domain domain.com --remoteTls false --api http://net.domain.com
Your stars on GitHub
MIT