ShlinkSelf-hosted PHP URL shortener with CLI and REST API
SinkServerless link shortener with analytics, running entirely on Cloudflare
Shlink vs Sink
How Shlink and Sink compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Bitly.
At a glance
- Sink has more GitHub stars (7.3k vs 5.5k).
- Shlink was updated more recently (last commit 5 days ago, Sink 1 month ago).
- Shlink uses MIT (permissive); Sink uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- Shlink is the older project (repository started 2016; Sink in 2024).
Side by side
| Shlink | Sink | |
|---|---|---|
| GitHub stars | ★ 5,450 | ★ 7,300 |
| Forks | 457 | 5,432 |
| Last commit | 5 days ago | 1 month ago |
| Latest version | v5.1.9 | v0.3.1 |
| Repository started | April 2016 | May 2024 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Web, Docker, CLI | Web |
| Main language | PHP | TypeScript |
| 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.
Shlink
Shlink is a self-hosted URL shortener that serves short links under your own domains. It offers a command line, a REST API and a web client, and collects anonymized visit statistics with geolocation.
Key features
- Custom domains for short URLs
- Generated short codes or custom slugs
- REST API with API keys
- Command line interface
- Progressive web client for multiple instances
- Anonymized visit tracking with geolocation
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