LinkHub is a Linktree clone built with Next.js, Tailwind CSS, and MongoDB. It lets users create personalized link pages by submitting a username and up to 8 URLs through a simple, clean interface. Users can then generate, view, and share their unique LinkHub page with customizable themes and pointer styles.


- User-friendly form to input a username and up to 8 links
- Generates a unique LinkHub page per username
- Customizable themes and pointer styles for personalization
- Responsive design powered by Tailwind CSS
- Data securely stored in MongoDB
- Deployed on Vercel for fast, reliable hosting
- Next.js — React framework for server-side rendering and routing
- Tailwind CSS — Utility-first CSS framework for styling
- MongoDB — NoSQL database for user data storage
- Vercel — Hosting and deployment platform
- Go to the LinkHub homepage
- Fill out the form with your desired username and up to 8 URLs
- Click Generate to create your personalized link page
- Share your unique LinkHub URL with others
/app
├─ /about/page.js # Static About page
├─ /generate/
│ ├─ page.js # Link generation form page
│ └─ generateclient.js # Client-side form component inside generate
├─ /privacy/page.js # Privacy policy page
├─ /[username]/page.js # Dynamic user link page by username
/components
├─ Navbar.js # Navigation bar component
├─ Footer.js # Footer component
├─ FooterController.js # Logic/controller for Footer
├─ Animation.js # Animation components or utilities
/public
├─ /assets # Static assets like images, icons, etc.
├─ /other-folders # Additional public files and folders
-
Clone the repository
git clone https://github.com/CodzHorizon/linkhub.git
-
Install dependencies
npm install
-
Create a .env.local file and add your MongoDB connection string:
MONGODB_URI=your_mongodb_connection_string NEXT_PUBLIC_HOST=http://localhost:3000
-
Run the development server
npm run dev
5.Open http://localhost:3000 to view the app
- GitHub: CodzHorizon
- Email: kshitizsh.8@example.com
This project is licensed under the MIT License. See the LICENSE file for details.
© 2025 CodzHorizon. All rights reserved.