#git-commit #openai-api #gpt #generate #artificial-intelligence #ai-api #log

app git-gpt

使用GPT 3.5 API生成git提交日志

17个版本 (6个重大更新)

0.7.1 2023年12月12日
0.6.3 2023年11月23日
0.4.2 2023年7月26日
0.3.0 2023年3月10日

Web编程 中排名第 753

Download history 14/week @ 2024-07-02 173/week @ 2024-07-30

每月下载量 173

Apache-2.0

18KB
166

git-gpt

使用GPT 3.5 API生成git提交日志。

安装

cargo install git-gpt

用法

export OPENAI_API_KEY=YOUR_TOKEN
# Token is here https://platform.openai.com/account/api-keys
git gpt
git push

或者您可以使用代理URL,请参阅 https://github.com/buhe/openai_aws_proxy,代理在AWS无服务器上运行,由OpenAI阻止的代理。

export OPENAI_URL=YOUR_PROXY_URL

任务

  • 添加所有文件
  • 提交所有
  • 比较文件并跳过某些文件
  • 生成git提交日志
  • 添加代理

依赖项

~13–25MB
~455K SLoC