GitHub README Generator
Generate professional GitHub README files for your projects with multiple templates and customization options.
Features
- 🎨 Multiple templates (Modern, Minimal, Detailed, API-focused)
- 🌐 Multi-language support
- 📋 Auto-generated badges
- 💼 Project type detection (Library, CLI, Web App, etc.)
- 📊 Auto-generated stats sections
Usage
Basic Generation
# Generate with default template
github-readme-generator "Project Name" "Description"
# Specify template
github-readme-generator "Project Name" "Description" --template modern
# Specify language
github-readme-generator "项目名称" "描述" --lang zh
Available Templates
| Template | Use Case |
|---|---|
modern | Most projects (default) |
minimal | Simple libraries |
detailed | Complex projects with full documentation |
api | API/REST services |
cli | Command-line tools |
Options
--template, -t: Template name--lang, -l: Language (en, zh, ja, es, ko)--badges, -b: Include badge section (default: true)--toc, -c: Include table of contents (default: false)--output, -o: Output file path
Examples
Python Library
github-readme-generator "my-lib" "A powerful Python library" --template modern
CLI Tool
github-readme-generator "super-cli" "Amazing CLI tool" --template cli
Node.js Package
github-readme-generator "my-package" "NPM package description" --template modern
Installation
# No dependencies required
# Uses built-in templates
How It Works
- Detects project type from name/description
- Selects appropriate template
- Generates sections based on project type
- Adds relevant badges
- Outputs ready-to-use README.md
Output Example
The generated README includes:
- Project title and badges
- Description
- Features list
- Installation instructions
- Usage examples
- API reference (if applicable)
- Contributing guidelines
- License
- Contact information