Skip to content

πŸš€ Instant README Generator CLI - Create professional README.md files in seconds! Interactive templates (Basic, Open Source, CLI, API), auto metadata extraction, GitHub badges & debug mode. Perfect for developers who want polished docs without the hassle. Just run autoreadme generate!

Notifications You must be signed in to change notification settings

CodeTirtho97/AutoReadMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AutoReadMe – Instant README Generator πŸš€

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.

image

πŸ“Œ Features

βœ… 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.

βš™οΈ Installation

  Install globally via npm:

  npm install -g autoreadme

Verify installation:

  autoreadme --version

πŸš€ Usage

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

πŸ“„ Available Templates

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.

πŸ’» CLI commands

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.

πŸ”§ Dependencies

AutoReadMe is built using:

  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

🐞 Debugging & Logs

Enable Debug Mode

  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.

🀝 Contributing

We welcome contributions! To contribute:

     1️⃣ Fork the repository.
     2️⃣ Clone it: git clone https://github.com/CodeTirtho97/AutoReadMe.git
     3️⃣ Create a new branch & submit a PR.

πŸ“œ License

This project is licensed under the MIT License. See LICENSE for details.

πŸ”— Links

GitHub Repo: AutoReadMe_GitHub

NPM Package: AutoReadMe_NPM

About

πŸš€ Instant README Generator CLI - Create professional README.md files in seconds! Interactive templates (Basic, Open Source, CLI, API), auto metadata extraction, GitHub badges & debug mode. Perfect for developers who want polished docs without the hassle. Just run autoreadme generate!

Topics

Resources

Stars

Watchers

Forks