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

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`

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
```