A powerful tool to analyze GitHub repositories using AI. This project helps developers understand codebases better by providing detailed analysis of repository structure and code patterns.
- Repository structure visualization
- Detailed code analysis for each file
- Repository statistics and information
- AI-powered insights using Google's Gemini API
- Clone the repository:
git clone <repository-url>
cd repo-analyzer
- Install dependencies:
npm install
-
Set up your Gemini API key:
- Get your API key from Google AI Studio
- Replace the
GEMINI_API_KEY
constant insrc/components/CodeAnalysis.tsx
-
Start the development server:
npm run dev
- Open http://localhost:8080 in your browser
- Enter a GitHub repository URL in the search box
- Click "Analyze" to fetch repository information
- Explore the repository structure in the file tree
- Click on individual files to get AI-powered analysis
- React + TypeScript
- Vite
- Tailwind CSS
- shadcn/ui
- Google Gemini API
- GitHub API
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.