Sink
A link shortener with analytics running entirely on Cloudflare, for individuals and small teams who want to host their own.

Sink shortens links and reports what happened to them, without a server you have to keep alive. Everything runs on Cloudflare's platform, which is both the reason it costs almost nothing to operate and the boundary on where it can be deployed.
The application is built with Nuxt 4, Tailwind CSS and shadcn-vue components. Cloudflare D1 is the authoritative store for links with Workers KV as a write-through read cache, Drizzle ORM sits over the database, Workers Analytics Engine records events, and R2 holds optional JSON snapshots.
The link handling goes well past shortening.
- Link control: expirations, passwords and a warning page for destinations flagged unsafe.
- Smart routing: the same short link redirects visitors differently by device or country.
- Custom slugs: personalized slugs, UTM parameters and optional case-sensitive matching.
- AI assistance: Cloudflare Workers AI can generate a slug and OpenGraph metadata from the target page.
- Analytics: a live 3D globe and event log driven by ten-second polling and client-side replay, exportable as CSV.
Deployment targets Cloudflare Workers, with Pages now deprecated. Browser extensions, Raycast and Apple Shortcuts integrations and an iOS app already exist, and JSON import and export make links portable. The maintainer is clear about scope: businesses wanting multi-user access, a managed service and an SLA are pointed at the commercial product instead.
Stars
7,093Forks
5,178Last commit
22 days agoRepository age
2 yearsLicense
AGPL-3.0Version
0.3.0Repository
miantiao-me/Sink
Auto-fetched from GitHub .
Open source alternatives similar to Sink:
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit