🚀 AI-Powered GitHub Repository Explorer | Understand codebases instantly with AI-driven insights
- 🤖 AI-Powered Analysis: Leverages Google's Gemini AI to provide intelligent insights about repositories
- 📁 Smart File Explorer: Navigate through repository files with ease
- 💬 Interactive Chat: Ask questions about the codebase and get detailed responses
- 🎨 Modern UI: Beautiful dark-mode interface built with TailwindCSS
- 🔄 Real-time Updates: Instant responses and updates as you explore
- 📱 Responsive Design: Works seamlessly on desktop and mobile devices
answergit-demo.mp4
- Clone the repository
git clone https://github.com/TharaneshA/answergit.git
cd answergit
- Install dependencies
pnpm install
# or
npm install
# or
yarn install
# Alternatively, use Docker:
docker build -t answergit .
- Set up environment variables
Create a .env.local
file in the root directory with the following variables:
GEMINI_API_KEY=your_gemini_api_key
GITHUB_TOKEN=your_github_token
The project uses several key dependencies:
- Next.js for the framework
- React for the UI
- TailwindCSS for styling
- Google Generative AI for AI features
- GitHub API for repository interaction
Customize the application by modifying:
tailwind.config.ts
for stylingcomponents.json
for UI component settingsapp/globals.css
for global styles
- Start the development server
pnpm dev
# or
npm run dev
# or
yarn dev
# Alternatively, run with Docker:
docker run -p 3000:3000 answergit
- Open your browser
Navigate to
http://localhost:3000
- Enter a GitHub repository Enter the username and repository name to start exploring
Use the AI assistant to:
- Analyze code structure
- Understand dependencies
- Get code explanations
- Generate test suggestions
- Navigate through repository files
- View file contents
- Get AI-powered insights for specific files
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js
- UI components from shadcn/ui
- AI powered by Google Gemini