{"_id":"@ajayvellayapan/commit-bot","name":"@ajayvellayapan/commit-bot","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ajayvellayapan/commit-bot","version":"1.0.0","description":"A CLI tool to auto-commit and push changes on a schedule","main":"index.js","bin":{"commit-bot":"index.js"},"scripts":{"start":"node index.js"},"author":{"name":"Ajay Vellayapan"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajayvellayapan/commit-bot.git"},"dependencies":{"commander":"^13.1.0","inquirer":"^12.5.0","node-cron":"^3.0.3","pm2":"^6.0.5","simple-git":"^3.27.0"},"_id":"@ajayvellayapan/commit-bot@1.0.0","gitHead":"3cd72e7a645a91afc9160540e93b1305da2a0f89","bugs":{"url":"https://github.com/ajayvellayapan/commit-bot/issues"},"homepage":"https://github.com/ajayvellayapan/commit-bot#readme","_nodeVersion":"20.17.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-MfWNdtijDy16kgY0no5WCBoL3jWhyWslF1PkvZuibmil7aBytafQMnB0nKqYRsXQs4PmdLWncQZNqaHioly7VA==","shasum":"e984e0bba55e8d4e65902ad43cfd93b733e3ef3b","tarball":"https://registry.npmjs.org/@ajayvellayapan/commit-bot/-/commit-bot-1.0.0.tgz","fileCount":4,"unpackedSize":6035,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG4bcGlIsmrzXKk1kw5EBgY7X7aIzM0eun7xwpBxktswAiB+HIe3mnCdpIoEPL2fNuoKvOSpbooiODQVmjAGJnIk8g=="}]},"_npmUser":{"name":"ajayvellayapan","email":"ajayvellayapan@berkeley.edu"},"directories":{},"maintainers":[{"name":"ajayvellayapan","email":"ajayvellayapan@berkeley.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commit-bot_1.0.0_1743268417865_0.03193541594391047"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-29T17:13:37.807Z","1.0.0":"2025-03-29T17:13:38.046Z","modified":"2025-03-29T17:13:38.304Z"},"maintainers":[{"name":"ajayvellayapan","email":"ajayvellayapan@berkeley.edu"}],"description":"A CLI tool to auto-commit and push changes on a schedule","homepage":"https://github.com/ajayvellayapan/commit-bot#readme","repository":{"type":"git","url":"git+https://github.com/ajayvellayapan/commit-bot.git"},"author":{"name":"Ajay Vellayapan"},"bugs":{"url":"https://github.com/ajayvellayapan/commit-bot/issues"},"license":"MIT","readme":"# Commit Bot\n\n**Commit Bot** is a CLI tool that automatically commits and pushes changes on the current working branch at a set time interval.\n\n## Features\n\n- Auto-commits and pushes any local changes\n- Runs silently in the background with PM2\n- Works on the current branch\n\n---\n\n## Installation\n\n```bash\nnpm install -g commit-bot\n```\n\n---\n\n## Usage\n\n### Step 1: Initialize in a Git repo\n```bash\ncd your-project\ncommit-bot init\n```\nYou'll be prompted to set the commit interval in minutes (e.g. `30`).\n\n### Step 2: Start the bot\n```bash\ncommit-bot start\n```\nThis starts a background process that checks for changes and auto-commits + pushes them every X minutes.\n\n### Step 3: Check status\n```bash\ncommit-bot status\n```\nShows if the bot is running and when the last auto-commit occurred.\n\n### Step 4: Stop the bot\n```bash\ncommit-bot stop\n```\nStops the background sync process.\n\n---\n\n## Configuration\n\nStored in `.commit-bot/config.json` (not tracked by Git):\n```json\n{\n  \"interval\": \"30\"\n}\n```\n\nAlso writes a timestamp to `.commit-bot/last-run.log`.\n\n---\n\n## Requirements\n- Node.js v16+\n- PM2 globally installed: `npm install -g pm2`\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-d3471a311d7807f5428c0b252f6257f8"}