Cloudflare Workers Redirect
I have really been digging the idea of curating content lately. When participating in various social places, it is helpful to have short URLs that I can remember off the top of my head and linked to quickly. I tend to use Netlify for many of my web properties right now, and there is a URL shortener package that can help with this. I've also been interested in trying out cloud for flare workers though, and leading to the idea of curation, I wanted to be more explicit with my short URLs. I thought this would be a good chance to try out the cloud for workers as it is a rather small task to forward the HTTP responses onto a different site.
To make this whole process easier to maintain, I have added a GitHub action to push updates to my worker. I can then add new sites to a config file, PR it to the repo and merge it and it will take care of the rest of that details for me. this is straightforward enough that I could even do this on my phone. URLs are rather en Vogue these days. so I got myself bolder.dev.
https://developers.cloudflare.com/workers/get-started/guide#account-id-and-zone-id https://github.com/cloudflare/wrangler-action https://developers.cloudflare.com/workers/cli-wrangler/install-update https://developers.google.com/apps-script/reference/drive/folder#getFilesByType(String)