CloudFlare URL Shortener

avik6028

Avik Kundu

Posted on August 28, 2021

CloudFlare URL Shortener

CloudFlare Worker Script to setup URL Shortener Service


Alt Text
You can optionally add your own aliases. If not, an random string would be assigned.


You need to paste this script in the Index.JS file of your CloudFlare Worker

The Service : https://short-linker.lucifergene.workers.dev/

You can visit the repository from below:

👷 Cloudflare URL Shortener

index.js is the content of the Workers script.

Wrangler

To generate using wrangler

wrangler generate projectname https://github.com/Lucifergene/Cloudflare-URL-Shortener

Further documentation for Wrangler can be found here.





You can reach out on my Twitter, Instagram, or LinkedIn if you need more help. I would be more than happy.

If you have come up to this, do drop an ❤️ if you liked this article.

💖 💪 🙅 🚩
avik6028
Avik Kundu

Posted on August 28, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related