Skip to content

πŸš€ Git-Genius β€” AI-powered GitHub Repository Analyzer that summarizes commits, visualizes contributors, and lets you chat with any repo using natural language. Built with Next.js, TypeScript, Bun, Gemini, and OpenRouter.

Notifications You must be signed in to change notification settings

rajaXcodes/GitGenius

Repository files navigation

πŸš€ Git-Genius

Your AI-powered GitHub Repository Analyzer


🧩 Problem

Developers and teams often struggle to understand large or unfamiliar GitHub repositories quickly.
Manually checking commits, exploring file changes, or figuring out what’s happening inside a new repo can be:

  • Time-consuming ⏳
  • Hard to understand 🧠
  • Confusing when multiple contributors are involved 🀯

There’s no easy way to ask β€”

β€œWhat did this commit change?”
β€œWho worked most actively on this repo?”
β€œGive me an overview of this repository.”


πŸ’‘ Solution β€” Git-Genius

Git-Genius is an AI-powered platform that helps you analyze any GitHub repository instantly.
It gives you commit insights, summaries, and allows you to chat with the repository using natural language.

πŸ” What it Does

  • 🧠 Analyzes commits β€” generates human-readable summaries of each commit.
  • πŸ’¬ Chat with any repo β€” ask questions like β€œExplain this PR?”, β€œHow does authentication work?”, or β€œShow files related to login flow.”
  • πŸ“Š Commit insights β€” visualize who contributed, when, and what changed the most.
  • πŸͺ„ AI-generated summaries β€” get concise overviews of repos before cloning or contributing.

Perfect for developers, reviewers, and hackathon teams who want to understand codebases faster.


βš™οΈ Key Features

βœ… GitHub Repo Analysis
Just paste any GitHub repo URL β€” Git-Genius fetches commits, authors, and key metrics automatically.

βœ… AI-Generated Commit Summaries
Each commit is summarized using LLMs for quick understanding.

βœ… Chat with Repo
Ask natural language questions about the repository’s content and history.

βœ… Interactive Dashboard
View commits, contributors, and repository activity in a clean UI.

βœ… Seamless GitHub Integration
Works with public GitHub APIs β€” no extra configuration required.


🧠 Example Use Cases

  • 🧩 Developers β€” Quickly grasp unfamiliar codebases before contributing.
  • πŸ’Ό Project managers β€” Track team contributions and project evolution.
  • πŸ§‘β€πŸ« Educators β€” Help students understand open-source repositories.
  • ⚑ Hackathons β€” Analyze project repos and showcase team activity transparently.

πŸ’» Example Workflow

Example:
1️⃣ Paste a GitHub repo link β†’ https://github.com/vercel/next.js
2️⃣ Git-Genius analyzes commits and contributors.
3️⃣ Ask:

"What are the main features of this repo?"
"Who made the most commits last week?"
"Explain the authentication module."

🧰 Tech Stack

Technology Description
Next.js Next.js Framework for building full-stack React apps with API routes
TypeScript TypeScript Strongly typed JavaScript for scalable and maintainable development
Gemini Embeddings Gemini Embeddings Powers intelligent semantic understanding and commit embeddings
Octokit Octokit Official GitHub SDK for fetching repo data and commits
OpenRouter OpenRouter Models Interface for using advanced LLMs (via OpenRouter API)
Bun Bun Ultra-fast JavaScript runtime, bundler, and package manager
Bun AssemblyAi Ultra-fast Generate issues raised in an audio meeting

🧭 Architecture Overview

    User-->Frontend[Next.js + TypeScript (UI)]
    Frontend-->API[Next.js API Routes (Serverless)]
    API-->GitHub[Octokit REST APIs]
    API-->AI[OpenRouter + Gemini Models]
    AI-->Response[Commit Summaries & Repo Insights]

🌟 Why Git-Genius?

βœ… Instant Insights β€” Understand repositories in seconds βœ… AI Chat Interface β€” Talk to your codebase naturally βœ… No Setup Needed β€” Just a GitHub link βœ… Beautiful UI β€” Clean dashboard with interactive analytics βœ… Powered by Bun β€” Blazing fast runtime and package management


πŸ“¦ Installation (Development Mode)

# Clone this repository
git clone https://github.com/yourusername/git-genius.git

# Navigate to the project folder
cd git-genius

# Install dependencies
bun install

# Run the development server
bun run dev

Then open πŸ‘‰ http://localhost:3000 in your browser.


πŸ§ͺ Build & Production

# Create an optimized production build
bun run build

# Start the production server
bun run start

🀝 Contributing

Contributions are welcome! If you’d like to improve Git-Genius, feel free to fork the repo and submit a pull request.


πŸͺͺ License

MIT License Β© 2025 Git-Genius Team


About

πŸš€ Git-Genius β€” AI-powered GitHub Repository Analyzer that summarizes commits, visualizes contributors, and lets you chat with any repo using natural language. Built with Next.js, TypeScript, Bun, Gemini, and OpenRouter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages