URL Shortener is a free tool designed to help users easily shorten long URLs. Our goal is to make URL shortening simple, fast, and efficient. Whether you're a marketer, developer, or anyone who needs to share links, URL Shortener can help you create concise, manageable links.
This website is built by Harrison Wang using Cursor and theme originally by Viggo.
- Instant URL Shortening: Quickly generate short links for any long URL.
- Custom Short Links: Create memorable and branded short URLs.
- Analytics: Track the performance of your shortened links.
- Secure and Reliable: Ensure safe redirection and link management.
- Free to Use: No cost associated with creating or managing short links.
Run the following SQL commands in your Supabase project to create the necessary tables:
create table
public.links (
id serial not null,
url text null,
slug text null,
ua text null,
ip text null,
status integer null,
created_at timestamp without time zone null default current_timestamp,
constraint links_pkey primary key (id)
) tablespace pg_default;
create table
public.logs (
id serial not null,
url text null,
slug text null,
referer text null,
ua text null,
ip text null,
created_at timestamp without time zone null default current_timestamp,
constraint logs_pkey primary key (id)
) tablespace pg_default;
Click the button below to deploy to Vercel:
Configure the following environment variables:
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_KEY
git clone https://github.com/harrisonwang/url-shortener.git
mv .env.example .env
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_KEY=
docker compose up -d
Open your browser and visit http://localhost:3000
, you should be able to see the URL short link generator interface.
git clone https://github.com/harrisonwang/url-shortener.git
npm i
mv .env.example .env
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_KEY=
npm run dev