GithubHelp home page GithubHelp logo

gwipt's Introduction

gwipt

Automatic work-in-progress commits with descriptive commit messages generated by GPT-3 Codex

Never again worry about the tension between "commit early, commit often" and "every commit needs a commit message". All you need is an OpenAI API key, and gwipt will track every single change in your working directory, on a parallel wip/ branch.

Usage

Make sure the environment variable OPENAI_API_KEY is set to your personal API key. Then, cd into the repository, and...

gwipt

Boom! As long as the program is running, every change you make in the working tree is now saved, with a descriptive commit message that will be printed to stdout. Say you're on branch A; then all your changes (including untracked files) will be automatically committed to wip/A, and you can explore them whenever you want.

You can see a few testing examples in the wip/main branch of this repository. Every commit there that starts with wip: was generated by GPT-3. This is new and untested software, but I'm pleased enough with the results that I'm already using it for my personal projects.

Installation

cargo install gwipt

gwipt's People

Contributors

benwr avatar nickhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gwipt's Issues

Missing license

Hi, I'd like to package your program for inclusion in nixpkgs, but I can't until you add a license.

Manual mode

It might be nice to have a "manual" mode, where we generate a commit message given a diff, but don't do anything with it. A friend pointed out that this would let IDE plugins incorporate automated commit messages.

Alternative backends

The current OpenAI Codex backend might not be ideal for everyone. It's working great for me, so I'm unlikely to find the time to add backends myself, but if you can find an alternative API to use, I'd be happy to accept PRs that add support.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.