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

commitah

v2.2.3

Published

Auto commit with message powered by Generative AI with Multiple provider

Readme

Commitah CLI

A powerful Command Line Interface (CLI) tool that leverages AI to generate meaningful and standardized Git commit messages. Commitah analyzes your staged changes and provides contextual commit message suggestions following conventional commit standards.

Features

  • 🤖 AI-Powered Messages: Generates commit messages by analyzing git diff using various AI providers
  • 🎨 Interactive UI: User-friendly CLI interface for selecting commit messages
  • ⚙️ Multiple AI Providers: Supports OpenAI, Gemini, DeepSeek, and Ollama
  • 🔧 Configurable: Customize message specifications and provider settings
  • 📝 Conventional Commits: Follows standardized commit message format

| Commit selection v2 | | ---- | | alt text |

| AI Provider on configuration v2 | | ---- | | alt text |

Prerequisites

  • Node.js v16 or later
  • Git installed and available in PATH
  • API key from your chosen AI provider (OpenAI, Gemini, DeepSeek) or Ollama running locally

Installation

npm install --global commitah

Usage

Basic usage:

# Stage your changes first
git add .

# Generate commit message
commitah

Available options:

# Show current configuration
commitah --config

# Update configuration
commitah --config-update

# Preview commit message without committing
commitah --show

Configuration

Configuration is stored in ~/.commitahconfig-v2. The tool will create a default configuration on first run. You can update the configuration using the --config-update option.

Example configuration:

{
  "provider": "OpenAI",
  "providerApiKey": "your-api-key",
  "providerUrl": "https://api.openai.com/v1",
  "messageSpec": "conventional commit",
  "sizeOption": 3,
  "model": "gpt-4-turbo-preview"
}

Supported Providers

  • OpenAI: Uses GPT models
  • Gemini: Uses Google's Gemini models
  • DeepSeek: Uses DeepSeek's language models
  • Ollama: Uses locally hosted models

Ollama Setup Instructions

  1. First, install Ollama on your system following the instructions at Ollama's official website

  2. Pull the recommended models:

# Pull Qwen2.5 Coder
ollama pull qwen2.5-coder

# Pull Dolphin 3
ollama pull dolphin3

# Pull Gemma 2B
ollama pull gemma:2b
  1. Configure Commitah to use Ollama:
commitah --config-update

Then:

  • Select 'Ollama' as the provider
  • Enter your Ollama URL (default: http://localhost:11434)
  • Select one of the recommended models:
    • qwen2.5-coder (Recommended for best code understanding)
    • dolphin3 (Good balance of speed and accuracy)
    • gemma:2b (Lightweight option)

Note: Ensure Ollama is running before using Commitah with these models.

How It Works

  1. Analyzes staged changes using git diff
  2. Sends the diff to the configured AI provider
  3. Generates multiple commit message suggestions
  4. Presents an interactive UI to select the preferred message
  5. Creates the commit with the selected message

Development

To build from source:

# Clone the repository
git clone [repository-url]

# Install dependencies
npm install

# Build the project
npm run build

License

ISC License

Author

Muhammad Utsman