Modern open-source link shortener built with Next.js & MongoDB.
Custom domains, analytics, and blazing-fast redirects β all in one place.
Relinxr is an open-source platform for working with links β shortening, tracking, and managing them with simplicity and speed.
Itβs built to deliver everything you expect from a modern link shortener like Bitly or TinyURL, but with an open codebase, full transparency, and beautiful UX.
- π Shorten links instantly β create clean short URLs in a single click
- π Track visits β each redirect is logged in MongoDB with IP and user-agent
- βοΈ Open API β built with RESTful endpoints for flexibility and integration
- π Custom domain ready β deploy under your own brand
- π§© Full-stack Next.js 15 app β server actions, App Router, TypeScript, Mongoose
- πͺΆ Beautiful UI β built with TailwindCSS + smooth interactive components
| Category | Technologies |
|---|---|
| Framework | Next.js 15 (App Router, Server Actions) |
| Frontend | React 18, TypeScript, TailwindCSS |
| Backend | Next.js API Routes, Node.js, Mongoose |
| Database | MongoDB Atlas |
| ORM / ODM | Mongoose |
| Deployment | Vercel |
| Env Config | .env.local + Vercel Environment Variables |
Before running locally, create a .env.local file in the project root
npm install
npm run dev
Relinxr is fully optimized for Vercel.
Steps to deploy:
- πͺ£ Push your code to GitHub
- π Connect the repository on vercel.com
- βοΈ Add the MONGO_URI variable in your Environment settings
- π Click Deploy β and you're live!
This project is open-source under the MIT License.
You are free to use, modify, and distribute it.