AutoReadMe is an instant README generator for developers, automating the creation of structured and detailed README.md files for various project types. It supports interactive CLI mode, different README templates, GitHub badges integration, and debug mode for enhanced customization.
β Instant README Generation β Create a README.md in seconds.
β Interactive CLI β Choose templates, add badges, and preview metadata.
β Multiple README Templates β Basic, Open Source, CLI Tool, API Docs.
β GitHub Badges Integration β Add dynamic badges for GitHub stats.
β Debug Mode β View detailed metadata before generating README.
β Persistent Logs β Retrieve past README generations.
β Cross-Platform Support β Works on Windows, macOS, Linux.
Install globally via npm: npm install -g autoreadme autoreadme --version Generate a README.md using interactive CLI:
autoreadme generate You'll be prompted to: 1οΈβ£ Select a README template (Basic, Open Source, CLI Tool, API Docs).2οΈβ£ Choose whether to include GitHub badges.3οΈβ£ Auto-generate and save README.md.
Example CLI Output
π Extracting project metadata... β
Project Metadata Retrieved successfully!! β π Select a README template: π CLI Tool (Commands, Usage) β π Do you want to include GitHub badges? No π Generating README.md using "cli-tool" template... β
README.md successfully created at /your_project/README.md AutoReadMe supports the following README templates:
| Template Type | Description |
|---|---|
| π Basic | Minimal README with project details, installation, and usage. |
| π Open Source | Includes contributing guide & code of conduct. |
| π CLI Tool | Adds CLI commands, usage examples. |
| π API Docs | Includes API endpoints, documentation links. |
| Command | Description |
|---|---|
| autoreadme generate | Run interactive mode to generate README.md file. |
| autoreadme --help | Show available commands. |
| autoreadme --version | Display current version. |
| autoreadme debug | Enable debug mode to inspect metadata. |
| autoreadme logs | View past README generation logs. |
chalk β For CLI text styling commander β Command-line argument parsing figlet β Banner styling inquirer β Interactive CLI prompts simple-git β Fetching GitHub repository details fs, path, os β File system operations autoreadme generate β Select π Enable Debug Mode π Displays full metadata output before README generation. View Logs autoreadme generate β Select π View Logs π Displays history of README generations and exits. Log Storage Windows: C:\Users\YourUser\.autoreadme\logs.json Mac/Linux: ~/.autoreadme/logs.json Logs persist across CLI sessions Log files are ignored in Git. 1οΈβ£ Fork the repository. 2οΈβ£ Clone it: git clone https://github.com/CodeTirtho97/AutoReadMe.git 3οΈβ£ Create a new branch & submit a PR. This project is licensed under the MIT License. See LICENSE for details.
GitHub Repo: AutoReadMe_GitHub
NPM Package: AutoReadMe_NPM
