Skip to content

ChaosCrusader/CFURLShortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare URL Shortener

A minimilistic URL shortener created using Cloudflare Workers and KV.

Preview

Click Me
  • Home Page Home Page

  • Forward Page Forward Page

Cloudflare Setup

Click Me

Creating a Namespace in Cloudflare Workers KV

  1. Go to Cloudflare Workers KV and create a namespace.

    Create a Namespace

Creating a Worker

  1. Create a Worker and paste the content of workers.js.

    Create a Worker

KV Namespace Bindings

  1. Go to Workers Settings.

    Workers Settings

  2. Set the Variable name as LINKS and the KV Namespace to the namespace you created in the first step.

    Set KV Namespace

  3. Save and Deploy your changes.

Credits

License

  • This project is licensed under License: MIT