@wizdomic/gtxr
v1.0.2
Published
AI-powered Git workflow automation. Stage, commit, and push in one command.
Maintainers
Readme
GTXR
AI-powered Git workflow automation. Stage, commit, and push in one command.
No Python. No pip. No SSL issues. Just Node.js.
Install
npm install -g @wizdomic/gtxrSetup
gtxr setupChoose a provider and paste your API key. Skippable — works without AI too.
| Provider | Model | Get a key | |-----------|----------------------------|-----------| | OpenAI | gpt-4o-mini | https://platform.openai.com/api-keys | | Anthropic | claude-3-5-sonnet-20241022 | https://console.anthropic.com/settings/keys | | Gemini | gemini-2.5-flash | https://aistudio.google.com/app/apikey |
Usage
gtxrChanges:
M src/app.js
Files to add (. for all) [.]: .
✓ Staged: .
Generate commit message with AI? (y/n) [y]: y
ℹ Generating via anthropic...
Add input validation to user registration
Use this? (y / r=regenerate / m=manual) [y]: y
✓ Committed: Add input validation to user registration
Push to remote? (y/n) [y]: y
✓ Pushed to origin/mainCommands
| Command | Description |
|---------|-------------|
| gtxr | Full workflow — add → commit → push |
| gtxr setup | Configure AI provider and API key |
| gtxr upgrade | Upgrade to latest version |
| gtxr uninstall | Remove GTXR from your system |
| gtxr --no-push | Commit only, skip push |
| gtxr --no-ai | Skip AI, type message manually |
| gtxr --force-push | Force push ⚠️ destructive |
| gtxr --branch <n> | Switch or create branch before committing |
| gtxr --help | Show all commands |
License
MIT
