The AI README Generator is a user-friendly web tool that helps developers create professional README files for their GitHub projects. Built with Streamlit and powered by Google's Gemini AI, it lets you input project details and instantly generates a polished Markdown README with sections like installation, usage, and contributing. The tool features an intuitive interface, supports code blocks and badges, and allows you to download the README as a .md file, saving time and ensuring high-quality documentation. Say goodbye to tedious README writing and hello to AI-powered efficiency! This tool generates polished Markdown files complete with essential sections, code blocks, badges, and a modern layout, saving you valuable time and effort.
- Generates professional Markdown README files.
- Smart content generation using Google's Gemini AI for tailored results.
- Streamlined web interface built with Streamlit for ease of use.
- Includes pre-formatted sections (Installation, Usage, etc.).
- Automatically inserts code blocks, badges, and a modern layout.
- Allows direct download of the generated README as a
.md
file.
-
Clone the repository:
git clone https://github.com/waheed444/AI_Readme_Generator.git
-
Create a virtual environment (recommended):
python3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install required packages:
pip install -r requirements.txt
-
Obtain a Google Gemini API Key and create a
.env
file: ReplaceYOUR_API_KEY
with your actual key.GOOGLE_API_KEY=YOUR_API_KEY
-
Run the app:
streamlit run app.py
- Open the web interface in your browser (usually at
http://localhost:8501
). - Enter your project's details:
- Project Name
- Project Description
- (Optional) Additional sections or content you'd like included.
- Click the "Generate README" button.
- Download the generated README.md file.
Example Input:
Project Name: My Awesome Project
Project Description: This project does amazing things! It uses Python and integrates with a cloud database. The core functionality is implemented using a sophisticated algorithm.
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions! Here's how you can contribute:
- Fork the repository.
- Create a new branch (
git checkout -b my-new-feature
). - Make your changes and commit them (
git commit -m "Add some feature"
). - Push your changes to your branch (
git push origin my-new-feature
). - Submit a pull request. Please follow PEP 8 coding style guidelines and ensure your code is well-documented
If you find any issues or want to improve this project, feel free to open a GitHub issue or submit a pull request.
This repo is only for learning and exploring new things, feel free to fork it, explore, or give suggestions!
Star ⭐ the repo if it helps you!