# lua.sh

> lua.sh is a self-hosted, open-source URL shortener that puts links on your own domain with detailed click analytics on every plan. Includes REST API and MCP server.

- **Category:** URL Shortener
- **Licence:** AGPL-3.0
- **Latest version:** 1.0.5
- **Open source:** oss
- **Languages:** PHP, Vue
- **Platforms:** Build from Source
- **Tags:** Analytics, REST API, Mcp Server, Vue3, URL Shortener, Custom domains, Link Management, Laravel, Self Hosted, Link Shortener, Qr codes, Opensource, Urlshortener

## Description

lua.sh is a next-generation URL shortener designed for individuals and teams who want branded, trackable short links on their own domains. It shortens URLs with custom slugs, generates QR codes, supports link expiration and password protection, and organizes links into tagged workspaces. The analytics dashboard shows every click with geographic, device, browser, and referrer data retained indefinitely. The stack is Laravel (PHP) on the backend with PostgreSQL and Redis, and Vue 3 with Inertia.js and TailwindCSS on the frontend. It ships with a REST API that mirrors all UI actions and an MCP server at /mcp for AI assistants, both authenticated via Laravel Passport OAuth. Optional integrations include Google and GitHub social sign-in and PostHog product analytics. The project is licensed AGPL-3.0 and explicitly supports self-hosting with documented installation steps using Composer and npm. Dark mode is available in the UI.

## Links

- [Homepage](https://github.com/luadotsh/lua)
- [Website](https://www.lua.sh)
- [FAQ](https://www.lua.sh/faq)
- [GitHub Repository](https://github.com/luadotsh/lua)
- [Twitter/X](https://x.com/luadotsh)

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