2mylink is a powerful, open-source, and self-hostable alternative to services like Linktree. It allows you to create a personalized and easily customizable page that houses all the important links you want to share. Built with a modern tech stack, it provides a robust platform for creators, influencers, and businesses.
β¨ Live Demo β¨
- π Link Management: Easily create, edit, and organize your links.
- β Dividers: Add dividers to visually structure and group your links.
- π€ User Accounts: Simple registration and account management system.
- π Google Authentication: Allow users to sign up and log in with their Google account for a seamless experience.
- π Admin Dashboard: A comprehensive admin view to manage users, themes, and site settings.
- π¨ Public Profile Customization:
- Theme Selection: Choose from a variety of pre-made themes to style your public page.
- Premium Themes: Offer exclusive, premium themes for subscribers.
- π± QR Code Generation: Instantly generate a QR code that points to your public profile, perfect for offline sharing.
- π§ Theme Management: Admins can create, update, and manage the availability of themes (both free and premium).
- π³ Subscription Management:
- Stripe Integration: Securely handle payments and subscriptions using Stripe.
- Users can subscribe to premium plans to unlock special features like exclusive themes.
- Responsive Design: A fully responsive and mobile-first interface that looks great on any device.
This project is built with a modern and powerful technology stack:
- Backend: Laravel
- Frontend: React with Inertia.js
- Database: Compatible with MySQL, PostgreSQL, etc.
- Payments: Stripe for secure payment and subscription processing.
|
Landing Page |
Public Profile |
|
Dashboard |
Theme Selection |
To get a local copy up and running, follow these simple steps.
Make sure you have the following installed on your system:
- PHP 8.1 or higher
- Composer
- Node.js & NPM
- A database server (e.g., MySQL)
-
Clone the repository
git clone [https://github.com/your-username/2mylink.git](https://github.com/your-username/2mylink.git) cd 2mylink -
Install PHP dependencies
composer install
-
Install NPM dependencies
npm install && npm run build -
Set up your environment file
- Copy the example
.envfile.
cp .env.example .env
- Generate your application key.
php artisan key:generate
- Copy the example
-
Configure your
.envfile- Update the
DB_*variables with your database credentials. - Add your Stripe API keys (
STRIPE_KEY,STRIPE_SECRET). - Add your Google Client ID and Secret for social authentication.
- Set your
APP_URLto your local development URL.
- Update the
-
Run database migrations
php artisan migrate
-
Run the development server
php artisan serve
Your local instance should now be running at
http://127.0.0.1:8000.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please make sure your code follows the project's coding standards and includes tests where applicable.
Distributed under the MIT License. See LICENSE.md for more information.
Angel GΓ³mez - @angel-gmz - [email protected]
Project Link: https://github.com/angel-gmz/2mylink