localtolink
v1.1.0
Published
Expose localhost to the internet with one command
Maintainers
Readme
localtolink
Expose localhost to the internet with one command.
npx localtolink
# → https://k7m2x9p4q1.localtolink.com → localhost:5173The CLI detects a local development server, opens a tunnel, and prints a public HTTPS URL (with an optional terminal QR code). No account is required for the free anonymous tier.
Current version: 1.0.1
Usage
npx localtolink
npx localtolink --port 5173
npx localtolink --json
npx localtolink --no-qr
npx localtolink --server http://localhost:8080| Flag | Description |
|------|-------------|
| --port <n> | Use this local port instead of auto-detection |
| --json | Print a single JSON object (no prompts) |
| --no-qr | Hide terminal QR code for the public URL |
| --server <url> | Control API base URL |
| --no-reconnect | Disable automatic reconnect |
| -h, --help | Show help |
| -V, --version | Print version |
Requires Node.js 22.14 or later.
Documentation
- CLI reference: https://localtolink.com/docs
- Guides (webhooks, OAuth, frameworks): https://localtolink.com/guides
As-built reference for v1.0.1: versions/v1.0/AS-BUILT.md
