Purpose-built for controlled public sharing.

Local Bridge is a focused commercial CLI for turning local folders, build outputs, docs, and files into controlled public shares. One binary, one workflow, and the operational controls most teams otherwise assemble manually.

Cloudflare-Backed Ingress

Local Bridge opens an outbound connection through Cloudflare so a local folder can be reached publicly without uploading the content, opening inbound ports, or changing router rules.

Built-In Access Control

Protect a share with one flag. Local Bridge serves a login screen before any file listing and uses constant-time password comparison with a signed session cookie.

Background Share Management

Keep a public share online after the terminal closes. --bg detaches the process, and localbridge list or localbridge stop manage active background shares.

Per-IP Rate Limits

Reduce brute-force attempts and accidental scraping with --rate-limit 30. The limiter runs per IP before a request reaches the file handler.

Terminal QR Code

When the public URL is ready, Local Bridge renders a QR code directly in the terminal so a phone or tablet can open the share without copying long URLs.

ZIP Downloads

Folder views under 100MB expose a built-in /zip download so recipients can grab the whole share in one step instead of opening files one by one.

.lbignore Path Control

Place a .lbignore file in the shared folder to hide .env, node_modules/, secrets, or any other paths that should never appear in the public listing.

Expiry Timers

Use --expire 30m or --expire 2h for temporary shares. Local Bridge shuts the share down automatically instead of leaving it running indefinitely.

Folder-First Workflow

Local Bridge ships with a native file browser, direct downloads, and a local-only mode. Point it at a directory and it works without an upload step, app server, custom reverse proxy, or deployment workflow.

$ localbridge --password "project-access" ./dist
Sharing ./dist
Public URL ready
URL: https://shared-build.trycloudflare.com
$ localbridge --no-tunnel ./dist
Local-only: http://localhost:8080