AI generates a README from your codebase. Point at a repo, get docs.
npm install -g readme-aicd your-project
readme-aiThe AI analyzes your code structure, package.json, and main files to generate a complete README.
# Generate to stdout
readme-ai
# Write to file
readme-ai --output README.md
readme-ai -o README.md
# Specific project path
readme-ai ~/projects/my-app
# Different styles
readme-ai --minimal # Brief: title, install, usage
readme-ai --detailed # Full: badges, API docs, contributing| Style | Sections |
|---|---|
--minimal |
Title, description, install, usage |
| (default) | Title, description, features, install, usage, license |
--detailed |
Everything + badges, API, examples, contributing |
- π¦
package.json- name, description, scripts, dependencies - π File structure - detects languages, main entry points
- π Main files - reads entry points for context
- π§ Config files - detects TypeScript, testing frameworks
# my-awesome-cli
A CLI tool that does awesome things.
## Features
- β‘ Fast and lightweight
- π§ Easy configuration
- π¦ Zero dependencies
## Installation
\`\`\`bash
npm install -g my-awesome-cli
\`\`\`
## Usage
\`\`\`bash
my-awesome-cli [options]
\`\`\`
## License
MITexport OPENAI_API_KEY=sk-...
export ANTHROPIC_API_KEY=sk-ant-...
# Or run Ollama locallyMIT