{"repo":"stacksjs/localtunnels","free":true,"listed":false,"github":"https://github.com/stacksjs/localtunnels","clone":"git clone https://github.com/stacksjs/localtunnels.git","description":"🚇 A simple and smart tunneling alternative. Without or with self-hosting.","language":"TypeScript","stars":22,"topics":["localtunnel","expose","ngrok","tunnel","local-development","dev-tool"],"license":"MIT","category":"networking-infra","readme_excerpt":"[![npm version][npm-version-src]][npm-version-href] [![GitHub Actions][github-actions-src]][github-actions-href] localtunnels A zero-config local tunnel that's simple, lightweight, and secure. Features - Simple, lightweight local tunnel - Security built-in, including HTTPS - Binary-safe forwarding (fonts, archives, media & uploads survive byte-for-byte) - Standard proxy headers ( X-Forwarded-For / -Host / -Proto for your local app) - Smart subdomains (APP NAME-aware, memorable random names, auto-collision handling) - Auto DNS resolution (bypasses broken system DNS on macOS .dev TLD) - Built-in devtools & Prometheus metrics (per-tunnel request log, /metrics , /status ) - WireGuard-style VPN mode (private layer-3 mesh, powered by a Zig crypto core) - Self-hostable anywhere, with IaC deploys via ts-cloud (AWS & Hetzner today, more providers as ts-cloud grows) - CLI & Library Install Get Started There are two ways of using this local tunnel: as a library or as a CLI. Library Given the npm package is installed: Or use the TunnelClient class directly: CLI Output: Subdomains localtunnels uses a smart subdomain resolution chain: 1. Explicit flag : --subdomain myapp or subdomain: 'myapp' in code 2. APP NAME env var : automatically slugified (e.g. My Cool App becomes my-cool-app ) 3. Random memorable name : adjective-noun combos like swift-fox , bold-comet , lazy-elk Collision Handling If a subdomain is already in use by another client, localtunnels automatically appends an incrementin","default_branch":null,"files":null,"tree":[],"storefront":"/r/stacksjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stacksjs/localtunnels/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}