Sink: A Cloudflare-Native URL Shortener with Analytics

Whenever I share links on Twitter, I like using short URLs to see what people actually find interesting. Dub has always had the best user experience for this, but its free tier cuts off analytics once you hit 1,000 monthly clicks.

While browsing the web over the Qingming holiday, I noticed that the Cloudflare Workers Analytics Engine supports both writing event streams and querying them via an API. I whipped up a quick MVP that supports tracking up to 3,000,000 requests per month. Under the hood, Cloudflare uses ClickHouse, so ingest performance is practically a non-issue.

Over the May Day holiday, I polished up the frontend UI. After dogfooding it for a couple of weeks, it felt solid enough to open-source.

Features

Live Demo

Site-Wide Analytics

Site-wide Analysis

Link Management

Individual Link Analysis

Open Source

ccbikai/sink - GitHub

Roadmap (WIP)


Feel free to follow me on Twitter for project updates and web dev notes.

aria

© 2026 Aria

Instagram 𝕏 GitHub