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-vibe-commit

v1.1.0

Published

Generate git commit messages with different vibes - from professional to savage to anime! 12 unique styles with interactive mode and config support.

Readme

🎨 vibe-commit

Generate git commit messages with personality! Stop writing boring commits and let your code changes speak with style.

✨ Features

  • 🎭 12 Unique Vibes: From professional to savage to anime!
  • 🎲 Random Mode: Surprise yourself with a random vibe
  • 🎨 Interactive Mode: Choose your vibe from a beautiful menu
  • ⚙️ Config File Support: Set your default vibe and create custom vibes
  • 🔍 Smart Analysis: Automatically analyzes your staged changes
  • 🎨 Colorful Output: Beautiful terminal UI with emojis
  • ⚡ Zero Config: Works out of the box
  • 🚀 Lightweight: No heavy dependencies

📦 Installation

npm install -g vibe-commit

Or use with npx (no installation needed):

npx vibe-commit

🚀 Usage

Stage your changes first:

git add .

Then generate a commit with a vibe:

vibe-commit --vibe savage

Available Vibes

| Vibe | Description | Example | |------|-------------|---------| | professional | Standard conventional commits | feat: add new functionality | | savage | Brutally honest, no filter | 💀 finally fixed this absolute disaster | | poetic | Shayari-style Hindi-English | ✨ jaise raat ko chaand, waise code ko naya feature | | casual | Chill bro-style commits | 🤙 bro just added some cool stuff | | dramatic | Over-the-top theatrical | 🎭 BEHOLD! The greatest refactor of our generation! | | zen | Peaceful, mindful messages | 🧘 code flows like water, bugs dissolve into nothing | | corporate | Buzzword-heavy business speak | 📊 Implemented strategic code enhancements | | anime | Anime and manga references | ⚔️ NANI?! Code has been upgraded to ULTRA INSTINCT level! | | meme | Dank memes and internet culture | 🗿 stonks 📈 code quality go brrrrr | | genz | Gen-Z slang and vibes | 💅 no cap this code is bussin fr fr | | haiku | Traditional Japanese poetry | 🌸 code blooms in春\nbugs fall like autumn leaves\npeace restored at last | | emoji | Pure emoji commits (no words!) | ✨🚀💯 |

CLI Options

# Choose a specific vibe
vibe-commit --vibe poetic

# Interactive mode - choose from a menu
vibe-commit --interactive
vibe-commit -i

# Use a random vibe
vibe-commit --random

# Preview without committing
vibe-commit --vibe savage --dry-run

# Skip git hooks
vibe-commit --no-verify

# List all available vibes
vibe-commit --list

# Create a config file
vibe-commit --init-config

# Show help
vibe-commit --help

💡 Examples

Interactive Mode 🎨

$ vibe-commit --interactive

🎨 Select a Vibe:

1. professional
   Standard conventional commits format

2. savage
   Brutally honest, no filter commits
...

Enter your choice (0-12): 8

✓ Selected: anime

📊 Changes: 3 files changed, 45 insertions(+), 12 deletions(-)

💬 Generated commit message:
"⚔️ Omae wa mou... debugged. This code is already fixed."

Commit with this message? (Y/n): y

✅ Commit created successfully!

Savage Mode 💀

$ vibe-commit --vibe savage
📊 Changes: 3 files changed, 45 insertions(+), 12 deletions(-)

💬 Generated commit message:
"💀 whoever wrote this code owes me an apology"

✅ Commit created successfully!

Poetic Mode ✨

$ vibe-commit --vibe poetic
📊 Changes: 2 files changed, 23 insertions(+)

💬 Generated commit message:
"✨ code ki duniya mein ek naya savera"

✅ Commit created successfully!

Random Mode 🎲

$ vibe-commit --random
🎲 Random vibe selected: dramatic

💬 Generated commit message:
"🎭 Against all odds, the feature LIVES!"

✅ Commit created successfully!

⚙️ Configuration

Create a .viberc config file to set your default vibe and add custom vibes:

vibe-commit --init-config

This creates a .viberc file in your current directory:

{
  "defaultVibe": "casual",
  "customVibes": {
    "my-custom": {
      "prefix": "🎯",
      "templates": [
        "My custom commit message 1",
        "My custom commit message 2",
        "My custom commit message 3"
      ]
    }
  }
}

The config file is searched in:

  1. Current directory (.viberc or .viberc.json)
  2. Home directory (~/.viberc or ~/.viberc.json)

Now you can use your custom vibe:

vibe-commit --vibe my-custom

🎯 Use Cases

  • Professional: For work projects that need conventional commits
  • Savage: When you're fixing someone else's terrible code
  • Poetic: When you're feeling creative and want to add some flair
  • Casual: For personal projects where you want to keep it chill
  • Dramatic: When you've just solved an impossible bug
  • Zen: When you want your commit history to be mindful
  • Corporate: When you need to impress management with buzzwords
  • Anime: When you're feeling like a protagonist
  • Meme: For the dank developers
  • Gen-Z: When you want to keep it real, no cap
  • Haiku: For the poetic souls
  • Emoji: When words just aren't enough

🤝 Contributing

Contributions are welcome! Feel free to:

  • Add new vibes (see src/vibes.ts)
  • Improve message templates
  • Fix bugs
  • Improve documentation

Project Structure

vibe-commit/
├── src/
│   ├── cli.ts           # Command-line interface (main entry point)
│   ├── vibes.ts         # All vibe definitions and templates
│   ├── git.ts           # Git operations (diff, commit, etc.)
│   ├── generator.ts     # Commit message generation logic
│   ├── config.ts        # Configuration file support
│   ├── interactive.ts   # Interactive mode with menus
│   └── index.ts         # Public API exports
├── test/
│   └── vibes.test.js    # Test suite
├── dist/                # Compiled JavaScript output
├── README.md            # This file
├── CONTRIBUTING.md      # Contribution guidelines
├── CHANGELOG.md         # Version history
└── package.json         # Package metadata

How It Works

  1. User runs command: vibe-commit --vibe savage
  2. CLI parses arguments: Reads flags and options
  3. Git check: Verifies you're in a git repo with staged changes
  4. Load config: Checks for .viberc config file (optional)
  5. Generate message: Picks random template from selected vibe
  6. Create commit: Runs git commit with generated message

Adding a New Vibe

Edit src/vibes.ts and add your vibe:

'my-vibe': {
  prefix: '🎸',  // Optional emoji
  templates: [
    'Your commit message template 1',
    'Your commit message template 2',
    // Add 5-10 templates for variety
  ]
}

Then add description in vibeDescriptions:

'my-vibe': 'Short description of your vibe'

📝 License

MIT © Ayush Kumar

🌟 Why vibe-commit?

Because git commit messages don't have to be boring! Whether you're:

  • Frustrated with legacy code (savage mode)
  • Feeling poetic about your clean refactor (poetic mode)
  • Just want to keep it casual (casual mode)
  • Need to sound professional (professional mode)

We've got you covered! 🎉


Made with ❤️ and lots of coffee ☕

Tip: Try vibe-commit --random on Fridays for maximum entertainment! 🎲