CloudFlare Worker Script to setup URL Shortener Service
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.
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.