An open API service indexing awesome lists of open source software.

https://github.com/C17AN/gemini-commit-assistant

AI-based commit message generator, powered by gemini-cli.
https://github.com/C17AN/gemini-commit-assistant

cli gemini-cli git

Last synced: 11 months ago
JSON representation

AI-based commit message generator, powered by gemini-cli.

Awesome Lists containing this project

README

          

# πŸ€– Gemini Commit Assistant

![screenshot](./screenshot.gif)

[English](README.md) | **ν•œκ΅­μ–΄**

Google Gemini CLI (Gemini 2.5 Flash)λ₯Ό μ‚¬μš©ν•˜μ—¬ **ν•œκ΅­μ–΄/μ˜μ–΄ 지원**ν•˜λŠ” AI 컀밋 λ©”μ‹œμ§€ μƒμ„±κΈ°μž…λ‹ˆλ‹€.

## πŸ“¦ μ„€μΉ˜

```bash
npm install -g gemini-commit-assistant
```

## πŸš€ μ‚¬μš©λ²•

```bash
# staged 파일둜 컀밋 λ©”μ‹œμ§€ 생성
git add file1.js file2.js
aic # (λ˜λŠ” ai-commit)

# λͺ¨λ“  νŒŒμΌμ„ staging ν›„ 컀밋 λ©”μ‹œμ§€ 생성
aic --all # (ai-commit --all)

# μ–Έμ–΄ μ„€μ • (ν•œκ΅­μ–΄/μ˜μ–΄)
aic --configure # (ai-commit --configure)

# git alias μ„€μ • (선택사항)
aic --setup # (ai-commit --setup)
git aic # (git ai-commit)
```

## πŸ”§ μ˜΅μ…˜

| μ˜΅μ…˜ | μ„€λͺ… |
| -------------- | --------------------------------------- |
| `--all`, `-a` | λͺ¨λ“  νŒŒμΌμ„ staging ν›„ 컀밋 λ©”μ‹œμ§€ 생성 |
| `--configure` | μ–Έμ–΄ μ„€μ • λ³€κ²½ (ν•œκ΅­μ–΄/English) |
| `--setup` | git alias μ„€μ • (`git aic`) |
| `--unsetup` | git alias ν•΄μ œ |
| `--help`, `-h` | 도움말 ν‘œμ‹œ |

## πŸ’° λΉ„μš©μƒ 이점

**Gemini CLI 개인 계정 (ꢌμž₯):**

- **60회/λΆ„ + 1,000회/일** - 무료
- API ν‚€ 방식보닀 10λ°° 높은 μ œν•œ
- νŒ€ 전체 μ‚¬μš© κ°€λŠ₯

**API ν‚€ 방식:**

- 일일 100회만 무료 - μ œν•œμ 

## πŸ“‹ μš”κ΅¬μ‚¬ν•­

- Node.js 16.0.0+
- Git 2.0+
- **Gemini CLI** (μ„€μΉ˜: `npm install -g @google/gemini-cli`)
- **Google 계정** (개인 계정 ꢌμž₯)

## 🌐 μ–Έμ–΄ 지원

졜초 μ‹€ν–‰ μ‹œ μ–Έμ–΄ 선택 화면이 μžλ™μœΌλ‘œ ν‘œμ‹œλ©λ‹ˆλ‹€ (ν•œκ΅­μ–΄/μ˜μ–΄).
`aic --configure`둜 μ–Έμ œλ“ μ§€ λ³€κ²½ κ°€λŠ₯ν•©λ‹ˆλ‹€.

## πŸ› οΈ μ„€μ •

```bash
# Gemini CLI μ„€μΉ˜
npm install -g @google/gemini-cli

gemini # 이후 Google κ³„μ •μœΌλ‘œ 둜그인
```

## 🎯 μ˜ˆμ‹œ

**ν•œκ΅­μ–΄ λͺ¨λ“œ:**

```bash
aic
# πŸ€– AI 컀밋 λ©”μ‹œμ§€ 생성기 (Gemini 기반)
# "feat: μ‚¬μš©μž 인증 μ‹œμŠ€ν…œ κ΅¬ν˜„"
```

**μ˜μ–΄ λͺ¨λ“œ:**

```bash
aic
# πŸ€– AI Commit CLI - AI-powered commit message generator
# "feat: Implement user authentication system"
```

## πŸ“„ λΌμ΄μ„ΌμŠ€

MIT License