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

#677 in Web programming

Download history 3/week @ 2024-02-22 2/week @ 2024-02-29 3/week @ 2024-03-07 3/week @ 2024-03-14 93/week @ 2024-03-28 55/week @ 2024-04-04

148 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

~16–31MB
~516K SLoC