4ev.link

A simple, permanent URL shortener built on Cloudflare Workers, D1, and KV.

Features

  • Custom slugs & user accounts.
  • Fast redirects using Cloudflare's edge network.
  • Secure with reCAPTCHA.

Deployment

  1. Clone this repository.
  2. Configure secrets in your Cloudflare dashboard:
    • RECAPCHA_KEY: Your Google reCAPTCHA v2 secret key.
    • Bind a D1 database as D1_EV.
    • Bind a KV namespace as KV_EV.
  3. Deploy with wrangler deploy.
Description
If you want short custom urls, like url shortening to a custom slug
Readme CC0-1.0 1.8 MiB
Languages
HTML 76.9%
JavaScript 23.1%