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

devcommit-cli

v1.1.0

Published

AI-powered Conventional Commit message generator supporting Groq, OpenAI, Anthropic, and Gemini.

Downloads

208

Readme

devcommit-cli 🚀

devcommit is an AI-powered Conventional Commit message generator that understands your code changes.

✨ Features

  • Conventional Commits: Automatically chooses the right type (feat, fix, docs, etc.).
  • Smart Scoping: Infers the scope from your file changes.
  • Shell Integration: Designed to be used in shell scripts and aliases.
  • AI-Powered: Supports multiple agents including OpenAI, Anthropic, Google Gemini, and Groq.

🛠 Configuration

devcommit needs an API key to work. You can provide this in two ways:

1. Global Configuration (Recommended)

Create a global config directory and .env file. This allows you to use devcommit in any project without re-configuring.

mkdir -p ~/.devcommit
touch ~/.devcommit/.env

Add your preferred provider and API key to ~/.devcommit/.env:

DEVCOMMIT_PROVIDER=groq # openai, anthropic, google, groq
GROQ_API_KEY=your_key_here

2. Local Configuration

Create an .env file in your project root (useful for project-specific settings):

DEVCOMMIT_PROVIDER=openai
OPENAI_API_KEY=your_key_here

🛠 Installation

From npm (Recommended)

npm install -g devcommit-cli

From Source (Development)

# Clone the repo and install dependencies
npm install
npm run build
npm link

Now you can use devcommit anywhere!

🚀 Usage Examples

Header Only

Generate only the conventional commit header.

devcommit --short

Force Fix Type

Force the generator to use 'fix' as the type.

devcommit --type fix

Interactive Confirmation

Review and edit the message before it is committed.

devcommit --confirm

🔥 Pro Tip: Alias Setup

Add these to your .zshrc, .bashrc, or .fish config for maximum speed:

# Full commit with AI-generated body
alias gca='git commit -m "$(devcommit)"'

# Short header-only commit
alias gcs='git commit -m "$(devcommit --short)"'

# Force fix type for quick bug fixes
alias gcf='git commit -m "$(devcommit --type fix)"'

How it works

The devcommit CLI is designed for shell interpolation. It sends progress logs (e.g., "Reading staged changes...") to stderr and only the final commit message to stdout. This ensures that $(devcommit) captures nothing but the commit text.


Built with ❤️ for developers.