#git-commit #gpt #ai #api-key #log

app git-gpt

Use GPT 3.5 API generate git commit log

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

Download history 133/week @ 2024-07-24 40/week @ 2024-07-31 2/week @ 2024-09-18 3/week @ 2024-09-25

127 downloads per month

Apache-2.0

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