AI-powered README generator for any codebase
Project description
📝 ReadmeGen
AI-powered README generator for any codebase — scan your project, get a polished README in seconds.
Stop spending hours writing documentation. ReadmeGen scans your codebase — detecting languages, frameworks, dependencies, and project structure — then uses AI to generate a comprehensive, professional README tailored to your project.
✨ Features
- Smart Project Scanning — Automatically detects 30+ languages, 40+ frameworks, dependencies, entry points, CI/CD, Docker, and more
- Multiple AI Providers — Works with OpenAI (GPT-4o) and Anthropic (Claude) — bring your own API key
- Configurable Output — Markdown or reStructuredText, three writing styles, toggleable sections
- Badges — Auto-generates relevant shields.io badges
- Table of Contents — Optional auto-generated TOC
- API Documentation — Extracts and documents public APIs
- Contributing Guide — Generates a contributing section based on your project setup
- Config File Support — Drop a
.readmegen.ymlin your project for persistent settings - Dry Run Mode — Preview the generated README before writing to disk
🚀 Quick Start
Installation
pip install readmegen
Usage
# Set your API key
export OPENAI_API_KEY="sk-..."
# or
export ANTHROPIC_API_KEY="sk-ant-..."
# Generate README for current directory
readmegen .
# Generate for a specific project
readmegen /path/to/your/project
# Preview without writing
readmegen . --dry-run
# Use Anthropic Claude
readmegen . --provider anthropic
# Minimal style, no badges
readmegen . --style minimal --no-badges
# Output as reStructuredText
readmegen . --format rst --output README.rst
⚙️ Configuration
Create a .readmegen.yml in your project root:
# AI Provider: "openai" or "anthropic"
provider: openai
# Writing style: "professional", "casual", or "minimal"
style: professional
# Output settings
output: README.md
format: md
# Sections to include
badges: true
toc: true
api_docs: true
contributing: true
license: true
CLI flags override config file settings.
🎯 CLI Options
| Option | Description | Default |
|---|---|---|
--provider, -p |
AI provider (openai / anthropic) |
Auto-detect |
--model, -m |
Model name | gpt-4o / claude-sonnet-4-20250514 |
--output, -o |
Output filename | README.md |
--format, -f |
Output format (md / rst) |
md |
--style |
Writing style (professional / casual / minimal) |
professional |
--badges / --no-badges |
Include badges | true |
--toc / --no-toc |
Table of contents | true |
--api-docs / --no-api-docs |
API documentation | true |
--contributing / --no-contributing |
Contributing section | true |
--dry-run |
Preview without writing | false |
🔍 What It Detects
ReadmeGen scans your project and extracts:
- Languages — Python, JavaScript, TypeScript, Go, Rust, Java, C++, and 25+ more
- Frameworks — Django, Flask, FastAPI, React, Next.js, Vue, Express, and 30+ more
- Dependencies — From requirements.txt, package.json, pyproject.toml, Cargo.toml, go.mod
- Project Structure — Entry points, test directories, CI/CD configs
- Infrastructure — Docker, Kubernetes, Helm, Terraform, Serverless
- License — MIT, Apache, GPL, BSD auto-detection
📋 Requirements
- Python 3.9+
- An OpenAI or Anthropic API key
🤝 Contributing
Contributions are welcome! Please open an issue or submit a pull request.
📄 License
MIT License — see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file readmegen_ai-1.0.0.tar.gz.
File metadata
- Download URL: readmegen_ai-1.0.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a223f9951822822a3b75f4c20479c444252ee5c2b77be975f4c42feeb666da7
|
|
| MD5 |
e70961b62f7e2e40b08c35d5efd24726
|
|
| BLAKE2b-256 |
89022795af816a05e545ceb3aef0d718d5a72588360339cc6e1e9b1c4f6f8294
|
Provenance
The following attestation bundles were made for readmegen_ai-1.0.0.tar.gz:
Publisher:
publish.yml on cspnanda007/readmegen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
readmegen_ai-1.0.0.tar.gz -
Subject digest:
5a223f9951822822a3b75f4c20479c444252ee5c2b77be975f4c42feeb666da7 - Sigstore transparency entry: 1250117904
- Sigstore integration time:
-
Permalink:
cspnanda007/readmegen@34ea832a2a7c43c9108b2fdb365dc4bd29e4f261 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/cspnanda007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@34ea832a2a7c43c9108b2fdb365dc4bd29e4f261 -
Trigger Event:
release
-
Statement type:
File details
Details for the file readmegen_ai-1.0.0-py3-none-any.whl.
File metadata
- Download URL: readmegen_ai-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ad6636f6ea1919ce023ce9819c7f37f048fa6e9368661016174ff14aab684b
|
|
| MD5 |
e4e7cea24c72da368411745d83b97c23
|
|
| BLAKE2b-256 |
b375dba191011c1b032561fe5e3cd4be9e19dd76acef3663173bb5b2216a7de0
|
Provenance
The following attestation bundles were made for readmegen_ai-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on cspnanda007/readmegen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
readmegen_ai-1.0.0-py3-none-any.whl -
Subject digest:
60ad6636f6ea1919ce023ce9819c7f37f048fa6e9368661016174ff14aab684b - Sigstore transparency entry: 1250117981
- Sigstore integration time:
-
Permalink:
cspnanda007/readmegen@34ea832a2a7c43c9108b2fdb365dc4bd29e4f261 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/cspnanda007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@34ea832a2a7c43c9108b2fdb365dc4bd29e4f261 -
Trigger Event:
release
-
Statement type: