Create short links, track clicks by location and referrer, set expiry dates, protect with passwords. Bitly without Bitly having a database of every link your company has ever shared.
Download the binary and run it. Crossroads starts serving immediately with a dashboard at localhost and a REST API for automation. No cloud account, no API keys to provision, no monthly invoice. Your data lives in a SQLite file you can back up, move, or query directly.
Most redirects tools fall into two camps: free products that harvest your data, or enterprise platforms that cost more than the problem they solve. Crossroads exists because neither option makes sense when you just need a reliable URL shortener under your own control.
GET /api/redirects — List all redirects. Supports ?q=keyword for search and ?status=value for filteringPOST /api/redirects — Create a new redirect. Send JSON with at least nameGET /api/redirects/{id} — Fetch one redirect by IDPUT /api/redirects/{id} — Update fields on an existing redirectDELETE /api/redirects/{id} — Remove a redirectGET /api/stats — Returns total count and breakdown by statusGET /api/health — Returns {"status":"ok"} for uptime monitoringThe dashboard opens at /ui and gives you a search bar, status filters, and a create form. Double-click any redirect to edit it inline. Behind the dashboard, every operation maps to a REST endpoint under /api/redirects. Responses are JSON. Authentication is handled at the network level — put Crossroads behind your VPN or reverse proxy, and it serves requests to whoever can reach it.
Self-hosted URL shortener. Self-hosted on your infrastructure. Your data never leaves your server.
curl -fsSL https://stockyard.dev/install.sh | sh -s -- --tool crossroads
PORT=8780 ./crossroads
http://localhost:8780
Single binary. Embedded SQLite. No Docker. No database. No dependencies.
Your license key arrives by email within 5 minutes of checkout. Set it as an environment variable and restart the binary.
export CROSSROADS_LICENSE_KEY=stockyard_xxxxxxxxxxxxxxxxxxxx ./crossroads
No cloud connectivity required. The binary validates the key offline with Ed25519 signatures.