Code with Kristian • I make videos and write about software development and programming tools
Redirect anything with lilredirector
In this video, I'll show you how to deploy lilredirector, my open-source redirect engine built for Cloudflare Workers.
After six months of testing different architectures, it's finally ready to deploy on your sites!
I've been working on lilredirector for about seven months, and it's gone through a number of architecture redesigns and improvements. Originally, it was built with Workers KV, Cloudflare Workers' distributed key-value store. It worked great as a proof-of-concept, but it made setup more complicated (you need to know how to set up a Workers KV namespace to even do one redirect), and, like all distributed systems, it had consistency issues. Redirects could take up to a minute to show up on your local Cloudflare edge server (the server closest to you, running your Workers function), and it led to a general sense of redirects feeling finicky.
/:post_id by matching parameters between the two fields.
Find lilredirector on GitHub below: