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

@igoralbuquerque/vibe-git

v2.0.0

Published

Gerador de mensagens de commit utilizando IA.

Downloads

165

Readme

vibe-git 🚀

Your intelligent CLI for orchestrating commits and Pull Requests autonomously.

Turn an entire day of chaotic coding into a clean, atomic Git history with automatically generated Pull Requests.


🎯 What is vibe-git?

vibe-git is not just a commit message generator.
It is a Software Architect and a Git Agent living inside your terminal.

After hours of coding — with changes spread across database, backend, frontend, and configs — you simply describe what you did.

Then, vibe-git takes over:

  • Analyzes the full repository diff
  • Detects real technical dependencies (e.g. database schema → controller → UI)
  • Designs an atomic commit strategy grouping the correct files
  • (New) Automatically executes commits, splitting work into multiple branches if needed
  • (New) Opens Pull Requests directly on GitHub with rich, formatted documentation

🤔 Why use vibe-git instead of IDE agents (Copilot/Cursor)?

| IDE Agents | vibe-git | |---|---| | Limited to the currently opened file | Understands the entire repository flow | | Often mixes unrelated changes into a single commit | Creates atomic and reversible commits | | Weak Git orchestration | Full Git workflow automation | | Manual PR creation | Automatically creates rich Pull Requests | | Higher token usage | Cheaper and easier to test using Gemini Flash or Groq |


🆚 Before vs After

| Traditional Workflow | vibe-git (Autonomous) | |---|---| | git add . | Commit 1: chore(deps): install prisma | | git commit -m "implemented auth and fixed bugs" | Commit 2: feat(db): add user schema | | Huge mixed commits | Commit 3: feat(api): auth controller | | Hard to revert safely | Commit 4: feat(ui): login form | | Manual PR descriptions | GitHub PR generated automatically |

✅ Atomic and reversible commits
✅ Structured PR generation
✅ Human-in-the-loop review before execution


🛠️ Installation & Setup

1. Installation

We recommend installing globally via npm:

npm install -g @igoralbuquerque/vibe-git

2. Initialization

Inside your project root (where the .git folder exists), run:

vibe-git init

This creates the base structure:

vibe-git.config.json   → Your preferences (language, AI provider, conventions)
.env                   → API keys and secrets
vibe-git/              → Internal workspace (auto-added to .gitignore)

3. Configure Providers

Open the generated .env file and add your credentials:

# Concentrate any provider key here
VIBE_GIT_AI_API_KEY=sk-groq/gemini/openai-key

# Or use the provider's key directly
GEMINI_API_KEY=sk-your-key-here
OPENAI_API_KEY=sk-your-key-here
GROQ_API_KEY=sk-your-key-here

# Optional but recommended (for automatic PR creation)
GITHUB_TOKEN=ghp_your_token_here

Then, inside vibe-git.config.json, choose the active provider:

{
  "aiProvider": "gemini"
}

Available options:

  • gemini
  • openai
  • groq

🔄 Workflows: V2 vs V1

vibe-git now supports two workflows:

  • Autonomous Workflow (Recommended)
  • Classic Markdown Workflow

🌟 Autonomous Workflow (V2)

In this flow, the AI generates a structured JSON plan.
You review it, then the CLI executes everything automatically.


Step 1 — Describe the Work

Edit vibe-git/entry/example.json:

{
  "exitName": "my-plan",
  "prBase": "develop",
  "userSummary": [
    "Implemented JWT authentication",
    "Created login screen"
  ],
  "branches": [
    {
      "branchName": "feat/auth",
      "description": "Authentication infrastructure and login UI"
    }
  ]
}

Step 2 — Generate the Structured Plan

Run:

vibe-git run example.json

This generates:

vibe-git/exit/my-plan.json

You can freely edit commit names, PR text, or descriptions before execution.


Step 3 — Execute the Plan

Run:

vibe-git exec my-plan.json

The CLI will:

  • Create the branch
  • Group files logically
  • Execute git add automatically
  • Create commits with generated messages
  • Push the branch
  • Ask interactively whether to create the Pull Request

Example:

⚠️ Do you want to create the Pull Request now? (y/N)

If confirmed, the PR is automatically created on GitHub.


Skip PR creation

vibe-git exec my-plan.json --ignore-pr

📜 Classic Markdown Workflow (V1)

Prefer reading the AI analysis and manually executing commands?

Use:

vibe-git plan example.json

This generates a readable Markdown file:

my-plan.md

Containing:

  • AI analysis
  • Commit strategy
  • Ready-to-run bash script

⚙️ Advanced Configuration (vibe-git.config.json)

vibe-git is highly customizable.

Example:

{
  "aiProvider": "gemini",
  "disableWarns": false,
  "commits": {
    "useConventionalCommits": true
  },
  "PRs": {
    "createPRs": true,
    "model": ""
  }
}

Available Settings

aiProvider

Switch between:

  • gemini
  • openai
  • groq

disableWarns

Set to true to hide minor terminal warnings.


commits.useConventionalCommits

Forces the AI to follow conventional commit standards:

feat:
fix:
refactor:
docs:

PRs.createPRs

Enables structured Pull Request generation.


PRs.model

Paste your company's Pull Request template here.
The AI will follow the same format automatically.


💻 Architecture & Engineering

vibe-git is built using:

  • Clean Architecture
  • SOLID principles
  • Dependency Inversion
  • Adapter & Factory patterns

Making it scalable and maintainable.


Design Philosophy

Spec-Driven Architecture

LLMs are encapsulated through the Strategy Pattern.

Adding support for another provider (like Anthropic Claude) only requires implementing a new adapter.


Fail-Fast Security

The exec command contains paranoid safety checkpoints.

Execution is blocked unless:

  • The JSON is fully valid
  • The target PR base branch is explicitly defined

🤝 Contributing

git clone https://github.com/igoralbuquerque12/vibe-git.git

cd vibe-git

npm install

npm link

📄 License

MIT License — free to use, modify, and distribute.

Built with a strong focus on Developer Experience.