Short links for your team, without the platform.
bridge turns go.acme.com/standup into that 190-character Meet link.
Log in with GitHub, see who changed what, scrape it with Prometheus.
It's one Go binary and a JSON file, and it depends on exactly one library.
bridge in 23 seconds · sound on 🔊
Everything a link shortener needs. Nothing it doesn't.
No database, no queue, no sidecar. The Go standard library does the heavy lifting; the only third-party module draws QR codes.
Short links per host
Point several hostnames at one bridge; each gets its own links. /standup can mean different things on go.acme.com and go.beta.dev.
GitHub login
Optional OAuth with org or user allowlists and GitHub Enterprise support. Redirects stay public; the portal and API need a session.
Audit log
Every create, update and delete lands in an append-only JSONL file: who did it, their verified emails, when, and the old and new URL.
Prometheus metrics
--metrics exposes redirects, misses, route changes, latency and storage health. A Grafana dashboard ships in the repo.
QR codes
Every link has a QR code at /api/routes/barcode, for slides, posters and conference badges. This is the one dependency.
Boring storage
Routes live in a JSON file, written atomically, so a crash never leaves it half-written. Back it up with cp.
One lookup. One redirect.
bridge keys every link by host and path, so the same binary can serve as many short domains as you point at it.
Run it in one line.
Grab the container image or a release binary for Linux or macOS (amd64 and arm64). Point a hostname at it and open the portal.
| Flag | Env | What it does |
|---|---|---|
--listen-address | LISTEN_ADDRESS | HTTP listen address (default 0.0.0.0:80). |
--storage-dir | Routes go in <storage-dir>.json, the audit log in <storage-dir>.audit.jsonl. | |
--metrics | METRICS_ENABLED | Expose Prometheus metrics at /metrics. |
--metrics-address | METRICS_ADDRESS | Serve /metrics on a separate port instead, off the public listener. |
--github-client-id / -secret | GITHUB_CLIENT_ID / _SECRET | Enable GitHub login for the portal and API. |
--github-allowed-orgs / -users | GITHUB_ALLOWED_ORGS / _USERS | Who may log in. With neither set, any GitHub user can. |
--session-secret | SESSION_SECRET | Signs session cookies, so logins survive restarts. |
--github-url | GITHUB_URL | GitHub Enterprise Server base URL. |