@jashg91/gitpusher
v2.0.1
Published
๐ AI-powered Git auto commit & push CLI with smart commit messages
Maintainers
Readme
๐ GitPusher
AI-Powered Git Automation Tool
Beautifully designed CLI with secure cloud integration for effortless commits and pushes.
GitPusher now brings a powerful full-stack experience โ combining a web dashboard, secure API key management, and an intelligent CLI โ to make your Git workflow smarter, faster, and safer.
โจ Features
๐จ Beautiful Terminal UI โ Modern bordered interface with icons and progress indicators
๐ค AI-Generated Commits โ Uses Google Gemini AI for natural, meaningful commit messages
๐ Secure Cloud Integration โ Your API key stays encrypted and managed safely in the cloud
๐ง Smart Usage Analytics โ Tracks CLI usage and syncs with your dashboard automatically
โ๏ธ Flexible Configurations โ Works with multiple remotes and custom branches
๐ Dashboard Overview โ Manage API keys, usage, and stats visually
๐งฑ Project-Level Isolation โ Secure config file created per project
๐ก๏ธ Built for Security โ Hashed key storage, token verification, IP matching, and JWT protection
๐ Web Dashboard
Manage everything from one place โ your API keys, usage, and analytics.
๐ฅ๏ธ Visit: https://gitpusher-dashboard.vercel.app/
From the dashboard, you can:
- Add and manage API keys
- View usage stats and limits
- Sync CLI activity
- Delete your key permently
๐ ๏ธ Installation
Global Installation
npm install -g @jashg91/gitpusherVerify Installation
gitpusher --version
// OR you can use
gipusher -v๐ Getting Started (Step-by-Step Setup)
๐งฉ Step 1: Create Your Account
Go to GitPusher Dashboard and sign up with your email.
๐ Step 2: Generate Secure API Key
- After login, add your API key in the dashboard.
- GitPusher securely stores your key in the DataBase (hashed) and gives you a one-time setup token.
- Copy this token โ youโll use it to link your CLI.
โ๏ธ Step 3: Configure GitPusher CLI
In your project folder, run:
gitpusher config
? What would you like to do? (Use arrow keys)
โฏ ๐ Add Token
๐ View Usage Info
๐ Sync Usage Cache
๐๏ธ Delete Configuration
โ ExitChoose โAdd Tokenโ and paste the token you copied from the dashboard.
GitPusher automatically:
- Validates your token with the backend
- Retrieves your encrypted API key
- Generates a local config file
๐งฑ Important:
Add this line to your .gitignore file:
gitpusher_config.json
gitpusher_usage_cache.jsonThis ensures your configuration never leaves your local system.
โก Step 4: Start Using GitPusher
# Generate AI-powered commit message and push automatically
gitpusher "add new features"
# Push to specific remote or branch
gitpusher "deploy to production" --remote originThe CLI:
- Uses your securely stored API key for AI commits
- Tracks your usage
- Syncs data with the dashboard every 3 runs automatically
๐ Security Highlights
| Layer | Protection | Description | | --------------------------- | --------------------------------------- | -------------------------------------------- | | API Key | ๐ Hashed and never shown in plain text | Stored securely in backend | | Dashboard Communication | ๐ช JWT in httpOnly cookie | Prevents frontend access to sensitive tokens | | CLI Auth | ๐งฉ One-time setup token | Prevents direct key exposure | | IP Verification | ๐ IP stored during first use | Prevents token theft or key reuse | | Config File | ๐งฑ Local only + gitignored | Prevents accidental upload to GitHub | | Usage Sync | ๐ Auto sync every 3 uses | Keeps analytics and usage limits accurate |
Every layer of GitPusher is designed to protect both your API credentials and your development environment.
๐ง How It Works (End-to-End Flow)
[Frontend Dashboard] โ [Backend Server] โ [CLI Config] โ [Git Operations] โ [Dashboard Analytics]๐ Detailed Flow:
- User registers/login on the GitPusher Dashboard.
- Dashboard securely generates a hashed API key and returns a token to the user.
- User runs
gitpusher configin the CLI and enters that token. - CLI calls the backend to verify and store the API key securely in
.gitpusher_config.json. - GitPusher performs smart git operations using that key (AI commits, pushes).
- Every 3rd CLI use, usage data syncs back to the dashboard for analytics and tracking.
๐ Example Workflow
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ GitPusher โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
๐ Files to commit:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ ๐ Modified: src/App.js
โโโ โ Added: src/utils/aiCommit.js
โโโ ๐ New: README.md
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Files staged successfully
โ
Commit created: "feat: add AI-powered commit system"
โ
Pushed to origin/main
๐ Push Summary:
โโโ ๐ฟ Branch: main
โโโ ๐ก Remote: origin
โโโ ๐ฌ Message: feat: add AI-powered commit system
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Done! Synced with your dashboard.๐ง Dashboard Insights
Once you start using the CLI:
- Your usage statistics auto-sync after every 3 pushes
- You can see commit count, AI usage, and remaining quota
- You can delete or regenerate keys anytime
๐งฉ Why GitPusher is Secure by Design
โ No plain API key exposure โ End-to-end encrypted key exchange โ IP-locked token validation โ Local isolated config (never shared) โ Regular backend verification โ JWT-secured dashboard session
๐ Note
The frontend dashboard is fully functional for API key management, analytics, and syncing. However, a few features like updating your profile, custom preferences, and usage history filters are currently under development and will be available soon in future updates. ๐ง
Stay tuned for the upcoming version with enhanced personalization and live usage tracking!
๐ License
This project is proprietary software. All Rights Reserved ยฉ 2025 Jash Gusani Unauthorized copying, modification, or distribution is prohibited.
๐งโ๐ป Author
Jash Gusani
- ๐ GitHub
- ๐ฆ npm Profile
- ๐ผ LinkedIn
โญ Support the Project
If GitPusher enhances your workflow:
- โญ Star the repository
- ๐ก Suggest new features
- ๐ Report bugs
- ๐ค Share it with your team
Made with โค๏ธ by Jash Gusani Transforming the way developers interact with Git โ securely and intelligently.
