Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dikkadev/aichangelog
Create changelogs with AI! This Rust CLI tool uses OpenAI models to generate human-readable, Markdown-formatted changelogs from your Git commit messages.
https://github.com/dikkadev/aichangelog
Last synced: 10 days ago
JSON representation
Create changelogs with AI! This Rust CLI tool uses OpenAI models to generate human-readable, Markdown-formatted changelogs from your Git commit messages.
- Host: GitHub
- URL: https://github.com/dikkadev/aichangelog
- Owner: dikkadev
- Created: 2023-04-05T20:49:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-05T21:03:53.000Z (over 1 year ago)
- Last Synced: 2024-12-14T21:22:17.928Z (13 days ago)
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aichangelog
![Crates.io](https://img.shields.io/crates/v/aichangelog)
![Crates.io](https://img.shields.io/crates/d/aichangelog)
![Crates.io](https://img.shields.io/crates/l/aichangelog)[`aichangelog` is a CLI tool written in Rust](https://crates.io/crates/aichangelog), that generates a changelog based on your Git commit messages. It leverages OpenAI's conversational models to produce a human-readable, Markdown-formatted changelog.
## Installation
aichangelog can be easily installed with Cargo, Rust's package manager. Simply run the following command:
```bash
cargo install aichangelog
```Please note that in order to use aichangelog, you will need to set the `OPENAI_API_KEY` environment variable. This API key is required to use the OpenAI language models, which is used by aichangelog to generate commit messages.
## Usage
### Generating Conventional Commits with `aichangelog`
| Short | Long | Description | Default |
| ----- | --------------- | ------------------------------------------------------ | ------------- |
| -s | --short | Only use first line of commit message to reduce tokens | |
| -t | --temp | Temperature for AI 0.0 - 2.0 | 1.0 |
| -f | --freq | Frequency Penalty for AI -2.0 - 2.0 | 0.0 |
| -m | --model | Model to use | gpt-3.5-turbo |
| -h | --help | Print help | |
| -V | --version | Print version | |### Getting Help with `aichangelog`
To get help with using `aichangelog`, you can use the `-h` or `--help` option
```bash
$ aichangelog --help
```This will display the help message with information on how to use the tool.