The no-nonsense, open-source link shortener for developers.
Shorten links via CLI, API, or Web.
MIT Licensed. Self-hostable. Bloat-free.
curl -X POST https://api.lcd.sh/new \
-H "Content-Type: application/json" \
-d '{"url": "https://github.com/openshortpath", "domain": "lcd.sh"}'Without an account, you have a rate limit of 5 per hour per IP, in addition to 1000 links per IP per month.
Choose your preferred short domain. More domains will be added to the hosted version soon.
Check the code, fork it, or host it yourself. We believe in transparent infrastructure. Released under MIT License.
Standard, simple HTTP 301 Permanent redirects. Optimized for speed and ensures zero SEO penalty for your links.
Organize paths with custom namespaces. Support for domain.com/<namespace>/<slug> patterns for team isolation.
Event-driven architecture. Configure webhooks to trigger external automation or analytics whenever a link is visited.
Don't like random strings? Specify your own custom aliases (e.g., /launch-day) to make your links memorable and on-brand.
Deployment shouldn't be a headache. OpenShortPath is compiled to a single Go binary.
# It's really this simple
$ curl -L -o openshortpath https://...
$ ./openshortpath start
# Or use Docker
$ docker run -p 8080:8080 openshortpath/server
[INFO] Starting server on :8080
[INFO] Storage: SQLite (data.db)
[INFO] Cache: In-memory (LRU)
[INFO] Ready to shorten!We charge for API access to prevent abuse and keep the service fast for everyone.
Don't want a subscription? Pay a one-time fee to verify your identity. This unlocks full API/CLI access with the standard 1,000 links/month limit and removes the 5 per hour rate limit.