Skip to content
URL Shortener live preview
All projects

URL Shortener

Share a memorable link with click data, not just a redirect.

Long URLs in social posts and QR codes needed shortening, but most shorteners skipped custom aliases or analytics.

Tech Domain · Book Dev|Published|Evidence: Live|Next.js, TypeScript

A public deployment is available to try.

Case Study

Before

Sharing long URLs in social media, presentations, and QR codes was impractical. Existing shorteners lacked custom aliases and click analytics in a lightweight package.

After

Achieved instant redirects with global edge caching. Custom aliases made links memorable, and built-in analytics provided engagement insights without third-party trackers.

How it's solved

Built a fast URL shortener with custom alias support, QR code generation, and click-through analytics. Used edge functions for sub-10ms redirect latency and a key-value store for alias resolution.

Trade-offs

Short links depend on edge key-value storage staying available — there's no fallback redirect if that store has an outage.

Related Articles

Further reading on related topics from the blog

Related Projects

More in Tech Domain · Book Dev

URL Shortener - Chaowalit Greepoke Portfolio