AI-powered git commit message generator CLI tool. Generate conventional commit messages using OpenRouter AI. Supports npm installation.
Click to zoom2 Weeks
Creator
Solo
tcxcommit is a command-line tool that uses artificial intelligence to generate meaningful and conventional git commit messages. Simply stage your changes and let tcxcommit create the perfect commit message for you. It supports both free trials and your own OpenRouter API key.
npm install -g tcxcommit
npx tcxcommit
tcxcommit
tcxcommit automatically stages your changes before generating the commit message:
# Stage specific file
git add filename.js
# Stage all changes
git add .
# Stage specific folder
git add src/
By default, tcxcommit provides 5 free trial commits using OpenRouter's free AI model.
For unlimited commits, use your own OpenRouter API key:
tcxcommitgit add .git diff --cachedError: No changes found
Solution: Make some changes to your files and try again.
Error: Rate limit exceeded
Solution: Use your own OpenRouter API key for unlimited commits.
Error: Network error. Please check your internet connection.
Solution: Ensure you have an active internet connection.
Error: Git is not installed or not in PATH
Solution: Install Git and ensure it's available in your system PATH.
sudo npm install -g tcxcommit
Or fix npm permissions:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
npm install -g tcxcommit
# Start tcxcommit
tcxcommit
# Or use npx without installing
npx tcxcommit
tcxcommit stores its configuration in:
~/.tcxcommit/config.jsonC:\Users\YourUsername\.tcxcommit\config.jsonISC License
git commit message, AI commit generator, conventional commits, git automation, CLI tool, npm package, developer tools, git hooks, commitizen alternative, OpenRouter, commit message generator, AI git, git helper, terminal tool, node CLI
"You have a right to perform your prescribed duty, but you are not entitled to the fruits of actions."
Design by SahilCodex
© 2026. Build with Hands.