AI-Powered Documentation Generator using Ollama Local AI
Transform any GitHub repository into professional, comprehensive README documentation with:
- 🏗️ Detailed architecture diagrams (Mermaid)
- 📂 Complete folder structure analysis
- 🌿 Multi-branch support and comparison
- 💻 Installation and usage instructions
- 🤝 Contribution guidelines
- 🚀 Future roadmap suggestions
- Backend: Python, FastAPI, LangChain
- AI: Ollama (Local AI) with llama3.2 or qwen2.5-coder
- Frontend: Vanilla HTML, CSS, JavaScript
- Libraries: GitPython, marked.js, mermaid.js, highlight.js
✨ Automated Documentation Generation
- Analyzes repository structure and code
- Generates professional README with architecture diagrams
- Supports multi-branch analysis (up to 10 branches)
- No API costs - runs completely locally
🎨 Modern UI
- Clean, dark-mode interface
- Real-time loading status
- Beautiful markdown rendering
- Interactive mermaid diagrams
- Syntax-highlighted code blocks
- Python 3.8+
- Git
- Ollama (Download)
-
Install Ollama and pull a model:
ollama pull llama3.2
-
Clone this repository:
git clone https://github.com/Atharva-Gadi/Github-README-generator.git cd Github-README-generator -
Install dependencies:
pip install -r requirements.txt
-
Run the server:
python main.py
-
Open in browser:
http://localhost:8000
- Paste a GitHub repository URL
- Click "Generate Documentation"
- Wait for AI analysis (30-60 seconds)
- View, copy, or download the generated README!
Built by Atharva Gadi
Powered by Ollama Local AI 🤖