Lua.shOpen-source URL shortener with analytics and custom domains
ShlinkSelf-hosted PHP URL shortener with CLI and REST API
Lua.sh vs Shlink
How Lua.sh and Shlink compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Bitly.
At a glance
- Shlink has more GitHub stars (5.5k vs 344, about 16× as many).
- Shlink was updated more recently (last commit 5 days ago, Lua.sh 2 months ago).
- Lua.sh uses AGPL-3.0 (copyleft); Shlink uses MIT (permissive).
- Both can be self-hosted.
- Shlink is the older project (repository started 2016; Lua.sh in 2024).
Side by side
| Lua.sh | Shlink | |
|---|---|---|
| GitHub stars | ★ 344 | ★ 5,450 |
| Forks | 68 | 457 |
| Last commit | 2 months ago | 5 days ago |
| Latest version | 1.0.5 | v5.1.9 |
| Repository started | October 2024 | April 2016 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | Web, Docker, CLI |
| Main language | PHP | 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.
Lua.sh
Lua.sh is an open-source URL shortener for individuals and teams. It offers custom domains, custom slugs, link expiration and click analytics, and it can be self-hosted or used as a cloud service.
Key features
- URL shortening
- Click analytics with referrers, devices and geolocation
- Custom domains
- Custom slugs
- Link expiration
- Team permissions
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