https://github.com/nilicule/gitsummarize
Summarizing the last number of commits using ChatGPT
https://github.com/nilicule/gitsummarize
chatgpt commit git openai python3
Last synced: 3 months ago
JSON representation
Summarizing the last number of commits using ChatGPT
- Host: GitHub
- URL: https://github.com/nilicule/gitsummarize
- Owner: nilicule
- License: gpl-3.0
- Created: 2023-10-02T12:00:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T12:07:00.000Z (over 2 years ago)
- Last Synced: 2025-09-22T15:29:18.122Z (9 months ago)
- Topics: chatgpt, commit, git, openai, python3
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitSummarize
This code fetches the last 10 commits of whatever repo is in the current directory and summarizes the commit using ChatGPT.
As an optional parameter the script lets you choose which model should be used for the summary.
## Installation & usage
```
export OPENAI_API_KEY="sk-YOURKEYGOESHERE"
python ~/Projects/gitsummarize/summarize.py --model gpt-4
```