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

#760 in Web programming

Download history 6/week @ 2024-03-12 30/week @ 2024-03-26 118/week @ 2024-04-02

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

~13–26MB
~461K SLoC