npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@tirth.s/readme-wizard-cli

v1.0.2

Published

An interactive CLI tool to generate README files for your projects using Google's Gemini AI

Readme

Readme Wizard CLI 🧙‍♂️

Version License Node.js

A powerful CLI tool that uses Google's Gemini AI to generate comprehensive, well-structured README files for your projects. Analyzes your project structure and creates beautiful documentation with zero configuration.

🚀 Features

  • 🤖 AI-powered README generation using Google's Gemini
  • 📊 Automatic project analysis (dependencies, frameworks, testing setup)
  • 🏗️ Docker and CI/CD configuration detection
  • 🎯 Smart badge generation based on your tech stack
  • 🔑 Multiple API key management options
  • 🎨 Beautiful, standardized formatting
  • 📝 Interactive CLI with customization options
  • 💾 Saves configuration for future use

📦 Installation

# Install globally
npm install -g @tirth.s/readme-wizard-cli

# Or run directly with npx
npx @tirth.s/readme-wizard-cli

🛠️ Prerequisites

  • Node.js >= 18
  • Google Gemini API Key (get one for free at AI Studio)

📘 Usage

Basic Usage

Run in your project directory:

readme-wizard

The tool will:

  1. Analyze your project structure
  2. Detect frameworks and dependencies
  3. Prompt for missing information
  4. Generate a comprehensive README.md

Command Line Options

Usage: readme-wizard [options]

Options:
  -V, --version          Output the version number
  -k, --api-key <key>    Google Gemini API key
  --clear-config         Clear saved configuration including API key
  -h, --help            Display help

Examples:
  $ readme-wizard                    # Interactive mode
  $ readme-wizard -k YOUR_API_KEY    # Run with API key
  $ readme-wizard --clear-config     # Clear saved configuration

API Key Management

The tool supports multiple ways to provide your Google Gemini API key:

  1. Command Line Flag:

    readme-wizard -k YOUR_API_KEY
  2. Environment Variable:

    export GOOGLE_API_KEY=your_api_key
    readme-wizard
  3. Interactive Prompt: Run without a key and you'll be prompted to enter it.

  4. Saved Configuration: The tool can save your API key securely for future use.

Project Analysis

The tool automatically analyzes your project for:

  • 📝 Project metadata (name, version, license)
  • 🛠️ Dependencies and frameworks
  • ⚡ Testing setup and coverage
  • 🐳 Docker configuration
  • 🔄 CI/CD pipelines
  • 📚 Documentation tools
  • 🎨 UI libraries
  • 🗄️ Database connections
  • 📦 State management
  • 🌐 API integrations

Generated README Structure

The generated README follows the Standard-README specification and includes:

  1. Title & Description

    • Project name and banner
    • Concise description
    • Status badges
  2. Table of Contents

    • Auto-generated
    • Collapsible sections
  3. Installation

    • Prerequisites
    • Step-by-step guide
    • Environment setup
  4. Usage

    • Basic examples
    • Common use cases
    • API documentation
  5. Project Architecture

    • Structure overview
    • Component interaction
    • Key features
  6. Development

    • Setup guide
    • Testing
    • Contributing
  7. Maintenance

    • Issue reporting
    • Troubleshooting
    • Support
  8. License & Credits

    • License details
    • Contributors
    • Acknowledgments

💡 Tips & Tricks

  1. Overwriting Existing README:

    • The tool will ask before overwriting an existing README
    • You can choose to create a new file instead
  2. Project Analysis:

    • Run in the root directory of your project
    • Make sure package.json is present for best results
  3. API Key Storage:

    • Keys are stored in ~/.readme-wizard/config.json
    • Use --clear-config to remove stored keys
  4. Badge Generation:

    • Automatic framework version detection
    • Test status badges if tests exist
    • License and version badges from package.json

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

# Clone the repository
git clone https://github.com/tirthshah574/readme-wizard.git

# Install dependencies
cd readme-wizard
npm install

# Make your changes and test
npm test

# Submit a PR

📃 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Google Gemini AI for powering the content generation
  • Shields.io for the beautiful badges
  • All the amazing contributors who help improve this tool