CoolFace
Apppublic

abhishekai00/source-code-analyzer

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
App README

End-to-end Source Code Analysis — Generative AI

An AI-powered chatbot that lets you ask questions about any public GitHub repository.

How it works

  1. 1.Paste a GitHub repo URL → the code is cloned and indexed into ChromaDB
  2. 2.Ask questions in the chat → relevant code chunks are retrieved and sent to GPT for an answer

Tech Stack

  • Python · Flask · LangChain · OpenAI GPT · ChromaDB · GitPython

Run locally

bash
# 1. Clone and install
pip install -r requirements.txt

# 2. Add your OpenAI key
echo "OPENAI_API_KEY=sk-..." > .env

# 3. Start the server
python app.py
# Open http://localhost:8080