
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
git-ai-tool
Advanced tools
A CLI tool to automate git commit and push using a React Terminal interface.
# Install globally
npm install -g git-ai-tool
# Set required environment variables for OpenAI
export OPENAI_API_KEY="your-openai-api-key"
export GITHUB_TOKEN="your-github-token" # Optional, for PR detection
Navigate to any Git repository and run:
git-ai-tool commit
By default, the tool uses OpenAI. To use Ollama instead:
git-ai-tool commit --provider ollama
The interactive terminal UI will guide you through:
Options:
-V, --version output the version number
-p, --provider <provider> AI provider to use (openai or ollama) (default: "openai")
--openai-api-key <key> OpenAI API key
--openai-model <model> OpenAI model to use (default: "gpt-3.5-turbo")
--ollama-host <host> Ollama host URL (default: "http://127.0.0.1:11434")
--ollama-model <model> Ollama model to use (default: "llama3.1")
-h, --help display help for command
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | For OpenAI | Your OpenAI API key for generating commit messages |
GITHUB_TOKEN | No | GitHub token for detecting existing PRs |
You can set these in your shell profile or use a tool like direnv to manage them per project.
To use Ollama instead of OpenAI:
--provider ollama flag--ollama-model <model> (default is llama3.1)--ollama-host <host> (default is http://127.0.0.1:11434)Example:
git-ai-tool commit --provider ollama --ollama-model codellama
Clone the repository and install dependencies:
git clone https://github.com/yourusername/git-ai-tool.git
cd git-ai-tool
npm install
Run in development mode:
npm run dev
Build the project:
npm run build
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by [Your Name]
This README provides:
1. A clear description of what the tool does
2. Installation and usage instructions
3. Required environment variables
4. Development setup
5. How the tool works
6. Contributing guidelines
7. License information
8. Acknowledgments
You should replace the placeholder image URL with an actual screenshot or GIF of your tool in action once you have one, and update the GitHub repository URL and your name in the appropriate places.
FAQs
A CLI tool to automate git commit and push using React Terminal
We found that git-ai-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

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.