
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
sweet-commit
Advanced tools
AI-powered commit messages that just work. One command, perfect commits, every time.
AI-powered commit messages that just work. One command, perfect commits, every time.
npm install -g sweet-commit
To update to the latest version:
scom update
Check your current version:
scom -v
Generate and commit (will prompt to stage if needed):
scom
You can also specify the commit style directly with a flag. For example:
scom -s # Short commit message
scom --adaptive # Adaptive commit message
scom -d # Detailed commit message
You can control the commit message style directly from the CLI:
scom --short or scom -s — Short, conventional commit messagescom --adaptive or scom -a — Adaptive (short for simple, detailed for complex)scom --detailed or scom -d — Fully detailed, multi-line commit messageNote: CLI flags always override your config file's default style.
Get your Gemini API key from Google AI Studio.
Run the setup command:
scom setup
Follow the prompts to enter your API key. That's it!
When you run scom setup, a .scom.conf file is created in your config directory (e.g. ~/.config/.scom.conf and inside APPDATA for windows).
This file securely stores your Gemini API key and other configuration options, such as your default commit style.
You can edit this file manually if you want to change your API key or set a different default commit style (e.g., adaptive, short, or detailed).
Example .scom.conf:
apiKey=your-gemini-api-key
humanLikeCommit=true
defaultCommitStyle=adaptive
Note: CLI flags (like
--short,--adaptive,--detailed) always override the style set in.scom.conffor a single run.
FAQs
AI-powered commit messages that just work. One command, perfect commits, every time.
The npm package sweet-commit receives a total of 0 weekly downloads. As such, sweet-commit popularity was classified as not popular.
We found that sweet-commit demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.