1.2.0 • Published 10 months ago

commitgpt4 v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

CommitGPT4

A Node.js module that allows users to generate commit message suggestions based on OpenAI's GPT API.

npm version npm downloads License: MIT

Usage

To use this module, simply run the following command:

commitgpt4

This will generate a list of commit message suggestions based on your Git index.

Installation

To install this module, run the following command:

npm install -g commitgpt4

Configuration

Before running the CommitGPT4 command, you will need to configure your OpenAI API key. You can do this by setting an environment variable called OPENAI_API_KEY to your API key.

    Use the folowing command to set your environment variable :

    Unix : export COMMITGPT4_OPENAI_API_KEY="<YOUR_OPENAI_API_KEY>"
    Windows : set COMMITGPT4_OPENAI_API_KEY="<YOUR_OPENAI_API_KEY>"
    Powershell : $env:COMMITGPT4_OPENAI_API_KEY="<YOUR_OPENAI_API_KEY>"

Alternatively, you can pass your API key directly to the command:

commitgpt4 --apiKey=<openai_key>

This will show a commit suggestions based on your git index.

License

This project is licensed under the MIT License. See the license here.

1.2.0

10 months ago

1.1.0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago