Instead of Bitly

Also good

Self-hosted URL shortener with custom domains, link passwords and expiry times, private statistics, an admin page and a REST API. It supports SQLite, Postgres and MySQL and has OIDC login.

JavaScriptMITActive

PHP URL shortener you host yourself so short links live under your own domain. It runs from an official Docker image and works with MySQL, MariaDB, PostgreSQL, Microsoft SQL or SQLite.

PHPMITActive