logo

About shrtnr

A very simple public URL shortener service that allows you to create custom short links.

API Usage

The backend API for creating new links is available at /url

Here's a sample curl command to create a new link:

curl -q -LSs -H "Content-Type: application/json" \
  -X POST -d '{"url":"https://github.com/casjay/csj.lol","slug":"github"}' \
  /url

Features

  • Create custom short URLs with optional custom slugs
  • Rate limiting for API protection
  • Console client support (curl, wget, httpie)
  • View all shortened URLs with pagination