
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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.
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.