A modern, responsive GitHub UI clone built with Next.js 15, React, Tailwind CSS 3, and shadcn/ui components. This project aims to recreate the GitHub interface with a focus on clean code and component-based architecture.
Check out the live demo deployed on Vercel: GitHub Clone
- Framework: Next.js 15 (App Router)
- Styling: Tailwind CSS 3
- UI Components: shadcn/ui (Headless UI components)
- Deployment: Vercel
- Node.js (v16 or later)
- pnpm (v7 or later) or npm (v8 or later)
- Clone the repository:
git clone https://github.com/yourusername/github-clone.git
cd github-clone
- Install dependencies:
Using pnpm (recommended):
pnpm install
Or using npm:
npm install
- Start the development server:
Using pnpm:
pnpm dev
Or using npm:
npm run dev
- Open http://localhost:3000 in your browser to see the application.
├── app/ # Next.js app directory
├── components/ # React components
│ ├── header.tsx # Header component
│ ├── pull-requests/ # Pull requests components
│ └── ... # Other components
├── public/ # Static assets
└── ...
This project was built using the following process:
-
Design Inspiration: Components were designed based on the free GitHub UI Kit available on Figma.
-
Component Generation: Initial components were generated using v0.dev, an AI-powered component generator. lovable.com, bolt.new and others could also be worth trying!
-
Code Refinement: Components were then refined and optimized using Cursor, an AI-powered code editor, to ensure clean, maintainable code. Windsurf and others could also be worth trying!
-
Component Architecture: The codebase was structured into modular, reusable components following React best practices.
Contributions are welcome and encouraged! Here's how you can contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Please ensure your code follows the project's style guidelines and includes appropriate tests.
- Add authentication
- Implement repository view
- Add issues page
- Create profile page
- Add dark/light theme toggle
This project is licensed under the MIT License - see below for details:
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- GitHub UI Kit for design inspiration
- v0.dev for initial component generation
- Cursor for AI-powered code editing
- Vercel for hosting the application