qmetrics.net

Shlink

Self-hosted PHP URL shortener with CLI and REST API

Shlink screenshot

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.

Overview

Shlink is a PHP-based URL shortener that you run yourself, so short links are served under your own domains. You can let it generate a unique short code or provide a custom, human-friendly slug for each long URL.

It can be used through a command line tool or a REST API. Both cover mostly the same operations, except that API key management is available only from the command line. A progressive web client is also provided, which can be used directly or hosted yourself, and it can manage several Shlink instances.

Each click on a short URL is recorded as anonymized visit statistics, and the visitor is geolocated. Short URLs can be shared on social networks, by email or in marketing campaigns, and the visit data can then be reviewed.

For deployment, you can download a pre-bundled dist file and run it on a PHP host, or use the official Docker image configured through environment variables. It supports MySQL, MariaDB, PostgreSQL, Microsoft SQL Server and SQLite as databases. It can also integrate with RabbitMQ.

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
  • Official Docker image
  • Multiple database backends

Use cases

  • Serving branded short links under your own domain
  • Tracking clicks on marketing campaign links
  • Sharing short URLs on social networks or email
  • Integrating link shortening into other apps via API

Does the same job as

Shlink doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Shlink

Similar software

OpenSEO

Usage-based SEO platform with AI agent MCP integration

OpenSEO covers keyword research, rank tracking, backlinks, site audits, competitor views, and AI visibility using DataForSEO data. It offers a hosted tier or self-hosted Docker and Cloudflare deployments with your own API key.

★ 29.1k⟳ 4 days agoMIT
Open Source Alternative to:AhrefsSemrush

Sink

Serverless link shortener with analytics, running entirely on Cloudflare

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.

★ 7.3k⟳ 1 month agoAGPL-3.0
Open Source Alternative to:Bitly

Countly

Privacy-first product analytics and customer engagement platform

Countly collects and analyzes product data from mobile, web, desktop, and connected apps. Organizations can run it on their own infrastructure for analytics, engagement, and compliance.

★ 5.9k⟳ todayAGPL-3.0 · open core
Open Source Alternative to:AmplitudeGainsight PX+4

Usertour

Open-source in-app user onboarding platform with tours, checklists and surveys

Usertour is an open-source platform for building in-app product tours, checklists, launchers, banners and surveys. It runs as a hosted cloud service or self-hosted with Docker, and includes a built-in MCP server for AI-assisted authoring.

★ 2.3k⟳ yesterdayMIT · open core
Open Source Alternative to:AppcuesUserflow+1

Python SEO Analyzer

SEO and AI-search site crawler with technical checks

Python SEO Analyzer crawls sites, audits structure and content, and optionally runs LLM-based optimization review from the CLI or API.

★ 1.5k⟳ 6 days agoBSD-2-Clause

RankMeFast

Self-hosted SEO platform with plain-language audits

RankMeFast bundles site audits, rank tracking, keyword research, backlinks, Google integrations, AI visibility, and reporting in a Docker stack that uses your own vendor API keys.

★ 1k⟳ 1 month agoAGPL-3.0
Open Source Alternative to:AhrefsOtterly.AI+1