# AI Shortlink

> AI Shortlink is a self-hosted, open-source URL shortener and live QR platform with custom codes, branded QR styles, admin review, Magic Link/OAuth login, and analytics.

- **Category:** URL Shortener
- **Licence:** AGPL-3.0
- **Latest version:** issue-2-saas-verified-20260905
- **Open source:** oss
- **Languages:** Go, JavaScript, CSS
- **Platforms:** Docker Compose, Linux, Render
- **Tags:** Analytics, SQLite, MySQL, Qr Code, Multi User, URL Shortener, Link Management, Docker, Go, Golang, Self Hosted, Github oauth, Magic link, Live Qr, Admin Review, Branded Qr, Dynamic Qr Code, Short Link

## Description

AI Shortlink is a self-hosted platform for managing short links and live QR codes as long-term, controllable entry points. It provides custom short codes with configurable redirect policies (301/302/307/308), schedules, visit limits, and fallback URLs. Live QR entries support multiple QR code pools with rotation strategies (round-robin, weighted random, least-shown). Branded QR codes offer classic, rounded, and dot styles with custom colors and center logos, exportable as SVG, PNG, or WEBP. The system includes multi-user ownership where regular users manage only their own resources while administrators review and approve all entries before they go live. Authentication uses Magic Link (email), GitHub OAuth, trusted-browser one-click login, and recovery keys. Analytics cover 30-day trends, unique IPs, device and browser breakdowns, and QR display/long-press intent. Deployment options include Docker Compose with embedded SQLite, Docker with bundled MariaDB, a native Linux amd64 binary with systemd, and Render. The codebase is a single Go 1.23+ service with embedded frontend assets and no external model dependencies in the current version. Licensed under AGPL-3.0-only.

## Links

- [Homepage](https://github.com/flyfish-dev/shortlink)
- [Website](https://s.flyfish.dev)
- [GitHub Repository](https://github.com/flyfish-dev/shortlink)
- [Deployment Guide](https://github.com/flyfish-dev/shortlink/blob/main/docs/DEPLOYMENT.md)
- [Architecture](https://github.com/flyfish-dev/shortlink/blob/main/docs/ARCHITECTURE.md)
- [User Management](https://github.com/flyfish-dev/shortlink/blob/main/docs/USER_MANAGEMENT.md)

---
Source: https://selfhost.directory/project/shortlink