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
Site Token: SinkCool
Site-wide Analysis
Link Management
![Link Management](https://static.miantiao.me/share/uQVX7Q/sink.cool_dashboard_links.png)
Individual Link Analysis
![Individual Link Analysis](https://static.miantiao.me/share/WfyCXT/sink.cool_dashboard_link_slug=0.png)
Open Source
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.