
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Have AI Commit write your git commit messages for you so you never have to write a commit message again.
npm i -g zx
(this CLI uses zx)git clone github.com/nutlope/aicommit
in your root directory.env.json
in the folder with your OpenAI API key. You can get this by signing upalias aicommit="zx ~/ai-commit/aicommit.mjs"
to your .zshrc
so you can trigger the program simply by typing aicommit
Note: The process to install this will get vastly simplified when I rewrite this CLI and publish it as an npm package to be run with npx
.
This project uses a command line interface tool called zx that's developed by google. In the script, it runs a git diff
command to grab all the latest changes, sends this to OpenAI's GPT-3, then returns the AI generated commit message. Video coming soon where I rebuild it from scratch to show you how to easily build your own CLI tools powered by AI. Fully privacy friendly as commands only run on your local machine using your OpenAI account.
This CLI also supports conventional commits. If you want conventional commits, simply set the conventionalCommit
variable at the top of the script to true
.
Now:
After:
npm install -g zx aicommit
FAQs
generates ai commit
The npm package gpt-commit receives a total of 0 weekly downloads. As such, gpt-commit popularity was classified as not popular.
We found that gpt-commit 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.