Coder Social home page Coder Social logo

gicomai's Introduction

gicomai README

gicomai is a (not very creative) acronym for git commit messages from AI

Features

gicomai takes the diff from the current repository and asks https://beta.openai.com to generate a commit message. The AI is usually quite impressive with this task.

If you have changes in your repository, that you want to commit, e.g.

screenshot

You can trigger the creation of the messages by pressing Command-Enter in the empty commit input (or selecting) Commit-Commit from the git menu. This opens the git commit message text editor.

A commit message for every changed file will be generated and placed on top.

screenshot

You can edit this as you like.

screenshot

The rest is default behavior. So when closing the editor, you will asked if you want to make the commit.

screenshot

Note: when you enter your own commit message into the commit input, the generation will not be triggered.

Requirements

You need an OpenAI account and create your own api-key at https://beta.openai.com/account/api-keys

Extension Settings

Please provide your api-key in the settings:

  • gicomai.openai_apikey: your api-key

Known Issues

There is a limit of 4.000 tokens the API can handle. This translates roughly to 1.000 characters. Therefore only the 1st 1.000 characters of a file diff will be submittedt to the OpenAI API. There is also a limit of 20 calls per minute for the free plan.

Release Notes

0.0.4

  • better error messages
  • added known issues to the Readme

0.0.3

  • added icon

0.0.2

  • a bit more info in the README
  • add the file a message belongs to
  • no empty lines between messages
  • add message if rate limit is reached

0.0.1

Initial release of gicomai

Enjoy!

gicomai's People

Contributors

thorek avatar

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.