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

xoegit

v1.1.3

Published

AI-powered CLI tool for generating semantic git commit messages and PR descriptions

Readme

xoegit

Node.js TypeScript Gemini npm License

xoegit is an AI-powered CLI tool that generates concise, semantic, and atomic git commit messages and PR descriptions. It analyzes your git diff, git status, and git log to provide context-aware suggestions powered by Google's Gemini models.

Philosophy: "Craft, Don't Code" — xoegit suggests commands; YOU execute them. You stay in control.

Features

  • Atomic Commits — Automatically suggests splitting large changes into multiple logical commits
  • Context Aware — Provide context with --context for more accurate commit messages
  • Smart Fallback — Automatically switches between Gemini models when rate limits are hit
  • Semantic Commits — Strictly follows Conventional Commits
  • PR Ready — Generates ready-to-use PR title and description

How It Works

Important: xoegit never stages your files, commits your changes, or modifies your repository in any way. It only analyzes your changes and provides recommendations that you can review and execute yourself.

You remain in full control of your git workflow.

Installation

Prerequisites

  • Node.js: Minimum version 20.19.5 or higher
  • Git: Must be installed and available in your PATH
  • API Key: A Google Gemini API key (get one here)

Install

npm install -g xoegit

or install from source:

git clone [email protected]:ujangdoubleday/xoegit.git
cd xoegit
make

Configuration

Simply run xoegit for the first time. It will prompt you for your API Key securely and save it locally.

Security Note: Your API key is stored locally on your device only. We do not collect, store, or have access to your API key. See Security Policy for details.

Usage

Then, from whatever project you're working on, just run:

xoegit

xoegit

Options

| Option | Description | | ---------------------- | --------------------------------------------- | | -k, --api-key <key> | Use specific API key for this session | | -c, --context <text> | Provide context for more accurate suggestions | | -s, --set-key <key> | Save API key to config | -d, --delete-key | Delete saved API key from config | | -V, --version | Show version | | -h, --help | Show help |

Examples

Basic usage:

xoegit

With context for better commit type detection:

xoegit --context "refactoring folder structure"
xoegit -c "fixing authentication bug"
xoegit -c "adding new payment feature"

Use API key for this session only (not saved):

xoegit --api-key "YOUR_GEMINI_API_KEY"

Manage API key:

xoegit --set-key "YOUR_GEMINI_API_KEY"
xoegit --delete-key

Sample Output

xoegit — AI-powered commit generator

Suggestion generated!

commit 1
git add src/auth/login.ts
git commit -m "feat(auth): add login validation"

commit 2
git add src/utils/logger.ts
git commit -m "refactor(utils): improve error logging"

pr title: feat(auth): implement secure login
pr description: feat(auth): implement secure login
- feat(auth): add login validation
- refactor(utils): improve error logging

Troubleshooting

"Current directory is not a git repository"

  • Ensure you're inside a valid git repo (git init)

"No changes detected"

  • Make sure you have modified, staged, or untracked files

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

or use make:

make

Project Structure

src/
├── cli/           # CLI program and actions
├── config/        # Configuration management
├── git/           # Git operations
├── prompts/       # AI prompt templates
├── providers/     # Gemini AI integration
├── types/         # TypeScript types
└── utils/         # Utilities (input, UI)

Contributing

Contributions are welcome! Please read our Contributing Guide to get started.

License

MIT