OpenShortPath_

The no-nonsense, open-source link shortener for developers.

Shorten links via CLI, API, or Web.
MIT Licensed. Self-hostable. Bloat-free.

API Usage
bash
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.

Hosted Domains

Choose your preferred short domain. More domains will be added to the hosted version soon.

  • lcd.shAvailable
  • mix.lolAvailable

Open Source

Check the code, fork it, or host it yourself. We believe in transparent infrastructure. Released under MIT License.

Core Capabilities

301 Redirects

Standard, simple HTTP 301 Permanent redirects. Optimized for speed and ensures zero SEO penalty for your links.

Namespaces

Organize paths with custom namespaces. Support for domain.com/<namespace>/<slug> patterns for team isolation.

Visit Webhooks

Event-driven architecture. Configure webhooks to trigger external automation or analytics whenever a link is visited.

Custom Slugs

Don't like random strings? Specify your own custom aliases (e.g., /launch-day) to make your links memorable and on-brand.

Easy Self-Hosting

Deployment shouldn't be a headache. OpenShortPath is compiled to a single Go binary.

  • SQLite by default.
    No external dependencies. Just run the binary and it works.
  • Docker Support.
    Official images available. Zero config required to get started.
  • In-memory cache.
    Built-in high performance caching without needing Redis.
  • Scale when ready.
    Need to scale? Simply configure Postgres and Redis in config.yaml.
Terminal~
# 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!

Hosted Usage & Limits

We charge for API access to prevent abuse and keep the service fast for everyone.

Hobbyist

$0/mo
  • 1,000 links / month
  • Web Interface
  • 1 Namespace
  • Limited API/CLI Access (5 per hour)
  • No Webhooks

Pro

$5/mo
  • 10,000 links / month
  • Full API & CLI Access
  • 10 Namespaces
  • Webhooks & Events
  • Priority Support

Verified Access

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.

  • Lifetime API Access
  • No 5 per hour rate limit
  • No recurring fees
$10 one-time
Building a SaaS?Need higher limits for platform integration? We offer custom volume pricing.
Contact Sales