CodeGPT | CLI written in Go language

 by   appleboy Go Version: v0.2.2 License: MIT

kandi X-RAY | CodeGPT Summary

kandi X-RAY | CodeGPT Summary

CodeGPT is a Go library. CodeGPT has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              CodeGPT has a low active ecosystem.
              It has 620 star(s) with 46 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 30 have been closed. On average issues are closed in 3 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of CodeGPT is v0.2.2

            kandi-Quality Quality

              CodeGPT has no bugs reported.

            kandi-Security Security

              CodeGPT has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              CodeGPT is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              CodeGPT releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CodeGPT
            Get all kandi verified functions for this library.

            CodeGPT Key Features

            No Key Features are available at this moment for CodeGPT.

            CodeGPT Examples and Code Snippets

            No Code Snippets are available at this moment for CodeGPT.

            Community Discussions

            No Community Discussions are available at this moment for CodeGPT.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install CodeGPT

            Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/). To install codegpt via brew:. The pre-compiled binaries can be downloaded from [release page](https://github.com/appleboy/CodeGPT/releases). On macOS (Intel amd64). On macOS (Apple arm64).
            Please first create your OpenAI API Key. The [OpenAI Platform](https://platform.openai.com/account/api-keys) allows you to generate a new API Key. An environment variable is a variable that is set on your operating system, rather than within your application. It consists of a name and value.We recommend that you set the name of the variable to OPENAI_API_KEY. See the [Best Practices for API Key Safety](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety). or store your API key in custom config file. This will create a .codegpt.yaml file in your home directory ($HOME/.config/codegpt/.codegpt.yaml). The following options are available.
            openai.base_url: replace the default base URL (https://api.openai.com/v1). You can try https://closeai.deno.dev/v1. See [justjavac/openai-proxy](https://github.com/justjavac/openai-proxy).
            openai.api_key: generate API key from [openai platform page](https://platform.openai.com/account/api-keys).
            openai.org_id: Identifier for this organization sometimes used in API requests. see [organization settings](https://platform.openai.com/account/org-settings).
            openai.model: default model is gpt-3.5-turbo, you can change to gpt-4 or [other available model list](https://github.com/appleboy/CodeGPT/blob/bf28f000463cfc6dfa2572df61e1b160c5c680f7/openai/openai.go#L18-L38).
            openai.lang: default language is en and available languages zh-tw, zh-cn, ja.
            openai.proxy: http/https client proxy.
            openai.socks: socks client proxy.
            openai.timeout: default http timeout is 10s (ten seconds).
            openai.max_tokens: default max tokens is 300. see reference [max_tokens](https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens).
            openai.temperature: default temperature is 0.7. see reference [temperature](https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature).
            git.diff_unified: generate diffs with <n> lines of context, default is 3.
            git.exclue_list: exclude file from git diff command.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/appleboy/CodeGPT.git

          • CLI

            gh repo clone appleboy/CodeGPT

          • sshUrl

            git@github.com:appleboy/CodeGPT.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link