CodeGPT

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.

MIT License

Stars
1K
Committers
21

Bot releases are visible (Hide)

CodeGPT - v0.1.8

Published by github-actions[bot] over 1 year ago

Changelog

  • fd54cef feat: add Azure OpenAI Service support to CLI
  • b4d3b40 docs: add OpenAI to code completion options
  • afa47c7 refactor: OpenAI provider initialization and testing (#63)
  • ae89c72 docs: update README with Azure OpenAI Service instructions and images
  • 995ae86 refactor: refactor OpenAI provider configuration and options
  • 3ac67f7 chore: add Azure OpenAI provider (#60) https://github.com/appleboy/CodeGPT/issues/18
  • cdddc9a docs: update installation instructions for README.md
CodeGPT - v0.1.7

Published by github-actions[bot] over 1 year ago

Changelog

  • 8bf7d98 refactor: refactor timeout flag to accept duration input
  • cb6f2c7 feat: increase timeout options for API requests (#55)
  • 8a44d35 chore: refactor environment variable prefixes to unified naming convention
  • 36e505a feat: add support for multiple CI/CD platforms in initConfig() function
  • fb4cf74 docs: document configuration options for OpenAI API
  • c98e375 feat: add temperature control to OpenAI package
  • 5079244 feat: add max_tokens flag for OpenAI API
  • efe8f74 docs: update flow
  • e802945 docs: add flow diagram to project README
  • 347fd2e chore: update CodeGPT binary download links and version number
CodeGPT - v0.1.6

Published by github-actions[bot] over 1 year ago

Changelog

  • eb8bf3b chore: update package versions for security and performance improvements
  • 996b5fe fix: improve handling of missing API key errors
  • b492f7d chore: update go-openai package version in go.mod file
  • 6346a5f build: add Docker support with CI/CD pipeline (#54)
  • c12a9dc docs: fix typo from zh-tw to zh-cn (#51)
CodeGPT - v0.1.5

Published by github-actions[bot] over 1 year ago

Changelog

  • 7f04df9 chore: update CodeGPT version to v0.1.5 for all platforms
  • 4f1d38b feat: update Git command struct with new functions (#50)
  • 46e676a chore(deps): bump actions/setup-go from 3 to 4 (#48)
CodeGPT - v0.1.4

Published by github-actions[bot] over 1 year ago

Changelog

  • 1609675 chore: update CodeGPT version in OS-specific download links
  • cb3d75c feat: set default maxTokens for OpenAI client to 300
  • de1d07a docs: update CLI tool description in README file
  • 99189f6 docs: add example for improve PHP code security and cross-platform compatibility
  • 15a7b88 docs: improve README formatting for section headers
  • 3f96190 feat: add multilingual code review support with screenshots
  • f32a4d1 feat: improve OpenAI integration for code review summaries
  • 134cc79 feat: add code review command to CLI (#46)
  • ab75796 refactor: simplify code and remove unused imports in commit functionality
  • f4923a5 docs: improve API usage, testing, and documentation
CodeGPT - v0.1.3

Published by github-actions[bot] over 1 year ago

Changelog

  • 51a0f34 chore: update CodeGPT to version 0.1.3 in all OS download commands and output
  • 1af18a3 chore: update OpenAI dependencies and add new models support (#43)
  • 3b8490e chore: improve testing.yml concurrency and permissions
CodeGPT - v0.1.2

Published by github-actions[bot] over 1 year ago

Changelog

  • c930e3b chore: update CodeGPT version in README.md file to 0.1.2
  • 93c50ec feat: add option for setting OpenAI API timeout
  • 41d47a3 feat: add OpenAI base URL customization option
  • 6fd92df feat: add base_url configuration option
  • a10afb0 docs: correct flag name in README (#40)
  • 0040d02 docs: update README.md file formatting and content
CodeGPT - v0.1.1

Published by github-actions[bot] over 1 year ago

Changelog

  • 7e945df chore: update CodeGPT to version 0.1.1 for all OSs
  • 3026803 feat: Add support for new OpenAI models and update default model
  • bf28f00 feat: add new models to modelMaps map in openai.go file (#38)
  • 541832d chore: update go-openai version in go.mod to v1.5.4
  • 21d022e chore: update CodeGPT to version 0.1.0
CodeGPT - v0.1.0

Published by github-actions[bot] over 1 year ago

Changelog

  • e869533 feat: add tip replacement flag to commit command
  • 3947d23 feat: add amend functionality to commit command (#35)
  • d69f877 docs: improve commit message template integration with Git hooks
  • 58aa3d8 feat: add template options to commit command (#33)
  • 03ce4b9 refactor: refactor template handling functions and calls
  • 2072f60 refactor: refactor code for improved performance and readability
  • 637c084 refactor: refactor commit message handling and translation template
  • 297b50f refactor: refactor commit message summarization function names
  • 7763fa7 docs: improve Git diff functionality and customization options
  • 0c22fdc docs: add feature list
CodeGPT - v0.0.9

Published by github-actions[bot] over 1 year ago

Changelog

  • 72b2cc0 chore: update CodeGPT version to improve performance
  • 742fecc chore: add --signoff flag to git commit command (#30)
  • 7773093 feat: refactor completion function in OpenAI package
  • f38019a chore: update Go dependencies to latest versions
  • 4364fcf feat: add proxy support to commit command
  • 78678d7 feat: update proxy options for secure connections
  • 278219d feat: add SOCKS proxy support to OpenAI API client
  • a663a00 docs: add Chinese README introduction link
  • 30c6abc docs: improve documentation for setting environment variables
  • c5c0f9a chore: update CodeGPT to version v0.0.8 with new OS download links
  • 1de984f docs: add API key safety best practices link to README.md
CodeGPT - v0.0.8

Published by github-actions[bot] over 1 year ago

Changelog

  • e7a908d docs: improve OpenAI API key management and documentation
  • ae81a78 refactor: replace hyphens and dots in environment variable keys (#25)
  • 98155ea chore: refactor Git hook functions and variables
  • 040f7f4 docs: improve installation instructions for codegpt on MacOS via Homebrew (#24)
  • 7570e13 fix: refactor Git commands and fix minor issues
  • 8a2edb2 chore: fix flag naming consistency in cmd package
  • 22e6c5f docs: add OpenAI API key instructions and config options to .codegpt.yaml
  • f0929db feat: add excludeList flag to git operations (#23)
  • 65f4c38 refactor: refactor commit message handling in git functions
  • beb9ee1 chore: update CodeGPT to version 0.0.7 on all platforms
CodeGPT - v0.0.7

Published by github-actions[bot] over 1 year ago

Changelog

  • 31470b6 feat: add option to configure number of context lines in diffs (#22)
  • 52202da style: improve consistency and clarity of commit messages (#19)
  • c3c521f ci: add commitlint to the workflow for better code consistency
  • 115b3c6 refactor: Refactor and document struct and function names.
  • ba78905 chore: Update download links and version number for release.
CodeGPT - v0.0.6

Published by github-actions[bot] over 1 year ago

Changelog

  • 963073a feat: Refactor and improve codegpt commit command.
  • 824dc67 chore: Add option to disable automatic commits and skip verification. (#13)
  • 20c7802 refactor: Refactor git hooks and templates organization
  • e510f27 feat: Refactor git hook installation functions and imports
  • 4343ed4 chore: Update CodeGPT binary and conventional-commit template.
  • c7b313e refactor: Update Git commit message handling
  • 8e5abed feat: Refactor Command methods for better error handling.
CodeGPT - v0.0.5

Published by github-actions[bot] over 1 year ago

Changelog

  • 2337d79 feat: Add support for conventional commits and templates (#10)
  • 03b4770 chore(hook): Refactor Git hook and improve error handling
  • 0aa21f3 chore(git): Refactor git commands and functions.
  • 18ae561 chore(openai): add comments.
  • 76ffe95 chore(openai): Refactor openai.New() function to use options for arguments.
  • 1407cf7 docs(readme): add OpenAI configuration options
  • a75ed83 docs: Improve README instructions and clarity.
  • a09ebe8 docs(readme): Update CodeGPT to version 0.0.4
  • 1b9e7f7 docs(readme): fix typo
CodeGPT - v0.0.4

Published by github-actions[bot] over 1 year ago

Changelog

  • 359a48a chore(cmd): Refactor commit message language and model handling
  • 0b255fe chore(cmd): Refactor console output with color package integration.
  • 71a6dcd docs(readme): Update CodeGPT binary download links and version number
CodeGPT - v0.0.3

Published by github-actions[bot] over 1 year ago

Changelog

  • 415c8a1 chore(CI): Update goreleaser configuration for release.
  • 5e705b9 Include version and commit info in ldflags.
  • 20df195 docs(readme): Improve OpenAI API Key setup process
  • 4c70e9f docs(readme): Update CodeGPT download links to version 0.0.2
  • 88ff781 docs(readme): Improve commit message guidelines with CLI and Git Hook instructions.
  • 4b94f1c docs(readme): Integrate OpenAI tools and improve user experience
  • 6a9e879 Improve user experience and documentation for OpenAI tools
CodeGPT - v0.0.2

Published by github-actions[bot] over 1 year ago

Changelog

  • 500ae35 chore(commit): Bind commit flags to viper and add GetModel function.
  • 760a3d5 chore(openai): Add support for HTTP proxy configuration. (#3)
  • d49a07e chore(cmd): Add version and commit information to build process.
  • eacd020 chore(cmd): Add color output to progress messages
  • a9fd57b docs(readme): Add reference to ChatGPT and Whisper APIs blog
  • fb49108 docs(readme): documentation reference.
  • d32c3bb docs(readme): Update README.md badge for lint and testing.
CodeGPT - v0.0.1

Published by github-actions[bot] over 1 year ago

Changelog

  • 5316c95 chore(CI): Configure cross-platform builds and packaging with goreleaser
  • f5f545e chore(hook): add new package
  • 7afbe1a chore(cmd): add git hook management feature.
  • df7f69a chore(CI): Rename GitHub Actions workflow for testing.
  • f8172b0 chore(cmd): improve commit message formatting and include summary.
  • 8a7ae98 refactor(cmd): file writing to use OS package
  • d122b3a refactor: language handling and add template utility file
  • 6ab282f refactor(prompt): commit command and prompt functions.
  • 7113b7b fix(lint): check viper.BindPFlag
  • 92323cf docs(readme): add GitHub Actions badge
  • 1ec651a chore(CI): Added project maintenance files and workflows.
  • f901881 chore(prompt): Rename three template files from .tpl to .tmpl in the prompt/templates directory
  • 6d2ac70 chore(openai): Add a tool that summarizes pull request titles.
  • 1dc70d8 chore(prompt): update git diff prompt format.
  • 4e6b9af chore(prompt): update summarize template
  • 7d77a5f chore(openai): support translate language
  • e0b9c97 docs: Add documentation for the Git prepare-commit-msg hook using ChatGPT written in Golang.
  • 089c01e refactor(openai): Refactor OpenAI client to support multiple models and add new models.
  • 1b3ef2e chore(openai): set default model to gpt-3.5-turbo in the config command
  • e77f9df chore(openai): Add org ID parameter to OpenAI client initialization
  • f676caf chore(commit): Add comments to functions in multiple files for better code readability
  • d687259 chore(openai): add new package
  • 20be2fc chore(prompt): add new package
  • 8191025 chore(cmd): check git command
  • 9c7a0bc chore(cmd): create config file if not exist.
  • 6f8a4d5 chore(cmd): rename
  • 1acf45d chore(cmd): check config key value.
  • a27851a chore(cmd): remove debug message
  • 19eb93c chore(cmd): update config folder path
  • 87ca189 chore(cmd): update description
  • b02eb89 chore(cmd): add config
  • c535b97 chore(cmd): add version file
  • ceb5010 chore(cmd): initial command line
  • 347d335 Initial commit
Package Rankings
Top 6.21% on Proxy.golang.org
Badges
Extracted from project README
Lint and Testing codecov Go Report Card Star History Chart