shlinkio/shlink
The definitive self-hosted URL shortener observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 96
- Release rhythm 89
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10
- age_days: 3799
- days_rel: 72
- days_push: 27
- n_releases_24m: 28
Adoption not part of the score
5248 stars · 410 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Shlink is a self-hosted, PHP-based URL shortener that serves shortened URLs under your own domains. It provides a REST API, a CLI interface, and visit analytics with features like custom slugs, multi-domain support, dynamic redirects, and bot detection.
Use cases
- self-host a URL shortener on my own domain
- track clicks and visit stats for short links
- create short URLs with custom slugs via an API
- serve multiple short domains from one instance
- redirect visitors based on device or geolocation
- import short URLs from bit.ly or YOURLS
- manage short URLs from the command line
When to choose
- you want full control and ownership of your short URLs and analytics data
- you need an API-first shortener to integrate into other systems
- you need multi-domain support, dynamic redirects, or GDPR-compliant IP anonymization
- you prefer deploying via Docker or a dist file on your own infrastructure
When to avoid
- you want a zero-maintenance hosted service without running a server
- you need a shortener with no PHP 8.4+ runtime or database requirement
- you only need simple link shortening without stats or API access
Facets
application · maturity stable
http-server api-framework cli analytics routing web-development self-hosted analytics apis developer-tools self-hosted cli php url-shortener rest-api link-tracking multi-domain gdpr-compliant visit-stats docker-image mezzio web-server docker linux
7 sources
- readme: https://github.com/shlinkio/shlink · fetched 2026-08-28 · 65550e21a0e5
- homepage: https://shlink.io · fetched 2026-08-29 · cc6190c084a0
- site_page: https://shlink.io/features · fetched 2026-08-29 · 6169ec23202b
- site_page: https://shlink.io/documentation · fetched 2026-08-29 · 2590909f16bc
- site_page: https://shlink.io/documentation/shlink-web-client · fetched 2026-08-29 · 007803cbad5e
- site_page: https://shlink.io/documentation/api-docs · fetched 2026-08-29 · 51ab7f4be31b
- site_page: https://shlink.io/documentation/command-line-interface/entry-point · fetched 2026-08-29 · d4202bb1609d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shlinkio/shlink | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem