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

commity-ai-commit-tool

v1.0.23

Published

AI-powered Git commit message generator with dynamic emoji selection

Readme

🤖 Commity

AI-powered commit messages that don’t suck. With emojis.

Writing commit messages was killing me. So I built Commity.
A tiny CLI tool that looks at your staged git changes, asks OpenAI what the hell you just did, and gives you a clean, emoji’d commit line you can actually be proud of.

No more Update or fixes lol.


🧪 What it actually does

  • Reads your git diff
  • Sends it to OpenAI
  • Spits back a commit message that makes sense
  • Drops in a matching emoji (because vibes matter)
  • You hit enter. Boom. Committed.

⚡ Why it slaps

  • 🧠 Smarter than you on bad days – AI writes your commit messages
  • 🎯 Emoji sniper – Tags it right: 🐛 for bugs, ✨ for features, etc.
  • 🔒 Safe – Your API key stays in .env, not flying around
  • 💬 Talks to you – Edit, confirm, cancel. Like a chill assistant.
  • 🎨 Sexy CLI – Colors, prompts, feedback. Feels alive.

🏁 Getting Started (takes 1 min max)

1. Install

npm install -g commity-ai-commit-tool

2. Add your OpenAI key

echo "OPENAI_API_KEY=sk-..." > .env

→ Grab key from here
→ Yes, free tier works too

Add key

3. Use it

git add .
commity

CLI shot
Commit success


🧠 Sample Output

🤖 Commity - AI Commit Tool
📖 Reading staged changes...
🧠 Generating commit message with AI...

💬 Suggested commit message:
"🐛 Fix authentication validation and error handling"

? What would you like to do?
❯ Yes, use this message
  Edit the message  
  Cancel commit

✅ Committed successfully!

You just saved 2 minutes and looked smart doing it.


🔥 Emoji Mapping (Auto-detected)

| Type | Emoji | |------|-------| | New Feature | ✨ | | Bug Fix | 🐛 | | Docs | 📚 | | Performance | ⚡ | | Refactor | ♻️ | | Tests | 🧪 | | Config | ⚙️ | | Security | 🔒 | | UI | 🎨 | | DB | 🗄️ | | API | 🔌 | | Deploy | 🚀 | | Packages | 📦 |


🛠️ Configs (Only if you’re picky)

| Env Variable | What it does | Default | |--------------|--------------|---------| | OPENAI_API_KEY | Your OpenAI key (duh) | – | | OPENAI_MODEL | Which model to use | gpt-4o-mini |

Supported Models:

  • gpt-4o-mini (default)
  • gpt-4o
  • gpt-4-turbo
  • gpt-3.5-turbo

😭 If it breaks

  • API key not found? → You forgot the .env file
  • "No staged changes"? → Run git add .
  • Not in a repo?git init, friend

🧱 Code Structure (for devs)

commity/
├── cli-wrapper.js   // handles terminal
├── ai.js            // OpenAI stuff
├── git.js           // git logic
├── prompt.js        // CLI questions
├── package.json     // npm life
└── README.md        // this file

🛠️ Wanna contribute?

Yes please. PRs welcome.

  1. Fork it
  2. git checkout -b cool-feature
  3. Code
  4. git commit -m '✨ adds cool stuff'
  5. Open PR

Bugs? Feature ideas? → Open an issue


📜 License

MIT. Steal with style.


❤️ Credits

  • Powered by OpenAI (shoutout)
  • Inspired by late-night coding guilt
  • Built by Muhammad Ameen with coffee, rage, and love

No more cringe commit messages. Let Commity talk.
Install now → npm install -g commity-ai-commit-tool