A simple URL shortener using Next.js, Tailwind CSS, and Redis.
- 🔗 Input a URL and get a shortened URL
- 🙋♀️ Use a "human-readable" slug for the shortened URL
- 🔁 Redirect to the original URL using the shortened URL
- 📱 Generate a QR code for the URL
You can try it online at https://short-ener.vercel.app
- Clone the repository
- Install dependencies (
npm install
oryarn install
orpnpm install
) - Setup a Vercel KV storage and download the
.env
file - Set the
VERCEL_URL
and KV_NAMESPACE_ID in the.env
file (https://localhost:3000
for local development) - Start the development server (
npm run dev
oryarn dev
orpnpm dev
)