An AI-powered web application that helps developers learn and troubleshoot Git and GitHub-related issues. Built with Next.js and powered by the Groq AI API, this tool provides instant, accurate responses to your Git-related questions.
- Interactive AI Assistant: Get step-by-step guidance for Git and GitHub operations
- Real-time Responses: Powered by Groq AI for quick and accurate answers
- Modern UI: Built with shadcn/ui components for a clean, responsive interface
- Dark/Light Mode: Supports theme switching for comfortable viewing
- Markdown Support: Renders responses with proper formatting for better readability
- Frontend Framework: Next.js 14
- UI Components: shadcn/ui with Radix UI primitives
- Styling: Tailwind CSS
- AI Integration: Groq AI API
- Language: TypeScript
- Form Handling: React Hook Form with Zod validation
-
Clone the repository
git clone https://github.com/krishn404/gitfriend.git cd gitchat -
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the root directory:GROQ_API_KEY=your_groq_api_key_here
-
Run the development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000to see the application in action.
- Ask "How to create a repo and push it to GitHub?"
- Learn about branching strategies
- Get help with merge conflicts
- Understand Git commands and their usage
- Troubleshoot common Git issues
-
Build the application
npm run build
-
Start production server
npm start
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- 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