Dub LinksOpen-source link attribution and short-link platform
ShlinkSelf-hosted PHP URL shortener with CLI and REST API
Dub Links vs Shlink
How Dub Links and Shlink compare on popularity, activity, license and platforms: two open-source Marketing & Customer Engagement projects, both alternatives to Bitly.
At a glance
- Dub Links has more GitHub stars (25.3k vs 5.5k, about 5× as many).
- Both are actively maintained (last commits today and 12 days ago).
- Dub Links uses AGPL-3.0 (copyleft); Shlink uses MIT (permissive).
- Both can be self-hosted.
- Shlink is the older project (repository started 2016; Dub Links in 2022).
Side by side
| Dub Links | Shlink | |
|---|---|---|
| GitHub stars | ★ 25,254 | ★ 5,460 +19 in 10 days |
| Forks | 3,421 | 462 |
| Last commit | today | 12 days ago |
| Latest version | – | v5.1.9 |
| Repository started | August 2022 | April 2016 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | – | Web, Docker, CLI |
| Main language | TypeScript | PHP |
| Alternative to | Bitly, Dub | Bitly |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Dub Links
Dub Links is an open-source platform for short links and conversion tracking, built for teams that need link attribution analytics.
Key features
- Short link creation and management
- Click and conversion attribution
- Self-hosting option
- Open-core codebase with AGPL core
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