https://github.com/mmynk/no-commitment
nocommit generates commit messages from your `git diff`
https://github.com/mmynk/no-commitment
ai cli git git-commit llm rust
Last synced: 7 months ago
JSON representation
nocommit generates commit messages from your `git diff`
- Host: GitHub
- URL: https://github.com/mmynk/no-commitment
- Owner: mmynk
- Created: 2025-01-27T16:40:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T17:55:22.000Z (about 1 year ago)
- Last Synced: 2025-03-02T18:37:03.830Z (about 1 year ago)
- Topics: ai, cli, git, git-commit, llm, rust
- Language: Rust
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nocommit
A cli tool to generate commit messages using LLMs.
## Prerequisites
1. Rust
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
2. You need to have an API key for whatever LLM you want to use.
Supported LLMs:
- [Google Gemini](https://aistudio.google.com/apikey)
- [DeepSeek R1](https://platform.deepseek.com/api_keys)
## Installation
```sh
./install.sh
# Export API key for the LLM you want to use
export GOOGLE_API_KEY=your_google_api_key
export DEEPSEEK_API_KEY=your_deepseek_api_key
```
## Usage
```sh
$ git diff | nocommit
# Using DeepSeek
$ git diff | nocommit -a deepseek
```