#gpt #git #openai

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

#463 in Web programming

Download history 53/week @ 2023-11-09 152/week @ 2023-11-16 85/week @ 2023-11-23 38/week @ 2023-11-30 80/week @ 2023-12-07 25/week @ 2023-12-14 36/week @ 2023-12-21 1/week @ 2023-12-28 4/week @ 2024-01-04 6/week @ 2024-01-18 22/week @ 2024-01-25 51/week @ 2024-02-01 21/week @ 2024-02-08 220/week @ 2024-02-15

319 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–30MB
~509K SLoC