Intelligent Git automation that commits and pushes your code, so you can focus on building.
Built by Praise Masunga (PraiseTechzw)
Features โข Installation โข Quick Start โข Configuration โข Commands
- Why Autopilot?
- Features
- Installation
- Quick Start
- Commands
- Configuration
- Safety Features
- Troubleshooting
- Contributing
- License
Autopilot is designed for developers who want to stay in the flow. It solves manual Git workflow fatigue by handling the repetitive cycle of staging, committing, and pushing changes, allowing you to focus entirely on writing code.
# Every. Single. Time.
git add .
git commit -m "update stuff"
git push
# Repeat 50+ times a day...
# Lose focus on coding
# Forget to commit
# Inconsistent messages |
# One time setup
autopilot init
autopilot start
# That's it!
# Focus on coding
# Auto-commits with smart messages
# Never lose work again |
- ๐ง AI Commit Messages: Gemini 2.5-powered, context-aware conventional commit messages.
- โก Watcher Engine: Real-time file monitoring with smart debouncing using
chokidar. - ๐ก๏ธ Safety First: Blocks commits on protected branches and checks remote status.
- ๐ Automated Flow: Fetches, stages, commits, and pushes (optional) automatically.
- ๐ฅ Team Mode: Pull-before-push and conflict abortion with preset workflows.
- ๐ฅ๏ธ Dashboard: Real-time terminal dashboard with status and activity feed.
- โฎ๏ธ Undo System: Safely rollback the last autopilot commit with one command.
- ๐ Focus Engine & Insights: Track active coding time, streaks, peak hours, and commit quality.
- โ๏ธ Zero Config: Works out of the box, but fully configurable via
.autopilotrc.json. - ๐ฉบ Self-Healing: Includes a
doctorcommand to diagnose and fix issues.
- AI commit generation via Google Gemini (opt-in, with graceful fallback).
- Team presets (
safe-team,solo-speed,strict-ci) for different workflows. - Safety net with
autopilot undo, secret detection, and large-file prevention. - Productivity Focus Engine with
autopilot insightsand CSV export.
Install Autopilot globally using npm:
npm install -g @traisetech/autopilotOr run it directly via npx:
npx @traisetech/autopilot start-
Navigate to your Git repository:
cd /path/to/my-project -
Initialize Autopilot:
autopilot init
Follow the interactive prompts to configure settings (or accept defaults).
-
Start the watcher:
autopilot start
Autopilot is now running! It will monitor file changes and automatically commit/push them based on your configuration.
-
View the Dashboard (New): Open a new terminal and run:
autopilot dashboard
| Command | Description |
|---|---|
autopilot init |
Initialize configuration in the current repo. |
autopilot start |
Start the watcher process (foreground). |
autopilot stop |
Stop the running watcher process. |
autopilot status |
Check if Autopilot is running. |
autopilot dashboard |
View real-time status and activity UI. |
autopilot undo |
Revert the last Autopilot commit. |
autopilot pause [reason] |
Temporarily pause automation. |
autopilot resume |
Resume automation. |
autopilot insights |
View productivity stats and analytics. |
autopilot doctor |
Diagnose configuration and environment issues. |
Autopilot uses an .autopilotrc.json file in your project root.
{
"debounceSeconds": 20,
"minSecondsBetweenCommits": 180,
"autoPush": true,
"blockBranches": ["main", "master"],
"teamMode": true,
"preventSecrets": true,
"maxFileSizeMB": 50
}See docs/CONFIGURATION.md for full details.
Autopilot includes multiple layers of protection:
- Branch Protection: Prevents running on blocked branches (default:
main,master). - Secret Detection: Scans for AWS keys, GitHub tokens, and other secrets before committing.
- File Size Limits: Prevents committing accidental large files (>50MB).
- Team Mode: Ensures local changes are rebased on top of remote changes to prevent conflicts.
- Undo: Allows quick recovery from unwanted auto-commits.
We welcome contributions! Please see CONTRIBUTING.md for details.
- Fork the repo
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.