Generate a README draft from the files, scripts, routes, and config that actually exist in a repository.
Most generated README files sound confident but ignore the real project. README From Reality scans the repo first, then writes a practical draft based on real signals.
- Detects package scripts and package manager
- Detects common stacks like Node, TypeScript, React, Vite, Next.js, Express, Spring, Python, Docker, and GitHub Actions
- Finds environment variables from
.env.exampleandprocess.env.NAME - Extracts common Express/Fastify, Next.js App Router, and Spring mapping routes
- Generates a project tree
- Writes to
README.generated.mdby default so your real README is safe - Runs with Node built-in modules only
npm install -g readme-from-realityFor local development:
git clone https://github.com/YOUR_NAME/readme-from-reality.git
cd readme-from-reality
npm installGenerate a draft for the current repo:
readme-reality .Write to a custom file:
readme-reality . --output README.generated.mdPrint to terminal:
readme-reality . --stdoutOverwrite README.md only when you mean it:
readme-reality . --output README.md --forceSee examples/sample-generated-readme.md.
npm test
npm run sample- More route detectors
- Framework-specific README templates
--checkmode for CI- Optional badges
- Config file support
MIT