专为现代团队设计的开源、下一代、可扩展的 URL 缩短器。
lua.sh is a next-generation, scalable, and open-source URL shortener built with the modern stack of Laravel, Vue 3, and Inertia.js. Designed to be fast, flexible, and developer-friendly, lua.sh empowers you to create and manage your own professional URL shortening service with ease.
Whether you're an individual looking for branded, trackable links or a business aiming to scale with advanced analytics and custom domains, lua.sh is your perfect solution. It’s lightweight, fully customizable, and ready to grow with your needs.
Dark Mode is also available
composer install
npm install
cp .env.example .env
php artisan key:generate
# OAuth signing keys for the API and the MCP server. These are gitignored,
# so every environment generates its own — without them the api guard
# rejects every token.
php artisan passport:keys
php artisan migrate --seed
npm run devThe seeders create the plans and the Passport personal access client that
API keys are issued from. Both are idempotent, so php artisan db:seed is
safe to re-run on deploy.
Each of these stays off until its credentials are set, so a self-hosted install only shows what it can actually use:
| Environment variables | |
|---|---|
| Google sign-in | GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET |
| GitHub sign-in | GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET |
| PostHog analytics | POSTHOG_ENABLED=true, POSTHOG_API_KEY |
The app ships an MCP server at /mcp, authenticated with OAuth. Connect an
assistant from Settings → Authentication, where the server URL and the
current connections are listed. A connection can only act on the workspace
it was authorised from.
lua.sh provide you access to an array of sleek and memorable domains for your shortened URLs:
For self-hosting or local development, please check the Self Hosting or Local Development guides.
Paulo Castellano
Victor Gazotti
Muhammad Saim
Ibon Azkoitia
Add your contributionsA big thanks to our sponsors and partners who make Lua possible. If you're interested in sponsoring Lua and supporting the project, please check out our profile on GitHub sponsors ❤️
暂无开放 Issues,或尚未同步最近议题。