/rdt-li

rdt.li self hostable, feature rich, minimalistic and open source URL shortener. Built with Next.js, Drizzle, NextAuth and Postgres.

Primary LanguageTypeScriptMIT LicenseMIT

Redirect.link URL Shortener

At 1000 stars will integrate Redis for insane performance. Checkout more amazing projects at @nrjdalal.

Redirect.link self hostable, feature rich, minimalistic and open source URL shortener. Built with Next.js, Drizzle, NextAuth and Postgres.

• No reloads: it's 2023, we hate reloads
• Analytics: All time, daily and unique views
• Bar Charts: Last 7 days views charted
• Editable: Edit titles, URLs and destinations easily
• Filters: Filter by create, views and more
• Search: Search for URLs with syntax highlighting
• Theme: Light (default) and dark mode

Try now or self host it.

Follow Neeraj on Twitter

Features · Self Host · Deploy · Development · Roadmap · Author · Credits


rdt.li dashboard example

rdt.li dashboard example

Features

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.

Frameworks

  • 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

Platforms

  • Vercel – Easily preview & deploy changes with git
  • Neon – The fully managed serverless Postgres with a generous free tier

Self Host

Below are the steps to self host this project or run it locally. If you need any help, feel free to reach out to me on Twitter or Email.

One Click Deploy

Deploy with Vercel

Local Development

Clone & create this repo locally with the following command:

Note: You can use npx or pnpx as well

bunx create-next-app rdt-li --example "https://github.com/nrjdalal/rdt-li"
  1. Copy .env.example to .env.local and update the variables.
cp .env.example .env.local
  1. Install dependencies using bun:
bun install
  1. Start the development server:
bun dev

Roadmap

  • More features and points to be added

Author

Created by @nrjdalal in 2023, released under the MIT license.

Credits

This project is inspired by @shadcn's Taxonomy.

Vercel