Skip to content

LeanURL | Link shortener + QR code generator with analytics made using Next 15 and MongoDB

License

Notifications You must be signed in to change notification settings

Eshan05/LeanURL

Repository files navigation


Project Banner
nextdotjs shadcn reactdotjs tailwindcss typescript apexcharts

LeanURL
Link Shortener + QR Code Generator

Visually stunning link shortener for your personal use. Powerful admin dashboard with tons of features and enhanced performance. Ease of use and scalable.

🍁 Overview

A Link Shortener + QR Code Generator for personal use or use within a small team. Fast, reliable and with a visually appealing UI. Scales and supports tons of extra features like scheduled live links, expiration dates and more easily integrable. Features an admin dashboard with everything you need.

💻 Technolgoies

React JS Next JS Javascript Mongo Tailwind CSS Vercel

🚀 Features

  • 🔗 Shorten any link and generate a corresponding QR code (With tons of customization! See second image). You can also assign a custom alias if needed.
  • 📋 Quickly copy the shortened URL or export the QR code as a PNG file.
  • 🌙 Toggle between themes for a personalized viewing experience (Custom theme too!).
  • 🖥️ Admin dashboard that provides all the necessary operations to manage links, filter links, view detailed information for each, and export all data as a CSV.
  • 🎨 Beautiful UI elements designed using Tailwind CSS and ChadCN, along with icons from Lucide. Mobile isn't left out!
  • 📈 Insightful graphs powered by ApexCharts, showing detailed analytics such as the number of times a shortened URL has been used, as well as recent accesses via timestamps, device, browser and country.
  • 📅 Scheduling feature for setting link live after a certain day and Expiration Date which automatically deletes the link from the database using TTL.
  • 🏗️ Scalable architecture to easily add new features as needed.
  • 🔒 Restrictive access, because who would want someone to come and abuse the service
  • 😓 Restoration capability incase you or your team member accidentally deleted an old URL

🤝 Usage

  1. IN home page simply put in link and fill extra fields if need be and you're good to go
  2. Then in admin dashboard you can perform various operations which you can see in the screenshots below
  3. For the authorization part just simply go to Mongo and manually insert a document with field q and value of the secret code in the same collection as the URLs.

⚙️ Setup

git clone https://github.com/Eshan05/LeanURL
cd LeanURL
npm i
# Look at .env.example
npm run dev

📱 Screenshots

HomeQR HomeBeigeCustomize SearchHome Analytics AnalyticsDark_Search MobileAnalytics_Delete MobileHome AnalyticsDark_Edit AnalyticsDark_Graph AnalyticsDark_Recent AnalyticsDark_Toast AnalyticsDark_QR GraphsDark

📄 Additional Notes

About

LeanURL | Link shortener + QR code generator with analytics made using Next 15 and MongoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published