Skip to content

0xroko/url-shortener

Repository files navigation


s.roko.foo - Personal url shortener

About

Features a simple, clean and responsive design. It's a personal url shortener, so it's not meant to be used by others i.e. permanent linking. It was a fun project to learn and experiment with Next.js and Vercel KV.

Redirect are super fast because they are handled by Vercel's edge network.

Stack:

  • Next.js 14 frontend hosted on Vercel
  • Vercel KV for storing URLs
  • Creating/managing links is password protected
  • Server actions for creating/managing links

Host your own

  1. Clone the repository
  2. Install dependencies
  3. Create a .env.local file, add in all the environment variables from .env.example
  4. Optional: Change app name and description here
  5. Run the app and/or deploy it to Vercel