Package Exports
- @snapcommit/cli
- @snapcommit/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@snapcommit/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SnapCommit
Snap. Commit. Track.
Instant AI commits. Beautiful progress tracking. Never write commit messages again.
What is SnapCommit?
SnapCommit is a CLI tool that makes Git & GitHub effortless:
- ⚡ Instant AI Commits - Professional messages in one command (
snap) - 🌍 Natural Language - Just say what you want: "create a PR", "merge main"
- 📊 Beautiful Stats - Track your coding journey with gorgeous analytics
- 🔥 Streak Tracking - Gamification to keep you motivated
- 🚀 Universal - Works everywhere (any IDE, any terminal, any OS)
Quick Start
# Install globally
npm install -g snapcommit
# Set up (adds aliases)
snapcommit setup
# Make your first commit
snap # That's it!Installation
Option 1: npm (Recommended)
npm install -g snapcommitOption 2: Install Scripts
macOS / Linux:
curl -fsSL https://snapcommit.dev/install.sh | bashWindows (PowerShell):
iwr https://snapcommit.dev/install.ps1 | iexSetup
After installation, run setup to integrate with your shell:
snapcommit setupThis adds snap and sc aliases. Restart your terminal and you're ready!
Usage
Interactive Mode
Type snap to enter interactive mode:
$ snap
⚡ SnapCommit Interactive Mode
snap> commit my authentication work
✅ feat(auth): implement user authentication system
snap> create a PR
✅ PR #42 created
snap> check ci
✅ All checks passedJust Talk to It 💬
SnapCommit is Cursor for Git - no commands to memorize. Just describe what you want:
snap> commit my authentication work
✅ feat(auth): implement user authentication system
snap> I messed up, go back to how it was before
✅ Reverted last commit
snap> open a pull request for this feature
✅ PR #42 created
snap> did the tests pass?
✅ All CI checks passedThat's the whole point - talk naturally, like you would to a teammate. SnapCommit figures out what you mean.
Authentication
SnapCommit includes built-in AI models! No API keys needed.
- Sign up at: https://snapcommit.dev/login
- Subscribe: $9.99/month or $100/year
- Get your token: From your dashboard
- Authenticate CLI: Enter token when prompted
After installing, the CLI will guide you through authentication on first use.
Features
- ✅ AI Commit Messages - Claude 4.5 Sonnet generates perfect commits
- ✅ Natural Language Git - No more memorizing commands
- ✅ GitHub Integration - PRs, CI checks, workflows, releases
- ✅ Progress Tracking - Streaks, heatmaps, milestones
- ✅ Multi-Repo Support - Switch between projects seamlessly
- ✅ Conflict Resolution - AI-guided merge conflict solving
- ✅ Smart Error Handling - Auto-retry with intelligent fixes
- ✅ Privacy First - Local-first, minimal data sent to AI
- ✅ Cross-Platform - macOS, Linux, Windows
Pricing
- Monthly: $9.99/month - Unlimited AI commits, all features
- Yearly: $100/year - Save 17% (best value!)
Supported Platforms
- ✅ macOS (zsh, bash, fish)
- ✅ Linux (zsh, bash, fish)
- ✅ Windows (PowerShell, Git Bash, WSL)
- ✅ Any terminal, any IDE
Requirements
- Node.js 18+
- Git installed
- API keys (we'll help you get them)
Documentation
Full docs at snapcommit.dev/docs
Support
License
MIT © SnapCommit Team
Made with ❤️ for developers who want to focus on building, not git messages.