17 releases (6 breaking)
0.7.1 | Dec 12, 2023 |
---|---|
0.6.3 | Nov 23, 2023 |
0.4.2 | Jul 26, 2023 |
0.3.0 | Mar 10, 2023 |
#1290 in Web programming
127 downloads per month
18KB
166 lines
git-gpt
Use GPT 3.5 API generate git commit log.
Install
cargo install git-gpt
Usage
export OPENAI_API_KEY=YOUR_TOKEN
# Token is here https://platform.openai.com/account/api-keys
git gpt
git push
or you can use proxy url, take a look https://github.com/buhe/openai_aws_proxy, proxy serve on aws serverless, proxy used by open ai block regsion.
export OPENAI_URL=YOUR_PROXY_URL
Task
- Add all files
- Commit all
- Diff files and skip some files
- Generate git commit log
- Add proxy
Dependencies
~14–30MB
~453K SLoC