README Roast Fixer is a small CLI that audits a project README, calls out missing sections, and can generate a cleaner replacement draft. It is designed for fast GitHub publishing, starter repos, hackathon projects, and old projects whose documentation no longer explains how to get useful results.
- Scores README quality from
0to100. - Detects missing title, installation, usage, features, license, links, and code examples.
- Prints blunt, actionable fixes instead of vague documentation advice.
- Generates a replacement
README.improved.mddraft with--fix. - Runs locally with no API keys and no runtime dependencies.
git clone https://github.com/dnesdan/readme-roast-fixer.git
cd readme-roast-fixer
npm installAudit the current directory:
npm startAudit another project:
node ./bin/readme-roast.js ../some-projectGenerate an improved README draft:
node ./bin/readme-roast.js ../some-project --fix --output ../some-project/README.improved.mdThe CLI exits with:
0when the README scores at least70.1when the README needs meaningful work.2when the command cannot run.
README Roast: my-project
Score: 54/100
Findings:
- [high] Installation section is missing.
Fix: Add exact install commands for a fresh machine.
- [high] Usage section is missing.
Fix: Show the shortest useful command or workflow.
npm testThe project uses Node's built-in test runner and intentionally avoids dependencies so it is easy to inspect, fork, and extend.
- GitHub URL input that fetches public README files.
- Optional OpenAI-powered rewrite mode.
- JSON output for CI and GitHub Actions.
- Pull request comment mode.
Issues and pull requests are welcome. Please include a focused description and tests for behavior changes.
MIT