LinkStack is a self-hosted, open-source alternative to Linktree that enables users to create personalized, multi-link profile pages to overcome the one-link limitation of social media platforms. Designed for individuals, creators, and small organizations, it solves the problem of fragmented online presence by consolidating all important links—social media, portfolios, stores, and more—into a single, branded landing page.
Built with PHP, Laravel, and Blade, LinkStack supports deployment via direct file upload, Docker, or community-hosted instances. It includes a drag-and-drop admin panel, built-in SMTP for email verification, and theme-based customization without requiring code. The platform prioritizes privacy, avoids third-party data tracking, and offers full data export/import for user autonomy.
What You Get
- Drag-and-Drop Admin Panel - Intuitive interface to add, reorder, and edit links without coding or terminal commands.
- Theme Customization - Apply pre-built or user-created themes via ZIP upload to fully change the visual design of your profile page.
- Built-in SMTP Server - Native email functionality for user registration, password resets, and notifications without external services.
- Real-time Analytics - Track clicks on each link with detailed metrics to understand audience engagement and optimize content.
- Multi-User Support - Allow other users to register and create their own profile pages on your hosted instance, ideal for teams or communities.
- One-Click Automatic Updater - Update your LinkStack instance with a single click, including automatic backup creation before updates.
- Data Export/Import - Fully export your links, settings, and analytics to migrate between instances or self-hosted environments.
- No Database Option - Run LinkStack with SQLite by default, eliminating the need for MySQL or PostgreSQL setup for simple use cases.
- Docker Support - Official Docker image based on Alpine Linux, Apache2, and PHP 8.2 for containerized, portable deployment.
Common Use Cases
- Personal Branding for Creators - A YouTuber or TikTok creator uses LinkStack to host a clean, branded page with links to their videos, merch store, Patreon, and social profiles, replacing Linktree’s limitations.
- Small Business Link Hub - A freelance designer deploys LinkStack on their VPS to offer clients a professional landing page with portfolio, contact form, and payment links—all under their own domain.
- Community Organization Portal - A Discord server admin hosts a LinkStack instance to let members create their own profile pages with links to their art, streams, or blogs, fostering community engagement.
- Privacy-Conscious Users - A journalist or activist self-hosts LinkStack to avoid data tracking by commercial platforms, ensuring their link directory remains private and under their full control.
Under The Hood
Architecture
- Follows Laravel conventions with clear separation of concerns between controllers, services, and models, though middleware and HTTP handlers exhibit tight coupling that limits reusability.
- Modular structure supports extensibility but lacks formal layering and abstraction boundaries, leading to inconsistent dependency management.
Tech Stack
- Backend built on Laravel 9.x with Livewire and Breeze for dynamic UI and authentication, complemented by Tailwind CSS and Alpine.js for lightweight frontend interactivity.
- Database operations leverage Doctrine DBAL with automated migrations and backup systems, while Composer manages a rich ecosystem of packages including OAuth, QR generation, and link preview tools.
- Development is containerized via Laravel Sail, with automated asset compilation and style enforcement through StyleCI and PHP standards.
Code Quality
- Testing is superficial, with test files lacking meaningful assertions and validation, resulting in unverified behavior.
- Code organization suffers from inconsistent naming, absent type hints, and direct request parameter usage, increasing vulnerability to runtime errors.
- Error handling is generic and unstructured, with no custom exceptions or logging, making debugging and monitoring difficult.
- Static analysis and linting are absent, leading to unused imports, untyped model assignments, and inconsistent formatting across the codebase.
What Makes It Unique
- Dynamic link type system allows non-developers to define custom link behaviors through an admin UI without code changes.
- User ID randomization with configurable length generates non-guessable URLs without relying on UUIDs or complex routing logic.
- Theme-aware icon resolution with intelligent fallbacks enables deep theming while preserving UI consistency.
- Client-side dynamic form loading via AJAX provides real-time UI adaptation based on link type selection, eliminating page reloads.
- Centralized authentication middleware unifies social account linking, abstracting provider-specific details from frontend components.
- Built-in trust proxy configuration supports cloud deployments with AWS ELB headers out of the box, reducing infrastructure complexity.