Business Software · Marketing & Customer Engagement
Lua.sh
Self-hosted short links with click analytics
Lua.sh is an open-source URL shortener for individuals and teams that need branded links, custom domains, QR codes, and click analytics. It is licensed under AGPL-3.0, and the vendor operates a hosted service with a free tier plus paid plans starting at $19 per month.
Key facts
- License
- AGPL-3.0
- Main language
- PHP, JavaScript, Vue, Blade, CSS, HTML
- Maintainer
- Lua.sh community
- First released
- 2024
- Latest release
- Date not published for a clearly identified versioned latest release
- GitHub stars
- 335, October 2026
- Hosted option
- Free tier; paid hosted plans from $19/month
What Lua.sh is
Lua.sh is a Laravel-based URL-shortening service for individuals, developers, and teams that need branded links and click records under their control. The luadotsh/lua repository was created in October 2024 and is maintained by the Lua.sh project. GitHub metadata lists 335 stars, 65 forks, and seven open issues in the reviewed repository result. The README describes a scalable, open-source application, while the hosted site offers five free links without requiring a card. Lua.sh combines a web dashboard with API access and an MCP server. That combination makes it suited to developers automating link creation, analytics access, and domain management alongside ordinary dashboard use.
How it works
A typical workflow begins with a destination URL, a chosen slug, and optional tags, expiry settings, passwords, or custom domains. Lua.sh generates a short link and QR code, then reports clicks by country, region, city, device, browser, referrer, and UTM values. Custom domains use a CNAME and certificate process. The REST API covers link, domain, tag, and analytics operations, while the MCP server allows compatible assistants to create links or inspect performance. The README also describes authentication, authorization, rate limiting, CSRF protection, HTTPS support, responsive design, and link expiration. Teams can therefore manage redirects through the interface or automate the same core tasks through developer-facing endpoints.
Architecture and recent releases
The main application is written in PHP and runs on Laravel, with Vue 3, Inertia.js, and TailwindCSS forming the interface. The repository README identifies MySQL as the relational database, while the self-hosting documentation also mentions PostgreSQL. Deployment is a web application that an operator assembles and maintains, rather than a desktop binary. Repository metadata lists PHP, JavaScript, Vue, Blade, CSS, and HTML. The reviewed repository pages do not identify a versioned latest release or a dated 2025 or 2026 release train. The hosted product adds API tokens, analytics history, QR codes, and domain management through its web and developer interfaces.
License and pricing
Lua.sh is distributed under the GNU Affero General Public License version 3. AGPL-3.0 permits commercial use and modification, subject to its licensing conditions, including source obligations for modified network software. The hosted service is a separate commercial offering. The website advertises five free links without a card, while product information identifies Starter at $19 monthly, Pro at $49, Growth at $149, and Scale at $349. Paid plans increase links, click events, domains, tags, and members. Premium domains are cloud-only, so self-hosters need to bring and configure their own domain. This licensing and pricing split gives organizations a choice between operating the application themselves and using the vendor-managed service, while keeping the principal product capabilities centered on branded redirects and analytics.
Limitations and how it compares
The main limitation is operational responsibility. Operators must assemble deployment, database, certificates, backups, monitoring, upgrades, and redirect infrastructure, and the repository is younger than established shortener projects. YOURLS is a closer open-source choice for a straightforward personal installation, Shlink is suited to API-first deployments, and Dub offers another open-source product-style alternative. Bitly remains easier for organizations seeking a mature hosted workflow and commercial support. Choose Lua.sh when AGPL licensing, Laravel customization, self-hosting, analytics, and a hosted free tier matter more than a long operating history. Teams should also weigh the effort of maintaining reliable redirects and preserving analytics data against the convenience of a managed plan.
Main features
- Short link creation. Create branded short URLs with custom slugs and destination management from the dashboard or API.
- Click analytics. Review clicks by geography, devices, browsers, referrers, UTM campaigns, and historical periods to evaluate audience reach and campaign performance.
- Custom domains. Point a domain with a CNAME and certificate so links use an organization’s own web address.
- QR codes. Generate QR codes for shortened links, helping printed or mobile campaigns connect physical materials with measurable digital visits.
- REST API. Use API tokens to create, update, tag, delete, and analyze links through documented HTTP endpoints.
- MCP server. Let compatible assistants create links, assign tags, and inspect analytics through an MCP interface, reducing repetitive dashboard work.
Self-hosting Lua.sh
Lua.sh is a PHP and Laravel application rather than a single binary. The README describes Laravel, Vue 3, Inertia.js, TailwindCSS, and MySQL, while the self-hosting documentation also mentions PostgreSQL. An operator needs a web server, PHP runtime, database, HTTPS, application secrets, and Laravel build and migration steps. Public pages do not document minimum CPU, memory, Docker images, Helm charts, or managed backups. Self-hosters must plan deployment packaging, database backups, certificate renewal, log retention, monitoring, and upgrade testing. A custom domain is required for branded links because premium domains are cloud-only.
Strengths
- AGPL-3.0 permits inspection, modification, and commercial deployment under its terms.
- The API covers link, domain, tag, and analytics operations.
- Analytics includes geographic, device, referrer, and campaign dimensions.
- The hosted free tier requires no payment card and includes analytics.
Drawbacks
- The repository is younger and smaller than established shortener projects.
- Public documentation does not state minimum hardware or provide a supported appliance image.
- Self-hosters must operate redirects, databases, certificates, backups, and upgrades themselves.
What teams replace with it
Teams usually evaluate Lua.sh when they want to move off Bitly, Rebrandly, Short.io.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is Lua.sh free?
The software is available under AGPL-3.0, so an operator can self-host it without a per-seat license fee. The vendor also offers a hosted Free plan with five links and 100 monthly click events, without requiring a card. Paid cloud plans begin at $19 per month and add capacity for links, events, domains, tags, and team members.
Can businesses use Lua.sh commercially?
Yes. AGPL-3.0 permits commercial use, modification, and distribution subject to its license conditions. A business that modifies and runs the software as a network service must follow the applicable source-sharing and notice requirements. Hosted Lua.sh plans are separate paid services. Organizations should review the license text and hosted-service terms before distributing modifications or operating a commercial service.
What does self-hosting Lua.sh require?
Self-hosting requires a PHP Laravel deployment, a relational database such as MySQL or PostgreSQL, a web server, HTTPS, application configuration, and Laravel build and migration steps. The public documentation does not state minimum hardware or provide a supported Docker or Helm package. Operators must therefore design backups, certificate renewal, monitoring, and upgrade procedures.
How does Lua.sh compare with YOURLS?
YOURLS is an established personal URL-shortener project, while Lua.sh presents a newer Laravel and Vue application with custom domains, analytics, API coverage, QR codes, and an MCP server. Lua.sh also offers a managed service. YOURLS may suit a minimal self-hosting setup; Lua.sh fits teams wanting a modern interface, automation, and hosted deployment options.
Does Lua.sh keep click data private?
Self-hosting keeps redirect and analytics data on infrastructure controlled by the operator, subject to that operator’s logging, backups, and access controls. The hosted service processes link and click data to provide its product. Lua.sh describes HTTPS, CSRF protection, and rate limiting. Operators remain responsible for retention, credentials, access controls, and compliance decisions.
Similar projects to compare
- ShlinkMITShlink is a PHP-based, self-hosted URL shortener for individuals and teams serving links under their own domains. It is released under the MIT license, with REST and command-line interfaces plus an official web client. The project text documents self-hosting and web-client access, but no hosted pricing.
- KuttMITKutt is a self hosted URL shortener for individuals and teams seeking custom domains, link controls, private statistics, user administration, and API access. It runs on Node.js with SQLite, PostgreSQL, MySQL, MariaDB, and optional Redis, uses the MIT License, and supports direct or Docker Compose deployment. Operators manage installations themselves, while Kutt.to offers hosted premium accounts.
- Billion MailAGPL-3.0BillionMail is an AGPL-3.0 mail server, newsletter, and email marketing platform for operators who want to run delivery, contacts, and analytics themselves. The core software is free to download and no hosted SaaS plan is documented. Optional deployment support is listed at $98.9 or $49.9 per instance on its support page.
- Brace.toMITBrace.to is an MIT-licensed bookmark manager for encrypted link storage across web, Android, and iOS. Its client is open source, and a hosted service exists at brace.to. The project uses Stacks-based accounts and lets users choose a data server, while optional features cost about $4.99 per year.
- ChaskiqAGPL-3.0 with Commons Clause; commercial license availableChaskiq is a self-hostable live chat, support, and marketing platform for teams replacing Intercom-style tooling. Its core software combines AGPL-3.0 with Commons Clause terms, while a commercial license is available for proprietary applications. Hosted SaaS and paid installation support are offered.
- ChatwootMIT for Community edition; Enterprise License for enterprise directoryChatwoot is an omnichannel customer-support desk for live chat, email, social channels, voice, help centers, and automation. Its Community edition is MIT licensed, while enterprise functionality has separate licensing. Cloud includes a free Hacker tier, with paid plans starting at $19 per agent monthly. Self-hosted Community is free, with paid support and enterprise plans.
Sources
Last updated 2026-10-22.