0.0.2 • Published 1 year ago

node-gptcommit v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

node-gptcommit

简体中文 | English

This project comes from gptcommit.

Intelligently generate git commit information based on GPT-3.

Using this tool, you can easily generate clear, comprehensive and descriptive commit messages, allowing you to focus on writing code.

Tutorial

  1. Installation
npm install node-gptcommit -g
  1. Set the apikey of openai
ngptcommit config --set openai.apiKey=sk-xxxxx
  1. Get started

Please go to the root directory of a git warehouse to use, as follows:

cd xxx

ngptcommit preview

You can see the specific returned information, as shown below:

"🤖 The summary returned by GPT-3 is as follows:"

feature:

- Updated project configuration to enhance TypeScript options.
- Added `tslint.json` file that includes extensions for Recommendation and Prettier, setting specific rules and exclusions.
- The `typedoc.js` file that contains the documentation configuration.


- Added strict TypeScript options in new `tsconfig.json`.
- Added recommendations and Prettier extensions to the new `tslint.json` file.
- Exclusions and false options for specific rules are configured.
- Added `typedoc.js` file for documentation configuration.
  1. Change return language
ngptcommit config --set output.lang=en

Supported languages ​​are:

Language CodeLanguage
enEnglish
zh-cn简体中文
zh-tw繁體中文
日本日本語

Encountered any bugs?

If you encounter any bugs or have any suggestions for improvement, please file an issue in issues.

License

This project is licensed under the MIT License.