Home

Awesome

Shlink

Build Status Code Coverage Latest Stable Version Docker pulls License

Mastodon Bluesky Paypal donate

A PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own domain.

Table of Contents

Full documentation

This document contains the very basics to get started with Shlink. If you want to learn everything you can do with it, visit the full searchable documentation.

Docker image

You can learn how to use the official docker image by reading the docs.

The idea is that you can just generate a container using the image and provide the custom config via env vars.

Self-hosted

First, make sure the host where you are going to run shlink fulfills these requirements:

Download

In order to run Shlink, you will need a built version of the project. There are two ways to get it.

Configure

Despite how you built the project, you now need to configure it, by following these steps:

Using shlink

Once shlink is installed, there are two main ways to interact with it:

Both the API and CLI allow you to do mostly the same operations, except for API key management, which can be done from the command line interface only.

Contributing

If you are trying to find out how to run the project in development mode or how to provide contributions, read the CONTRIBUTING doc.


This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com