npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@traisetech/autopilot

v2.5.0

Published

An intelligent Git automation CLI that safely commits and pushes your code so you can focus on building.

Readme

🚀 Autopilot

Autopilot Logo

An intelligent Git automation CLI that safely commits and pushes your code so you can focus on building.

npm version License: MIT Node Version Downloads GitHub Stars Build Status PRs Welcome

Built by Praise Masunga (PraiseTechzw)

FeaturesInstallationHow It WorksSafety & GuaranteesCommands


📖 Table of Contents


🔍 How Autopilot Works

Autopilot is a local CLI tool that runs in the background of your terminal. It watches your file system for changes and automates the Git workflow based on your configuration.

No Magic. Just Automation.

  1. Watch: It monitors your project directory for file modifications, creations, and deletions.
  2. Wait: It uses a smart debounce timer (default: 20s) to wait until you stop typing.
  3. Check: It verifies the repository status (branch, remote, conflicts) before acting.
  4. Commit: It stages changes and creates a commit. If AI is enabled, it generates a meaningful message; otherwise, it uses a smart template.
  5. Push: It pushes to your remote repository (optional, enabled by default).

You can stop, pause, or undo Autopilot at any time.


🛡️ Safety & Guarantees

We prioritize the safety of your code above all else. Autopilot follows strict rules to ensure your work is never lost or corrupted.

Non-Negotiable Guarantees

  • Never force-pushes: Autopilot only performs standard git push operations. It will never overwrite remote history.
  • Never commits ignored files: It strictly respects your .gitignore and .autopilotignore rules.
  • Never operates during merge/rebase: If your repo is in a merge, rebase, or cherry-pick state, Autopilot pauses automatically.
  • Never transmits source code without opt-in: Your code stays local. It is only sent to an AI provider (Gemini/Grok) if you explicitly enable AI features and provide your own API key.
  • Pauses when uncertain: If a git error occurs, a conflict is detected, or the network fails, Autopilot pauses and waits for your intervention.
  • Allows all actions to be undone: The autopilot undo command safely reverts the last automated commit without losing your file changes.

⚠️ Failure & Recovery

What happens when things go wrong? Autopilot is designed to fail safely.

  • Merge Conflicts: If a git pull results in a conflict, Autopilot aborts the operation and notifies you. It will not attempt to resolve conflicts automatically.
  • Network Issues: If the internet disconnects, Autopilot will queue commits locally and attempt to push when connectivity is restored (if auto-push is enabled).
  • Accidental Commits: If Autopilot commits something you didn't intend, simply run autopilot undo. Your files will remain modified in your working directory, but the commit will be removed.

🤖 AI & Privacy

Autopilot offers optional AI integration (Google Gemini or xAI Grok) to generate context-aware commit messages.

  • Opt-In Only: AI features are disabled by default. You must enable them and provide your own API key.
  • Data Usage: When enabled, only the git diff (text changes) is sent to the AI provider to generate the message.
  • Privacy: Your code is not trained on by Autopilot. We do not store or proxy your code. Interactions are directly between your machine and the AI provider.
  • Ranking: AI usage does not affect your position on the Leaderboard.

🏆 Leaderboard & Metrics

Autopilot includes a Focus Engine that tracks your local productivity (coding time, commit streaks). You can optionally sync this data to the global Leaderboard.

  • Participation is Opt-In: You must explicitly enable syncing with autopilot config set leaderboard.sync true.
  • Privacy-Safe: We do not send your email or username directly. IDs are hashed/anonymized.
  • No Code Collected: The leaderboard tracks metrics (time, counts), not code. No file contents are ever synced.
  • Insight over Competition: The goal is to help you understand your habits, not to gamify commit spam. Rankings favor consistency and quality.

⬇️ Installation

Install Autopilot globally using npm:

npm install -g @traisetech/autopilot

Or run it directly via npx:

npx @traisetech/autopilot start

🚀 Quick Start

  1. Navigate to your Git repository:

    cd /path/to/my-project
  2. Initialize Autopilot:

    autopilot init

    Follow the interactive prompts to configure settings (or accept defaults).

  3. Start the watcher:

    autopilot start

    Autopilot is now running! It will monitor file changes and automatically commit/push them based on your configuration.

  4. View the Dashboard: Open a new terminal and run:

    autopilot dashboard

🎨 VS Code Extension (Recommended)

Prefer a GUI? Use our official Autopilot VS Code Extension:

  • Live Sidebar: Monitor status, branch, and queue at a glance.
  • Integrated Logs: View color-coded process output directly in your editor.
  • Quick Actions: Start, stop, pause, and undo with a single click from the status bar.
  • Settings UI: Form-based configuration of your .autopilotrc.json.

Install from the VS Code Marketplace


🛠️ Commands

| 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 | Temporarily pause automation. | | autopilot resume | Resume automation. | | autopilot insights | View productivity stats and analytics. | | autopilot doctor | Diagnose configuration and environment issues. |


⚙️ Configuration

Autopilot uses an .autopilotrc.json file in your project root.

{
  "debounceSeconds": 20,
  "minSecondsBetweenCommits": 180,
  "autoPush": true,
  "blockBranches": ["main", "master"],
  "teamMode": true,
  "preventSecrets": true,
  "ai": {
    "enabled": true,
    "provider": "gemini"
  }
}

See docs/CONFIGURATION.md for full details.


🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.

  1. Fork the repo
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.