Sink - A short link system based on Cloudflare with visit statistics

I previously shared some websites on Twitter using short links to make it easier to see if people are interested. Among these link shortening systems, Dub provides the best user experience, but it has a fatal flaw: once the monthly clicks exceed 1000, you can no longer view the statistics.

While surfing the internet at home during the Qingming Festival, I discovered that Cloudflare Workers Analytics Engine supports data writing and API data querying. So, I created an MVP version myself, capable of handling statistics for up to 3,000,000 visits per month. Cloudflare’s backend likely uses Clickhouse, so performance shouldn’t be a significant issue.

During the Labor Day holiday, I improved the frontend UI at home and used it for about half a month, finding it satisfactory. I have open-sourced it for everyone to use.

Features

Demo

Sink.Cool

Site Token: SinkCool

Site-wide Analysis

Site-wide Analysis

Link Management Link Management
Individual Link Analysis Individual Link Analysis

Open Source

ccbikai/sink - GitHub

Roadmap (WIP)


Finally, feel free to follow me on Twitter for updates on development progress and to share some web development news.

Gerardo ICS

© 2024 Gerardo Rodriguez

Linkedin GitHub