Package Exports
- gitzen
- gitzen/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitzen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
You can install Gitzen globally using your preferred package manager:
npm install -g gitzen
# or
pnpm add -g gitzen
# or
yarn global add gitzenOnce 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 <language> |
โ |
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 <language> |
โ |
Love Gitzen? Support the project by buying me a coffee! โ๏ธ
๐ Project Structure
The following is the folder and file structure of the project:
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