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
Features · Self Host · 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
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.
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
- More features and points to be added
Created by @nrjdalal in 2023, released under the MIT license.