/t1ny

Free URL shortener built with Next.js and supabase.

Primary LanguageTypeScriptMIT LicenseMIT

Free URL shortener built with Next.js and tailwindcss.

Features

  1. Create short URL: Create short URL with 7-digit random string.
  2. Share: Share your short URL with others.
  3. Redirect: Redirect to original URL when you access short URL.
  4. Analytics: View analytics of short URL.

Screenshots

Dashboard

dashboard

Links

links

Links detail

links detail

Architecture

architecture

How to run

1. Setup environment variables

cp .env.example .env.local

Then fill the variables in .env.local.

2. Build

docker build -t t1ny:latest .

3. Run

docker run -d --name t1ny -p 3000:3000 --env-file .env.local t1ny:latest