Skip to content

sngminn/commit-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commitcat

"고민은 개발만 늦출 뿐, 커밋 메시지 고민은 Commit-cat에게 맡기세요."

version license node

commit-catGemini AI를 활용하여 Git Stage에 올라온 변경 사항을 분석하고,
가장 적절한 커밋 메시지를 제안, 간단한 코드리뷰를 해줍니다.

English | 한국어


핵심 기능

  • Google Gemini API를 통해 소스 코드의 문맥을 이해하고 커밋 메시지를 생성해요.
  • 변경된 파일과 라인 정보를 정밀하게 분석하여 요약해요.
  • 개선점이나 취약점이 보이면 알려줘요.
  • 가벼운 모델을 사용해 5초 내에 응답을 받을 수 있어요.

설치

# Clone the repository
git clone https://github.com/sngminn/commit-cat.git

# Install dependencies
npm install

# Link globally (Optional)
npm link

설정

루트 디렉토리에 .env 파일을 생성하고 Gemini API 키를 설정하세요.

GEMINI_API_KEY=your_google_gemini_api_key_here

사용법

가장 빈번하게 사용되는 명령어입니다.

# 기본 실행 (영어 메시지 추천)
commit-cat

# 한국어 모드 실행
commit-cat -k
  1. 변경 사항을 git add 합니다.
  2. commit-cat을 실행합니다.
  3. AI가 제안하는 커밋 메시지 중 하나를 선택하거나 직접 수정합니다.

Usage

# Default execution (Suggests English messages)
commit-cat

# Run with Korean mode
commit-cat -k
  1. Stage your changes with git add.
  2. Run commit-cat.
  3. Select one of the AI-suggested commit messages or edit it yourself.

About

고민은 개발만 늦출 뿐, 커밋 메시지 고민은 Commit-cat에게 맡기세요

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published