AI-powered CLI tool that automatically analyzes your project and generates a professional, high-quality README.md file in seconds.
- Zero configuration: works in any Node.js project out of the box.
- Detects 40+ frameworks: Next.js, Astro, Remix, SvelteKit, NestJS, Hono, and more.
- Detects styling, testing, database, and CI/CD tooling.
- Three generation modes: generate, improve, and regenerate.
- Customizable sections (Installation, Usage, Features, Contributing, License, Badges, FAQ, and more).
- Choose the tone: Professional, Friendly, or Minimal.
- Streams AI output in real-time.
- Fallback from primary model to secondary model on failure.
- Works with or without an OpenRouter API key (Readmefy backend proxy).
- Handles
Ctrl+Cgracefully.
- Run
npx readmefyin any project directory. - Automatically detect your stack, dependencies, scripts, and existing README.
- Answer a few quick questions regarding sections, tone, and extra context.
- Send project metadata to the AI via OpenRouter.
- Write a clean, formatted
README.mdto your project root.
- Node.js >= 18.0.0
- npm, pnpm, or yarn
An OpenRouter API key is optional but recommended for unrestricted usage.
You can install and run readmefy in several ways:
npx readmefyThis command executes readmefy directly using npx without requiring a global installation. This is the quickest way to get started.
npm install -g readmefy
readmefyThis installs readmefy globally, making it available as a command in your terminal.
npm install --save-dev readmefy
npx readmefyThis installs readmefy as a development dependency in your project. Use npx to execute the locally installed version. This is useful for ensuring that everyone working on the project uses the same version of readmefy.
npx readmefyThis starts readmefy in interactive mode, guiding you through project analysis, section selection, tone choice, and README generation. This mode is recommended for most users, as it provides a guided experience.
While readmefy is primarily designed for interactive use, future versions may support command-line options for advanced use cases. Refer to the help documentation (readmefy --help) for available options.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear, concise messages.
- Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.