
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Git commit message generator with AI
Generate the commit message with AI (ChatGPT).
This library uses itself to generate the commit message.
Idea from the original project Nutlope/aicommits. I made this aimmit
project because I want to add more features:
Option 1: directly use with npx:
npx aimmit
Option 2: install globally then use:
# install
npm install -g aimmit
# use
aimmit
Before using aimmit
, you need to set up the AIMMIT_API_KEY
(i.e. OpenAI API key) environment variable.
AIMMIT_API_KEY=... aimmit
Or you can set it in the .bashrc
or .zshrc
file:
export AIMMIT_API_KEY=...
Or you can specify the API key with the -k
option:
aimmit -k ...
You can get the API key from OpenAI.
Note that this is a paid service by OpenAI.
Instead of using the official OpenAI paid service, there are some free reverse proxy services available but may have some limitations and of less stability.
You can use the -r
option to specify the reverse proxy URL:
aimmit -r https://proxy/api
Or you can use the environment variable AIMMIT_REVERSE_PROXY_URL
:
export AIMMIT_REVERSE_PROXY_URL=...
Please note that a reverse proxy service may have security issues. You should use it at your own risk.
A free reverse proxy service is provided by default in this project by me. I promise that it will NOT collect any of your data. However, it may go down at any time.
Options:
--help Show help [boolean]
--version Show version number [boolean]
-c, --conventional-commits Use Conventional Commits[boolean] [default: false]
-e, --emoji Use emoji in commit message
[boolean] [default: false]
-l, --lite Only print the commit message
[boolean] [default: false]
-a, --auto-add-all Automatically add all files to the commit
[boolean] [default: false]
-p, --auto-push Automatically push the commit to the remote
[boolean] [default: false]
-r, --reverse-proxy-url Reverse proxy URL [string]
-k, --key API key [string]
-v, --verbose Run with verbose logging[boolean] [default: false]
Generate with Conventional Commits:
aimmit -c
Automatically add all files to the commit, then generate with Conventional Commits, then automatically push the commit to the remote:
aimmit -a -c -p
Only print the commit message:
aimmit -l
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
FAQs
Commit messages made easy with AI (ChatGPT)
The npm package aimmit receives a total of 1 weekly downloads. As such, aimmit popularity was classified as not popular.
We found that aimmit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.