• API v1 for programmatic use
• Ability to add name for links identification
• Ability to change short or redirect links
Redirect.link URL Shortener
Redirect.link is a URL shortener that shortens URL to rdt.li/slug and also tracks number of visits. It is built with Next.js, Drizzle, NextAuth and Postgres.
Features · Deploy · Development · Roadmap · Author · Credits
Built on top of Onset a Next.js starter that comes with step-by-step instructions to understand how everything works, easy for both beginners and experts alike and giving you the confidence to customize it to your needs. Built with Next.js 14, Drizzle (Postgres), NextAuth/Auth.js.
- Next.js – React framework for building performant apps with the best developer experience
- Auth.js – Handle user authentication with ease with providers like Google, Twitter, GitHub, etc.
- Drizzle – Typescript-first ORM for Node.js
- Vercel – Easily preview & deploy changes with git
- Neon – The fully managed serverless Postgres with a generous free tier
Clone & create this repo locally with the following command:
Note: You can use
npx
orpnpx
as well
bunx create-next-app rdt-li --example "https://github.com/nrjdalal/rdt-li"
- Copy
.env.example
to.env.local
and update the variables.
cp .env.example .env.local
- Install dependencies using bun:
bun install
- Start the development server:
bun dev
- Light and dark mode
- More features and points to be added
Created by @nrjdalal in 2023, released under the MIT license.