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

automit

v1.0.0

Published

AI-powered Git commit workflow automation using local Ollama models

Readme

Automit 🤖

AI-powered Git commit planning workflow automation using a local Ollama model.

automit analyzes your staged changes, proposes a semantically grouped commit plan that follows the Conventional Commits specification, and walks you through applying each commit interactively — all without sending your code to the cloud.


Features

  • Zero cloud dependency — runs entirely on your machine via Ollama.
  • Smart grouping — the AI proposes logically related file groups as separate commits.
  • Controlled Commit Count — Specify a desired total number of commits (--commit), and automit will intelligently adjust the proposed plan to meet that target.
  • Interactive workflow — apply, edit, or skip each commit one by one.
  • Fully configurable — CLI flags, environment variables, or a .automitrc.json file.
  • Safe restore — skipped files are always re-staged exactly as they were.
  • Post-commit follow-ups — optionally update README, update CHANGELOG, or generate a PR message after commits.
  • Beautiful output — spinners, colours, and boxed summaries.

Quick Start

# Stage some files
git add src/auth.js src/middleware.js

# Run automit
npx automit

That's it. automit will:

  1. Detect the staged diff.
  2. Ask Ollama to analyse it and propose a commit plan.
  3. Print the plan in your terminal.
  4. Walk you through each proposed commit interactively.
  5. Offer optional README, CHANGELOG, and pull request message follow-ups.

Prerequisites

| Requirement | Version | |---|---| | Node.js | ≥ 18.0.0 | | npm | ≥ 9 | | Ollama | latest | | Git | ≥ 2.x |

Install & start Ollama

# macOS / Linux
curl -fsSL https://ollama.com/install.sh | sh

# Pull a model (gemma4 is the default)
ollama pull gemma4

# Or use llama3 for general use
ollama pull llama3

# Start the server (usually auto-started as a service)
ollama serve

Installation

Global install (recommended)

npm install -g automit

After installation the automit binary is available system-wide.

Local development

git clone https://github.com/your-org/automit.git
cd automit
npm install
npm link          # makes `automit` available globally from this checkout

Usage

automit [options]

Options:
  -e, --endpoint <url>        Ollama base URL (default: http://localhost:11434)
  -m, --model <name>          Ollama model identifier (default: gemma4)
  -p, --system-prompt <str>   Override the system prompt for commit generation
  -d, --dry-run               Analyse and plan only — do not execute any git commands
      --commit <count>        Enforce a preferred total number of commits (Alias: --commits)
      --cwd <path>            Run as if automit were started in this directory
  -v, --version               Print version and exit
  -h, --help                  Show help

Examples

# Use a different model
automit --model llama3

# Dry run (plan only, no commits)
automit --dry-run

# Ask for exactly six total commits
automit --commit 6