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

git-gpt

v1.0.4

Published

A CLI tool that uses AI to automatically generate meaningful git commit messages based on your changes

Readme


🚀 Gitp - AI-Powered Git Commits

Transform your git workflow with intelligent commit messages powered by AI! ✨

Stop wasting time writing commit messages and let AI do the heavy lifting. Gitp analyzes your changes and generates meaningful, contextual commit messages that actually make sense.

🚨 Important Changes

v1.0.3+ - Description Generation Now Optional

Breaking Change: Commit descriptions are no longer generated by default to improve speed and reduce token usage.

  • Before: Gitp always generated both commit message and description
  • Now: Only commit message is generated by default
  • To get descriptions: Use the --description flag: gitp commit --description

This change makes commits faster while keeping the full functionality available when needed.

📸 See It In Action

git ca - Add files + commit

git ca

git cai - Interactive file staging

git cai

git cas - Smart AI analysis (waiting)

git cas waiting

git cas - Smart AI analysis (result)

git cas finished

✨ Features

  • 🤖 Multi-AI Provider Support - Works with OpenAI and Google
  • 🎯 Smart Context Analysis - Understands your code changes for better messages
  • 🎫 Automatic Ticket Integration - Links commits to Jira/GitHub/GitLab tickets
  • 📝 Conventional Commits - Perfect for semantic-release workflows
  • 🔍 Dry-run Mode - Preview before committing
  • Git Aliases - Lightning-fast shortcuts

📦 Installation

npm install -g gitp

🚀 Quick Start

🔧 Initial Setup

🔑 Set your AI provider and API key:

# Choose your AI provider
gitp set-provider openai     # 🤖 OpenAI GPT models
gitp set-provider google     # 🧠 Google Gemini

# Add your API key
gitp set-api-key <your-api-key>

# Pick your model
gitp set-model gpt-5         # For OpenAI
gitp set-model gemini-2.5-pro    # For Google

⚡ Git Aliases (Recommended!)

Get lightning-fast commits with simple aliases:

gitp add-alias

🎉 You now have these super shortcuts:

  • git c → 💬 Smart commit
  • git ca → 📁 Add files + smart commit
  • git cs → 🧠 Smart commit with AI context
  • git cas → 🚀 Add files + smart commit with AI context

🎫 Ticket Integration (Optional)

Link your commits automatically to project tickets:

gitp set-default-ticket-for /my-project ABC-123

📋 Conventional Commits (Optional)

Perfect for projects using semantic-release:

# Enable conventional commits for a project
gitp set-conventional-commits-for /my-awesome-project

# Remove if needed
gitp remove-conventional-commits-for /my-awesome-project

# See all configured projects
gitp list-conventional-commits

✨ Results in commits like:

  • feat: ABC-123 add user authentication
  • fix: ABC-123 resolve login timeout issue
  • chore: update dependencies

💻 Usage

🎯 Basic Commands

💬 Generate and commit:

gitp commit

🔍 Preview mode (no actual commit):

gitp commit --dry-run

🧠 Smart AI analysis:

gitp commit --smart

📁 Auto-add files:

gitp commit --add

⚡ Power combo:

gitp commit --add --smart --no-verify

🎛️ All Options

| Flag | Description | Example | |------|-------------|---------| | --add | 📁 Auto-stage files | git ca | | --smart | 🧠 AI context analysis | git cs | | --description | 📝 Include commit description | gitp commit --description | | --dry-run | 🔍 Preview only | gitp commit --dry-run | | --no-verify | ⏭️ Skip git hooks | gitp commit --no-verify | | -y | 🚀 Skip confirmation | gitp commit -y |

🎬 Examples in Action

🚀 The Magic Happens

Before Gitp:

You: *stares at terminal for 5 minutes thinking of commit message*

With Gitp:

git ca  # Add files + smart commit

git ca example

🎯 Interactive File Staging

Use git cai to selectively stage files with an interactive interface:

git cai example

🧠 Smart Context Analysis

With Smart AI Analysis:

git cas  # Add + Smart AI commit with context analysis

🔄 Processing (AI analyzing your changes):

git cas waiting

✨ Final Result:

git cas finished

🎯 Real-World Scenarios

🔧 Quick fixes:

git c        # Let AI figure out what you fixed

🧪 Feature development:

git cas      # Auto-add files + smart context analysis

🔍 Want to see first:

gitp commit --dry-run --smart

⚡ Ship it fast:

gitp commit --add -y    # No confirmation needed

🎫 With Ticket Integration

# Set once per project
gitp set-default-ticket-for /work/api-service TICKET-123

# Every commit gets prefixed automatically
git c
# → "feat: TICKET-123 add user profile endpoints"

🎯 Why Gitp?

🤔 Tired of:

  • Spending minutes thinking of commit messages?
  • Writing generic "fix stuff" commits?
  • Forgetting to mention important changes?
  • Inconsistent commit message formats?

✅ Get instead:

  • 🚀 Lightning fast commits with AI
  • 📝 Meaningful messages that actually describe your changes
  • 🎯 Consistent formatting across your team
  • 🧠 Smart context understanding of your code
  • 🔄 Zero learning curve - works with your existing git workflow

🤝 Contributing

Found a bug or want a feature? We'd love your help!

  1. 🍴 Fork the repo
  2. 🌟 Create your feature branch
  3. 💻 Make your changes
  4. 🚀 Use git cas to commit (dogfooding!)
  5. 📤 Push and create a PR

📜 License

MIT License - feel free to use in your projects! 🎉


Made with ❤️ for developers who value their time

Stop writing boring commit messages. Start using Gitp! 🚀