Skip to content

Sink

Serverless link shortener with analytics that runs on Cloudflare, for individuals and

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

68

Health

Active

Overview

Stars

7,297

Last commit

28 days ago

Oct 2026

Repository age

2 years

since May 2024

Latest version

v0.3.1

Sep 2026

Contributors

–

4 active in 90 days

Releases

12

last 12 months

Language

TypeScript

Sink is a link shortener with built-in analytics that runs entirely on Cloudflare. It is built with Nuxt 4 and TypeScript. Links are stored in Cloudflare D1, with Workers KV as a read cache. Analytics use Workers Analytics Engine, and R2 can hold optional JSON snapshots.

You can set custom slugs, UTM parameters, expiry dates, passwords, and unsafe-link warning pages. Visitors can be redirected by device or country. Each link can have its own social preview, and the dashboard generates QR codes. Optional Workers AI can suggest slugs and OpenGraph metadata. Analytics show a live 3D globe and event log, and you can export access data as CSV and move links as JSON.

Sink has an API and a built-in MCP endpoint. Extensions exist for Chrome, Raycast, and Apple Shortcuts, plus an iOS app. Deploy to Cloudflare Workers. It is AGPL-3.0 licensed and aimed at people who would otherwise use Bitly.

Who it's for

Individuals running a personal short domain

It runs on Cloudflare with no server to manage.

Skip if: You do not use Cloudflare and want a Node.js or Docker setup.

Small marketing teams tracking campaign links

UTM support, country and device routing, and CSV export cover basic campaign tracking.

Skip if: You need multi-user roles or a managed service with an SLA.

Developers who want to script link creation

The API and MCP endpoint allow automation.

Skip if: You want a no-code editor with team workflows.

The problem it solves

Commercial link shorteners charge for custom domains and analytics. Sink lets you run your own shortener on Cloudflare and keep the click data in your account.

Strengths

  • Runs fully on Cloudflare Workers with D1, KV, and Analytics Engine
  • Expiry, passwords, and device or country redirects per link
  • JSON import and export of links, CSV export of analytics
  • Built-in API and MCP endpoint, plus browser and iOS clients
  • Dashboard supports multiple languages

Trade-offs

  • Tied to Cloudflare; it does not run on a plain server
  • Aimed at individuals and small teams, not multi-user business use
  • AGPL-3.0 obliges you to share changes if you offer it as a service
  • Cloudflare Pages deployment is deprecated

Self-host Sink

Self-hostable
Yes

In the community

Frequently asked questions

Is Sink free?

The software is free under AGPL-3.0. You pay Cloudflare only for whatever usage your account's plan does not cover.

Can I self-host it?

Yes, on your own Cloudflare account using Workers. That is the recommended deployment.

Can I export my data?

Yes. Links transfer as JSON and access analytics export as CSV.

Does it have an API?

Yes, plus an MCP endpoint at /api/mcp.

Similar tools in Marketing and customer engagement tools

Dub

Marketing and customer engagement tools

Link shortener with click and conversion tracking for marketing and product teams

25k 3.4k 28 days ago Slowing AGPL-3.0

Replaces Bitly

Dub Links

Marketing and customer engagement tools

Open-source link management platform with analytics and custom domains for marketing teams

25k AGPL-3.0

Mautic

Marketing and customer engagement tools

Self-hosted marketing automation for teams that want to own their contact data

11k 3.6k today Thriving GPL-3.0

brightbean-studio

Marketing and customer engagement tools

Self-hosted social media scheduler with approval workflows for agencies and creators

2.7k 597 6 days ago Slowing AGPL-3.0

Replaces Buffer

LimeSurvey

Marketing and customer engagement tools

Self-hosted survey platform with branching logic and 80+ languages for researchers and

3.8k 1.1k today Active GPL-2.0

Replaces SurveyMonkeyQualtrics

Mixpost

Marketing and customer engagement tools

Self-hosted social media scheduler with team workspaces, for brands and agencies

4k 600 8 months ago Dormant MIT