Kutt is an open-source URL shortener with custom domains, link passwords and expiry, private statistics, an admin page and a REST API. It runs on Node.js with SQLite, Postgres or MySQL.
Overview
Kutt is a URL shortener that lets users create, edit, delete and manage short links. Links can have a custom address, a password, a description and an expiration time, and each shortened URL has private statistics. Custom domains are supported, so short links can use your own domain.
It is built with self-hosting in mind. It needs only Node.js, requires no build step and works with little configuration. The default database is SQLite, and Postgres or MySQL/MariaDB can be used instead, with Redis as an optional cache. On first start the app prompts you to create an admin account. Docker Compose files are provided for SQLite, SQLite with Redis, Postgres with Redis and MariaDB with Redis, and an official image is on Docker Hub.
Administrators can disable registration and anonymous link creation, and use an admin page to manage users and links. Login can go through OpenID Connect, and email can be enabled for signup, password reset and reports. All settings are environment variables.
The interface can be customized by adding your own CSS, images and views in a custom folder, and an official Crimson theme is available as an example. A RESTful API covers creating, deleting and listing links. Browser extensions for Chrome and Firefox are available, along with third-party integration packages.
Key features
- Custom domains
- Custom short URLs, passwords, descriptions and expiry
- Private link statistics
- Admin page for users and links
- OpenID Connect login
- SQLite, Postgres and MySQL support
- RESTful API
- Themes and custom views
Use cases
- Run a private link shortener on your own domain
- Share short, trackable links
- Create password-protected or expiring links
- Shorten links programmatically through the API
Does the same job as
Kutt doesn't name these products itself, but its own description shows it does the same job.