Skip to content

ASaha-os/RepoRecon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ RepoRecon

Your AI-Powered Senior Architect in Your Pocket

Instant GitHub repository analysis, architectural diagrams, and bug fixes powered by Google Gemini 2.5 Flash-Latest. Free, unlimited, in-depth.

RepoRecon Banner License Status


πŸ“Š Presentation Deck

Check out our Canva presentation to see the full vision and pitch:

Canva Presentation

Judges: Don't miss our beautiful presentation! πŸš€

Dive into our vision, feature highlights, and why RepoRecon is the future of code analysis!


🎯 What is RepoRecon?

RepoRecon is a cutting-edge web application that leverages Google's Gemini AI to perform deep architectural analysis of GitHub repositories. Simply paste a repo URL, and watch as our AI:

  • πŸ“Š Generates comprehensive summaries of your codebase architecture
  • 🎨 Creates beautiful Mermaid diagrams visualizing your project structure
  • πŸ› Detects architectural issues and potential bottlenecks
  • πŸ’‘ Provides actionable recommendations for code improvements
  • ⚑ Processes everything in seconds with zero configuration

Perfect for code reviews, onboarding, architecture planning, and hackathon showcases!


✨ Key Features

πŸ€– AI-Powered Analysis

  • Powered by Google Gemini 2.5 Flash-Latest with 2M token context window
  • Analyzes entire repositories without chunking or loss of understanding
  • Lightning-fast processing on the free tier

πŸ“ˆ Beautiful Visualizations

  • Auto-generated Mermaid.js sequence diagrams for architecture flow
  • Interactive, responsive diagrams that work on all devices
  • Dark mode optimized for developer comfort

πŸ“₯ Export & Share

  • Download analysis as PDF with one click
  • Share findings with your team instantly
  • Professional report formatting

🎨 Modern UI/UX

  • Sleek, dark-themed interface with glassmorphism design
  • Smooth animations and transitions
  • Fully responsive (mobile, tablet, desktop)
  • Light/Dark theme toggle

πŸ› οΈ Tech Stack

Frontend

Technology Purpose Logo
React 18 UI Framework React
TypeScript Type Safety TypeScript
Vite Build Tool Vite
Tailwind CSS Styling Tailwind
Framer Motion Animations Framer
Mermaid.js Diagrams Mermaid
Shadcn/ui Components Shadcn
html2canvas PDF Export html2canvas
jsPDF PDF Generation jsPDF

Backend

Technology Purpose Logo
Django Web Framework Django
Python Language Python
Google Gemini API AI Analysis Google
Requests HTTP Client Requests
CORS Cross-Origin Support CORS

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ (Frontend)
  • Python 3.11+ (Backend)
  • Google Gemini API Key (Get one free)
  • Git

Installation

1. Clone the Repository

git clone https://github.com/ASaha-os/RepoRecon.git
cd RepoRecon

2. Frontend Setup

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

The frontend will be available at http://localhost:5173

3. Backend Setup

cd backend

# Create virtual environment
python -m venv venv

# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Create .env file
cp .env.example .env

# Add your Google Gemini API key to .env
# GEMINI_API_KEY=your_api_key_here

# Run migrations
python manage.py migrate

# Start Django server
python manage.py runserver

The backend will be available at http://localhost:8000


πŸ“– Usage

  1. Open RepoRecon in your browser (http://localhost:5173)
  2. Paste a GitHub repository URL (e.g., https://github.com/username/repo)
  3. Click "Analyze Repo" and watch the magic happen ✨
  4. Review the analysis:
    • πŸ“ Architecture summary
    • 🎨 Visual diagram
    • πŸ› Detected issues
    • πŸ’‘ Recommendations
  5. Download as PDF to share with your team

Example Repositories to Try

  • https://github.com/facebook/react
  • https://github.com/torvalds/linux
  • https://github.com/nodejs/node

πŸ—οΈ Project Structure

RepoRecon/
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ landing/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ HeroSection.tsx
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ FeatureGrid.tsx
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ HowItWorks.tsx
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ AnalysisResults.tsx
β”‚   β”‚   β”‚   β”‚   └── Footer.tsx
β”‚   β”‚   β”‚   └── ui/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ App.tsx
β”‚   β”‚   └── main.tsx
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ vite.config.ts
β”‚   └── tailwind.config.ts
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ core/
β”‚   β”‚   β”œβ”€β”€ views.py
β”‚   β”‚   β”œβ”€β”€ urls.py
β”‚   β”‚   β”œβ”€β”€ gemini_service.py
β”‚   β”‚   └── migrations/
β”‚   β”œβ”€β”€ backend/
β”‚   β”‚   β”œβ”€β”€ settings.py
β”‚   β”‚   β”œβ”€β”€ urls.py
β”‚   β”‚   └── wsgi.py
β”‚   β”œβ”€β”€ manage.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”œβ”€β”€ .env.example
β”‚   └── db.sqlite3
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ .gitignore
└── package.json

πŸ”‘ Environment Variables

Backend (.env)

# Google Gemini API Configuration
GEMINI_API_KEY=your_api_key_here

# Django Settings
DEBUG=True
SECRET_KEY=your_secret_key_here
ALLOWED_HOSTS=localhost,127.0.0.1

# CORS Settings
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000

🎨 Features in Detail

Smart Repository Analysis

  • Fetches README and project structure from GitHub
  • Cleans and optimizes content for AI processing
  • Handles both main and master branch repositories
  • Graceful error handling for private/missing repos

Intelligent Diagram Generation

  • Converts architecture into Mermaid sequence diagrams
  • Handles complex multi-component systems
  • Fallback to raw code if rendering fails
  • Responsive and interactive

Comprehensive Reporting

  • Executive summary of codebase
  • Architectural patterns identified
  • Security and performance issues
  • Best practice recommendations
  • Professional PDF export

🚨 Important Notes

⚠️ AI Limitations: This analysis is generated by AI and may occasionally produce inaccurate or incomplete results. If you encounter unexpected output, please refresh the page or try again after a brief interval.

⚠️ Free Tier: As this service operates on a free tier, intermittent errors or rate limiting may occur during high-traffic periods.


🀝 Contributing

We love contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™Œ Credits

Built with ❀️ by Akash Saha

Powered By


🎯 Hackathon Vibes

RepoRecon was built with the spirit of innovation and the goal of making code analysis accessible to everyone. Whether you're a solo developer, a startup, or an enterprise team, RepoRecon helps you understand your codebase faster and make better architectural decisions.

Built for: Developers who love clean code, beautiful UIs, and AI-powered insights.

Perfect for: Code reviews, onboarding, architecture planning, and impressing your team! πŸš€


πŸ“ž Support

Have questions or found a bug?


Made with πŸ’œ and AI Magic

⭐ If you find RepoRecon helpful, please give it a star!

⬆ back to top