ai-coder

0.0.8 • Public • Published

AI-Coder

AI-Coder is a command-line tool that uses AI to generate commit messages and pull request titles and bodies.

Installation

Get an OpenAI API key and set it as an environment variable called OPENAI_API_KEY.

Add to your package.json your configuration for the AI-Coder to generate PRs. For example, the configuration for this repo looks like this:

{
  "ai": {
    "repo": {
      "baseBranch": "main",
      "owner": "jacob-ebey",
      "name": "ai-coder"
    }
  }
}
npm install ai-coder

Usage

ai-coder <command>

Commands

  • commit: Commit staged changes with an AI generated commit message
  • pr: Generate a pull request with an AI generated title and body

Arguments

  • --help: Display help

Package Sidebar

Install

npm i ai-coder

Weekly Downloads

8

Version

0.0.8

License

ISC

Unpacked Size

81.1 MB

Total Files

16

Last publish

Collaborators

  • jacob-ebey