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

gitcom-cli

v1.1.1

Published

AI-powered Git commit message generator

Readme

🤖 GitCom: AI-Powered Git Commits

🏆 The Intelligent CLI for Professional Commit Messages

Optimize your workflow, save tokens, and never write a boring commit message again.

🌐 Website | 📄 Documentation | 🎥 Demo

GitCom Version Platform Support License

[Deutsch] | [Español] | [Français] | [日本語] | [한국어] | [Português] | [Русский] | [English]


🥳 Updates

  • 2026/03/13: v1.0.0 Released! Full support for OpenAI, Gemini, and Ollama.
  • 2026/03/13: Global Distribution: Ready to install via npm install -g gitcom-cli.
  • 2026/03/13: Auto-Commit Mode: Added -y, --yes flag for instant AI commits.
  • 2026/03/13: Token Optimization: Hybrid diff analysis reduces LLM costs by up to 90%.

💡 Introduction

Welcome to GitCom, a high-performance CLI tool designed to automate the most tedious part of your development cycle: writing commit messages. GitCom analyzes your staged changes and generates clean, verb-based commit messages instantly.

Why GitCom?

  • Descriptive & Direct: Generates meaningful messages starting with strong verbs (e.g., "add", "fix", "refactor").
  • Cost Efficient: Intelligent diff summarization ensures you only send what's necessary.
  • Provider Agnostic: Use OpenAI, Google Gemini, or run locally with Ollama.
  • Minimalist UI: Clean terminal interface with no verbose instructions or noise.
  • 🚀 Interactive UI: Edit and confirm messages before they hit your history.
  • ⚙️ Quick Config: Easily switch providers and models via gitcom config.

🎯 Features

  • Hybrid Strategy: Uses git diff --stat for large changes to minimize token usage.
  • 📐 Compact Output: All messages are single-line and optimized for git history readability.
  • 🚀 Auto-Commit: Use -y or --yes to skip confirmation and commit instantly.
  • 🛠️ Integrated Setup: One-stop wizard for Provider, API Key, and Model selection.
  • 🧹 Noise Filtering: Automatically ignores lockfiles, build artifacts, and binaries.

🛠️ Installation & Setup

Prerequisites

  • Node.js: >= 18.x
  • Git: Installed and initialized in your repo.

Installation

Install globally using npm:

npm install -g gitcom-cli

API Configuration

Run the setup wizard to configure your preferred provider:

gitcom init
  • Integrated Flow: Choose your provider, enter your key (secure entry), and pick a model from the list.
  • Key Security: API keys are entered securely (hidden on-screen) and stored locally.

🚀 Usage

Generate a Commit

Stage your changes first, then run gitcom:

git add .
gitcom commit

Auto-Commit (Fast Mode)

Skip the confirmation and commit instantly:

gitcom commit -y

Quick Workflow (Add + Commit + Push)

Automate the entire flow with one command:

gitcom quick

This stages everything, generates a message, and lets you pick a branch to push to.

Manage Configuration

Update your provider or model anytime:

gitcom config

Help & Commands

Check all available options:

gitcom --help
# or
gitcom -h

Reset Configuration

Wipe all data and keys:

gitcom --reset

🧠 Token Optimization Details

GitCom uses a 3-Stage Pipeline to keep your bills low:

  1. Stage 1 (Filter): Ignores package-lock.json, dist/, and other noise.
  2. Stage 2 (Analyze): Calculates the size of your changes.
  3. Stage 3 (Optimize):
    • Large Changes (>300 lines): Sends file-list + --stat summary.
    • Small Changes: Sends a cleaned code-only diff snippet.

🤝 Acknowledgements

  • Commander.js: The backbone of our CLI.
  • @inquirer/prompts: For the robust and secure interactive interface.
  • Ora: For the smooth loading animations.

💬 License

Distributed under the ISC License. See LICENSE for more information.