JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q46730F
  • License Apache-2.0

๐Ÿง  AI-powered CLI tool for automatic git commit message generation

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

cli version Downloads/week Build Status 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.

gitzen

CLI Git Latest Release GitHub stars GitHub open issues GitHub open pull requests


๐Ÿ“š 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 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 <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! โ˜•๏ธ
Koโ€‘fi

๐Ÿ“ 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