ReadMeGenie is an AI documentation companion for developers who want elegant, complete, and visually engaging README.md files without the hassle.
Just enter your project details β or paste a GitHub repo link β and let the Genie craft a perfect README with badges, visuals, and even direct GitHub publishing.
- π§ AI-Generated READMEs β Uses OpenAI GPT models to create professional, Markdown-formatted documentation.
- π GitHub Auto-Analyzer β Fetches repo details, files, and languages directly from GitHub.
- π·οΈ Badge & Chart Generator β Adds GitHub stars, forks, issues, and language charts using Shields.io and Matplotlib.
- βοΈ Smart Editor Mode β Allows selective AI rewriting of README sections (improve tone, shorten, add emojis, etc.).
- π€ GitHub Commit Agent β Pushes the generated README to your repository with a new branch and commit.
- π§© Modular Multi-Agent Design β Each feature (generation, analysis, badges, editing, commit) runs as an independent agent.
- π Beautiful Streamlit UI β Intuitive sidebar controls, live preview, and markdown download.
User Input / GitHub URL
β
π§ GitHub Analyzer Agent
β
π·οΈ Badge & Chart Agent
β
β¨ Generator Agent (OpenAI)
β
βοΈ Editor Agent (optional)
β
π€ Commit Agent (GitHub API)
β
README.md
git clone https://github.com/ujwalmojidra/readmegenie.git
cd readmegeniepip install -r requirements.txtCreate a .env file in the project root:
OPENAI_API_KEY=your_openai_api_key_here
π‘ When deploying on Streamlit Cloud, add your key to Secrets instead of a
.envfile.
streamlit run app.py- Push this repo to GitHub.
- Create a new app on Streamlit Cloud.
- Set secrets and environment variables under Settings β Secrets.
ReadMeGenie/
βββ app.py # Main Streamlit app (orchestrator)
βββ agents/
β βββ generator.py # README generation logic (OpenAI)
β βββ github_analyzer.py # GitHub API analyzer
β βββ badge_agent.py # Badge and chart generator
β βββ commit_agent.py # GitHub commit handler
β βββ utils.py # Stack detection helpers
βββ assets/
β βββ logo.png # App logo
β βββ style.css # Custom UI styles
βββ prompts/
β βββ styles.yaml # Predefined tone/style templates
βββ requirements.txt
βββ .env (local)
| Agent | Description |
|---|---|
| π§ Generator Agent | Creates full README from title, description, and run instructions using OpenAI. |
| π GitHub Analyzer | Extracts repo info, languages, and content for better context. |
| π·οΈ Badge Agent | Generates live Shields.io badges and Matplotlib language pie charts. |
| βοΈ Editor Agent | Rewrites specific sections of the README on demand. |
| π€ Commit Agent | Pushes the generated README.md to GitHub via API. |
# MyApp π
A Python-based FastAPI application that analyzes DeFi wallet risk on Solana.
...


- Frontend: Streamlit
- Backend: OpenAI GPT-4o-mini
- Data Visualization: Matplotlib
- Version Control: GitHub REST API v3
- Environment: Python 3.10+
streamlit
openai
requests
python-dotenv
matplotlib
PyYAMLPaste your Personal Access Token with repo permissions in the app sidebar and click Commit to GitHub β
ReadMeGenie will create a new branch (readmegenie-update) and push your freshly generated README.
Built by Ujwal Mojidra
Supercharged with OpenAI GPT + Streamlit
This project is licensed under the MIT License β feel free to use, modify, and share.