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.
- 🤖 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
- Python 3.8+
- Git
- OpenRouter API key (Get your free key)
- Clone the repository:
git clone https://github.com/Pranesh-2005/Free-Readme-and-License-Generator.git
cd Free-Readme-and-License-Generator- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
# Create .env file
echo "KEY=YOUR_OPENROUTER_API_KEY" > .env- Install frontend dependencies (optional):
cd front
npm install- Start the Gradio interface:
python app.py-
Open your browser and navigate to the local URL (typically http://localhost:7860)
-
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.)
-
Click "Generate" to create your README and LICENSE files
python app.py
# Visit http://localhost:7860We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow PEP 8 style guidelines
- Add tests for new features
- Update documentation as needed
- Use descriptive commit messages
This project is licensed under the MIT License - see the LICENSE file for details.
This project is licensed under the MIT License.
🔗 GitHub Repo: https://github.com/Pranesh-2005/Free-Readme-and-License-Generator