Minxlink
Multi-tenant URL shortener with geo-routing, A/B testing, and custom domains.
6+
Redirect policies
3
Variant dimensions
4
Independent services
Edge
Cache layer

01 / The problem
Marketing teams need branded short links with real targeting — geo, device, A/B variants — but most shorteners are just a flat slug-to-URL map with no policy layer.
02 / The approach
Moved the policy engine to the edge: the Cloudflare Worker isn't a thin redirect proxy — it resolves geo/device/A-B variants, enforces scheduling, password gates, click limits, and blocked IPs, and renders interstitial or social-preview HTML, all before the request reaches the backend.
03 / The catch
Edge-caching redirect decisions means invalidation has to be exact — a stale cached variant means the wrong audience sees the wrong link until the cache expires or is purged.
Advanced URL shortener with multi-tenancy via Clerk Auth, custom domains, geo-based routing, device-based routing, A/B test splits, and Cloudflare Workers KV for sub-millisecond redirects. FastAPI + PostgreSQL + Redis backend, React + Vite frontend. Designed for marketing teams that need granular click-level attribution.
Highlights
Edge worker owns real runtime policy: scheduling, password gates, click limits, blocked IPs, deep linking, interstitial rendering
Geo, device, and A/B test redirect variants per link
Social-crawler-aware previews — links unfurl correctly on Slack, Twitter, and friends
Multi-tenant via Clerk, with custom domains per workspace
Gallery