SinkServerless link shortener with analytics, running entirely on Cloudflare
YOURLSSelf-hosted PHP URL shortener with stats and plugins
Sink vs YOURLS
How Sink and YOURLS compare on popularity, activity, license and platforms: two open-source Marketing & Customer Engagement projects, both alternatives to Bitly.
At a glance
- YOURLS has more GitHub stars (12.3k vs 7.3k).
- YOURLS was updated more recently (last commit 2 days ago, Sink 1 month ago).
- Sink uses AGPL-3.0 (copyleft); YOURLS uses MIT (permissive).
- Both can be self-hosted.
- YOURLS is the older project (repository started 2012; Sink in 2024).
Side by side
| Sink | YOURLS | |
|---|---|---|
| GitHub stars | ★ 7,300 | ★ 12,325 |
| Forks | 5,432 | 2,081 |
| Last commit | 1 month ago | 2 days ago |
| Latest version | v0.3.1 | 1.10.6 |
| Repository started | May 2024 | August 2012 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | – |
| Main language | TypeScript | PHP |
| Alternative to | Bitly | Bitly |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Sink
Link shortener with built-in click analytics that runs on Cloudflare's serverless platform. It targets individuals and small teams who want a simple self-hosted shortener with custom slugs, link controls and a dashboard.
Key features
- URL shortening with custom slugs and UTM parameters
- Click analytics with live 3D globe and event logs
- Link expiration, passwords and unsafe-link warnings
- Redirects by device or country
- AI-generated slugs and OpenGraph metadata
- Custom social previews
YOURLS
YOURLS runs on your server as PHP scripts that create short links on your domain. It offers click analytics, an API, bookmarklets, and a plugin architecture.
Key features
- Short links on your own domain
- Click stats with referrers and geo data
- HTTP API and bookmarklets
- Plugin architecture for extensions
- Historical reporting on link usage