https://github.com/jorgerosbel/gitzen
๐ง AI-powered CLI tool for automatic git commit message generation
https://github.com/jorgerosbel/gitzen
agentic-ai ai ai-powered auto-commit cli commit git git-tool
Last synced: 15 days ago
JSON representation
๐ง AI-powered CLI tool for automatic git commit message generation
- Host: GitHub
- URL: https://github.com/jorgerosbel/gitzen
- Owner: JorgeRosbel
- License: other
- Created: 2025-07-20T21:59:36.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-25T22:02:55.000Z (10 months ago)
- Last Synced: 2025-09-14T13:23:58.533Z (9 months ago)
- Topics: agentic-ai, ai, ai-powered, auto-commit, cli, commit, git, git-tool
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/gitzen
- Size: 767 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/gitzen)
[](https://www.npmjs.com/package/gitzen)
[](https://github.com/JorgeRosbel/gitzen/actions)
[](LICENSE)
# Gitzen: AI-powered CLI Tool for Automatic Git Commit Message Generation
**Gitzen** is a command-line tool that uses AI to automatically generate concise and well-formatted git commit messages. It integrates with popular AI providers like Google Gemini and supports customizable templates and languages.


---
## ๐ Table of Contents
* [๐ฆ Installation](#-installation)
* [๐ ๏ธ Commands](#-gitzen-command-summary)
* [๐ Start](./docs/start.md)
* [๐พ Commit](./docs/commit.md)
* [๐ง Summarize](./docs/summarize.md)
* [๐ Batch](./docs/batch.md)
* [๐ Review](./docs/review.md)
* [Gitzen Command Usage & Best Practices](./docs/examples.md)
---
## ๐ฆ Installation
You can install Gitzen globally using your preferred package manager:
```bash
npm install -g gitzen
# or
pnpm add -g gitzen
# or
yarn global add gitzen
```
Once installed globally, the `gitzen` command will be available anywhere in your system.
## ๐งพ Gitzen Command Summary
| Command | Description | Notes | Requires Staging |
| ------------------ | ------------------------------------------------------ | ------------------------------------------------------------------ | ---------------- |
| `gitzen start` | ๐ Initialize Gitzen setup and config | Run once to configure the CLI | โ |
| `gitzen commit` | ๐พ Generate commit message with AI from staged changes | Requires staged files. Optional: `-y` to auto-accept, `-e` to edit | โ
|
| `gitzen summarize` | ๐ง Summarize changes in staging/working dir | Optional: `-l ` | โ |
| `gitzen batch` | ๐ Group unstaged changes and commit in logical order | Optional: `-i` to ignore `gitzen.config.json` | โ |
| `gitzen review` | ๐ Gives you a review of the code in the staging area | Requires staged files. Optional: `-l ` | โ
|
Love **Gitzen**? Support the project by buying me a coffee! โ๏ธ
[](https://ko-fi.com/jorgerosbel)
## ๐ Project Structure
The following is the folder and file structure of the project:
```txt
gitzen/
โโโ __tests__/
โ โโโ commitFlow.test.ts
โ โโโ summarizerFlow.test.ts
โ
โโโ .github/
โ โโโ workflows/
โ โโโ lint_format.yaml
โ โโโ publish.yaml
โ โโโ test.yaml
โ
โโโ .husky/
โโโ dist/
โโโ docs/
โโโ node_modules/
โ
โโโ src/
โ โโโ commands/
โ โโโ providers/
โ โโโ templates/
โ โโโ utils/
โ โโโ index.ts
โ
โโโ types.d.ts
โโโ .gitignore
โโโ .npmignore
โโโ .npmrc
โโโ .prettierignore
โโโ .eslintrc.json
โโโ gitzen.config.json
โโโ LICENSE
โโโ package.json
โโโ package-lock.json
โโโ prettier.config.mjs
โโโ README.md
โโโ tsconfig.json
โโโ tsup.config.ts
โโโ vitest.config.ts
```