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

MT - Jul 6 - - Dev Community

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

  • Link shortening
  • Visit statistics
  • Serverless deployment
  • Custom Slug
  • 🪄 AI-generated Slug
  • Link expiration

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)

  • Browser extension
  • Raycast extension
  • Apple Shortcuts
  • Enhanced link management (based on Cloudflare D1)
  • Enhanced analysis (support filtering)
  • Panel performance optimization (support infinite loading)
  • Support for other platforms (maybe)

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

. . . . . . . . . . . . . . . . .
Terabox Video Player