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 🙏

© 2026 – Pkg Stats / Ryan Hefner

doc-autobot

v1.0.7

Published

AI-Powered CLI tool to automatically generate README.md and CONTRIBUTING.md files for any project using Google's Gemini AI.

Readme

Doc Autobot 🤖: AI-Powered Documentation Generator

Automatically generate README.md and CONTRIBUTING.md files for any project using the power of Google's Gemini AI. A must-have CLI tool for developers.

Doc Autobot Logo Version License Made with doc-autobot

🔍 What is Doc Autobot?

Doc Autobot 🤖 is a powerful Command Line Interface (CLI) tool designed to eliminate the tedious task of writing boilerplate documentation. This developer tool automatically generates essential markdown files for your project.

Its main purpose is to create:

  • README.md → A professional, context-aware introduction to your project.
  • CONTRIBUTING.md → Clear, standardized guidelines for anyone wanting to contribute.

Instead of writing docs from scratch, Doc Autobot uses Google Gemini AI to analyze your project, understand its context (from files like package.json), and instantly generate high-quality, ready-to-use documentation.

⚡ Why Do You Need It?

We all know this struggle:

  • Writing good documentation is boring and time-consuming.
  • A missing or poor README makes a project look unprofessional and hard to use.
  • Every successful open-source project needs clear contribution guides.

👉 Doc Autobot is the solution. It removes friction by providing instant, intelligent, and consistent automatic documentation, letting you focus on coding.

🌟 Key Benefits

  • Save Hours of Manual Work: Stop writing repetitive docs and generate them in seconds.
  • Look Professional: Instantly give your project a polished, professional appearance.
  • Standardize Documentation: Keep your docs consistent across all your repositories.
  • Perfect for Everyone: Ideal for open-source maintainers, developers in hackathons, students, and anyone who wants to automate their workflow.

Features

  • AI-Powered README Generation: Automatically creates a detailed README.md by analyzing your project's files and metadata.
  • Automatic CONTRIBUTING.md Generation: Quickly generates a standard, comprehensive CONTRIBUTING.md file.
  • Interactive Wizard: A user-friendly wizard guides you through the options if you run the tool without commands.
  • Simple Commands: Offers dedicated commands (readme, contributing, both) for specific file generation.
  • Project Context Awareness: Intelligently fetches details from package.json to create context-aware documentation.
  • Works with Any Tech Stack: A versatile developer tool for any project (Node.js, Python, Go, Rust, etc.).

Demo

1 2 3

  • BEFORE

Installation

To use this Node.js CLI tool, you need Node.js (v18 or higher) installed.

Global Installation (Recommended)

Install the tool globally to use it in any project on your system.

npm install -g doc-autobot

Run without Installation

You can also run the tool directly without a global installation using npx.

npx doc-autobot

Configuration

To enable AI-powered README.md generation, you must provide a Google Gemini API key.

  1. Obtain your key from Google AI Studio.
  2. Create a .env file in the directory where you run the doc-autobot command.
  3. Add your API key to the .env file:
GEMINI_API_KEY=YOUR_GEMINI_API_KEY_HERE

Usage

Once installed, you can run the following commands in your project's root directory.

Interactive Mode

For a guided experience, run the main command without any arguments:

doc-autobot

Direct Commands

  • Generate a README file:

    doc-autobot readme
  • Generate a Contributing guide:

    doc-autobot contributing
  • Generate both files at once:

    doc-autobot both

Tech Stack

  • Node.js: The runtime environment.
  • JavaScript (ESM): The programming language used.
  • Gemini AI (@google/generative-ai): Powers the intelligent documentation generation.
  • Commander.js: For building the command-line interface.
  • Inquirer.js: For creating the interactive wizard.
  • Chalk: For colorful console output.
  • Dotenv: For managing environment variables.
  • FS-Extra: For file system operations.

Folder Structure

doc-autobot/
├── src/                  # Source code for the CLI logic
│   ├── contributing-generator.js # Logic for generating CONTRIBUTING.md
│   ├── readme-generator.js     # Logic for generating README.md
│   └── utils/                  # Utility functions
├── .env                  # Environment variables
├── index.js              # Main entry point for the CLI
├── package.json          # Project metadata and dependencies
└── LICENSE               # Project license

Contribution Guidelines

We welcome contributions! Please see our CONTRIBUTING.md file for detailed guidelines on how to get involved.

Please also adhere to our Code of Conduct to ensure a welcoming and inclusive environment.

License

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

🌟 Show your support

Give a ⭐️ if you find this project useful!

Author & Acknowledgements

Hemant Patel

Note: This README was generated by doc-autobot!

Thanks to the developers of the open-source libraries that made this project possible.

Made with doc-autobot