Skip to content

A lightweight, AI‑enhanced generator that creates a polished README.md and a ready‑to‑use LICENSE file for any public GitHub repository. It combines GitHub repo analysis, OpenRouter/OpenAI summarization, and customizable licensing templates into a simple Gradio web UI.

License

Notifications You must be signed in to change notification settings

Pranesh-2005/Free-Readme-and-License-Generator

Repository files navigation

📝 Free-Readme-and-License-Generator

A lightweight, AI-powered solution to instantly generate polished GitHub README.md files and ready-to-use LICENSE files for your repositories. This tool combines repository analysis, OpenRouter/OpenAI summarization, and customizable licensing templates into an intuitive Gradio web interface.

Project Banner
AI Powered
Open Source
Gradio
Python
GitHub


✨ Features

  • 🤖 AI-Enhanced Summarization: Leverages OpenAI via OpenRouter for intelligent repository analysis
  • 📊 GitHub Repository Analysis: Automatically scans and analyzes your repository structure
  • 📝 Customizable README Generation: Creates professional README.md files with your project's details
  • 📜 Ready-to-Use Licenses: Generates MIT, Apache 2.0, GPL, and other popular licenses
  • 🎨 Beautiful UI: Clean and intuitive Gradio web interface for easy use
  • ⚙️ Flexible Configuration: Customize content style and license terms
  • 🌐 Multi-Language Support: Works with repositories in any programming language
  • 📈 Repository Insights: Highlights key project metrics and documentation gaps

🚀 Installation

Prerequisites

Setup Instructions

  1. Clone the repository:
git clone https://github.com/Pranesh-2005/Free-Readme-and-License-Generator.git
cd Free-Readme-and-License-Generator
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
# Create .env file
echo "KEY=YOUR_OPENROUTER_API_KEY" > .env
  1. Install frontend dependencies (optional):
cd front
npm install

🛠️ Usage

Running the Application

  1. Start the Gradio interface:
python app.py
  1. Open your browser and navigate to the local URL (typically http://localhost:7860)

  2. Enter your repository details:

    • Repository URL: Enter your GitHub repository URL
    • Username: Your GitHub username
    • License Type: Select desired license (MIT, Apache 2.0, GPL, etc.)
  3. Click "Generate" to create your README and LICENSE files

Example

python app.py
# Visit http://localhost:7860

🤝 Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Guidelines

  • Follow PEP 8 style guidelines
  • Add tests for new features
  • Update documentation as needed
  • Use descriptive commit messages

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


🌟 Star History

Star History Chart


Give this project a ⭐ if it helped simplify your documentation workflow!

License

This project is licensed under the MIT License.


🔗 GitHub Repo: https://github.com/Pranesh-2005/Free-Readme-and-License-Generator

About

A lightweight, AI‑enhanced generator that creates a polished README.md and a ready‑to‑use LICENSE file for any public GitHub repository. It combines GitHub repo analysis, OpenRouter/OpenAI summarization, and customizable licensing templates into a simple Gradio web UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published