Developer builds fully functional URL shortener on Cloudflare's free tier for $4.68/year
A software developer has built a branded URL shortener called flino.link that runs entirely on Cloudflare's free tier, with the only cost being the domain name at $4.68 per year. The system uses a single Cloudflare Worker written in three TypeScript files to handle redirects, a REST API, and an admin dashboard, with no external dependencies or servers. Workers KV handles the read-heavy redirect path, delivering responses in under 10 milliseconds from over 300 global locations, while a Durable Object with embedded SQLite manages click counting without slowing down redirects. Click tracking is handled asynchronously using Cloudflare's waitUntil() method, meaning analytics are recorded after the redirect response is already sent to the visitor. The developer chose a separate domain for the shortener to isolate reputation risks, since URL shorteners are prone to abuse and can end up on blocklists.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in