/url-shortner

Cloudflare worker for URL Shortening

Primary LanguageTypeScript

URL Shortener with Cloudflare Workers and KV Store

This is a simple URL shortener built using Cloudflare Workers and KV Store. It allows you to create short and memorable URLs for your long and complex ones.

Features

  • Shorten long URLs to a shorter and more manageable format.
  • Redirect users to the original URL when they visit the shortened URL.
  • Track the number of clicks and analytics for each shortened URL.

Prerequisites

Before getting started, make sure you have the following:

  • A Cloudflare account
  • A registered domain name
  • Cloudflare Workers enabled for your domain
  • A Cloudflare KV namespace

To build your own URL shortener follow https://blog.logrocket.com/creating-url-shortener-cloudflare-workers/ for a detailed guide.