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

@frigopedro/committer

v0.2.0

Published

Generate conventional commit messages using AI

Downloads

388

Readme

AI Git Committer 🤖

I was tired of typing out commit messages, so I wrote this tool. I know bunch of other tools exist, but I had hard times with them.

Its a personal tool, dont expect to be good because its not :/

Install 📦

npm install -g @frigopedro/committer

Local development:

npm link

Quick start ⚡

committer

Stage everything and commit in one go:

committer .

You will get a suggested commit message and can:

  • y to commit
  • n to abort
  • r to regenerate

The commit message streams live as it is generated.

On first run, committer creates ~/.committer and walks you through provider + model selection. Re-run onboarding anytime with:

committer --init

Usage ✅

committer --provider ollama --model llama3.1
committer --provider openai --model gpt-4o-mini
committer --prompt-append "Prefer mentioning tests if they changed."
committer --staged
committer --all

Generate a PR title and description from commits to a target branch:

committer --pr origin/dev

If you run with --provider ollama and no model, it will list local models and let you pick one.

Commit format ✍️

Commit messages are generated as:

<type>[optional scope]: <description>

<body>

The body is always present and provides a multi‑sentence summary covering most changed files.

Providers 🔌

Claude

export ANTHROPIC_API_KEY=your_key_here

ChatGPT (OpenAI)

export OPENAI_API_KEY=your_key_here

Local Llama (Ollama)

ollama pull llama3.1
committer --provider ollama

Config file 🧰

~/.committer is a JSON config shared across all repos. You can override promptAppend per run with --prompt-append.

If useClaudeMd is true, committer will load claude.md from the current repo root and use its instructions instead of the built-in prompt.

{
  "version": 1,
  "provider": "ollama",
  "model": "llama3.1",
  "diffMode": "auto",
  "maxDiffChars": 12000,
  "promptAppend": "",
  "useClaudeMd": false
}

Environment variables 🌱

  • AI_COMMIT_PROVIDER: claude, ollama, or openai
  • AI_COMMIT_MODEL: override model name
  • AI_COMMIT_MAX_DIFF_CHARS: trim diff length
  • ANTHROPIC_API_KEY or CLAUDE_API_KEY: Claude API key
  • OPENAI_API_KEY: OpenAI API key
  • AI_COMMIT_OLLAMA_HOST: Ollama host (default http://localhost:11434)

Tests 🧪

npm test

Contributing 🤝

Contributions are welcome! Feel free to open issues or pull requests.