Skip to content

iMerica/gpt-ghostwriter

Repository files navigation

   __________  ______
  / ____/ __ \/_  __/
 / / __/ /_/ / / /   
/ /_/ / ____/ / /    
\____/_/     /_/     
                     
   ________  ______  ____________       ______  ____________________ 
  / ____/ / / / __ \/ ___/_  __/ |     / / __ \/  _/_  __/ ____/ __ \
 / / __/ /_/ / / / /\__ \ / /  | | /| / / /_/ // /  / / / __/ / /_/ /
/ /_/ / __  / /_/ /___/ // /   | |/ |/ / _, _// /  / / / /___/ _, _/ 
\____/_/ /_/\____//____//_/    |__/|__/_/ |_/___/ /_/ /_____/_/ |_|  

Overview

This uses OpenAI's GPT LLM to write git commit summaries

Setup

  pip install gpt-ghostwriter
  export OPENAI_API_KEY=xxxxxxxxxxxxxxxxxx

Usage

  git commit -m "$(ghostwriter)"

Example

  $ echo "test" > test.txt
  $ git add test.txt
  $ ghostwriter
  "Adds a test.txt file to repo"

About

Automagically summarizes git commit messages using OpenAI's GPT-3 LLM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages