Skip to content
/ ll Public template

⚡️ A blazing fast link shortener powered by Next.js and DNS magic!

License

Notifications You must be signed in to change notification settings

rishiosaur/ll

Repository files navigation

LL

lint status format status GitHub GitHub issues GitHub contributors GitHub last commit

A minimal link shortener powered by Next.js and Vercel.

Structure of a route:

{
  url: string
  name: string
  public: boolean
  title?: string
  description?: string
}

url is the end URL that you'd like to redirect to. name is the name of the route that redirects to url. public is a boolean that determines whether or not this redirect shows up in the public directory.

Basic Setup

LL was created to be completely open; it works with any data source that returns an array of objects that conform to the above protocol.

For the most basic setup, you can generate a basic data source by using the ll-basic template. Hit the routes.json file and click "Raw" (the returned JSON implements the above protocol; try parsing it yourself!)

The returned URL will be your API url. Just click the button below, and fill in the appropriate fields.

Deploy with Vercel