Sink

⚡ A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely on Cloudflare.

What is Sink?

⚡ A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely on Cloudflare.

Overview of Sink

What it is

Sink is a simple, speedy, secure, and serverless link shortener with analytics, running entirely on Cloudflare. It is designed for individuals and small teams who want a self-hosted shortener on Cloudflare. The project is open source under the AGPL-3.0 license.

Key features

  • URL shortening to minimal length.
  • Link analytics with near-real-time statistics, including a live 3D globe and event logs using 10-second analytics polling and client-side replay.
  • Customizable slugs with support for UTM parameters and optional case-sensitive matching.
  • Optional AI assistance using Cloudflare Workers AI to generate slugs and OpenGraph metadata from page content.
  • Link control features including expiration dates, passwords, and unsafe-link warning pages.
  • Smart routing that redirects visitors by device or country.
  • Social preview customization with titles, descriptions, and images.
  • QR code generation for short links.
  • Import/export of links via JSON and export of access analytics via CSV.
  • Full i18n support for the dashboard and redirect pages.

Use cases

Individuals and small teams who need a simple, self-hosted URL shortener with analytics on Cloudflare. It can be used for personal link management, marketing campaign tracking, and sharing links with custom branding and social previews.

Getting started

See the repository README for deployment instructions. The project supports deployment to Cloudflare Workers (recommended) and Cloudflare Pages (deprecated).

License and pricing

License: AGPL-3.0. Pricing: open source (free).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/miantiao-mesink.svg)](https://yunodb.com/tools/miantiao-mesink?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/miantiao-mesink?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/miantiao-mesink.svg" alt="Featured on YunoDB" height="20"></a>