{"_id":"-vibe-coder-telegram","name":"-vibe-coder-telegram","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"-vibe-coder-telegram","version":"1.0.0","description":"A CLI package that scaffolds a Telegram-based coding assistant into an existing Node.js project.","bin":{"package-vibe-coder-telegram":"bin/cli.js"},"main":"src/init.js","scripts":{"test":"node --version"},"keywords":["telegram","cli","scaffold","coding-assistant","nodejs","bot"],"author":"","license":"MIT","dependencies":{"chalk":"^5.3.0","commander":"^11.0.0","dotenv":"^16.4.3","fs-extra":"^11.1.1","ora":"^9.4.0","node-telegram-bot-api":"^0.61.0"},"engines":{"node":">=18"},"_id":"-vibe-coder-telegram@1.0.0","_nodeVersion":"20.19.4","_npmVersion":"11.5.2","dist":{"integrity":"sha512-JOl0CFyQ3i8NDSLUjIhqfJiJozWCpvXRipVR/btpRg00/BvzLcl+9se7kVOu931C9l20MVtt5yXA+98xWUwoQg==","shasum":"7ff0bc3f92c6e15d496d6e257c5ea55c88d0661c","tarball":"https://registry.npmjs.org/-vibe-coder-telegram/-/-vibe-coder-telegram-1.0.0.tgz","fileCount":12,"unpackedSize":13433,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA3ICAa4kDnErf6SAyYYuszP5Wk+BglLIdQ6qZWj3dF0AiEA8AlEwUDEk3rxsxU6UehroKchWB/cj5gRYGxbjuX90Fk="}]},"_npmUser":{"name":"androwebdev","email":"blackyes.whiteyes@gmail.com"},"directories":{},"maintainers":[{"name":"androwebdev","email":"blackyes.whiteyes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/-vibe-coder-telegram_1.0.0_1778932622281_0.4918003970166225"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-16T11:57:02.209Z","1.0.0":"2026-05-16T11:57:02.440Z","modified":"2026-05-16T11:57:02.616Z"},"maintainers":[{"name":"androwebdev","email":"blackyes.whiteyes@gmail.com"}],"description":"A CLI package that scaffolds a Telegram-based coding assistant into an existing Node.js project.","keywords":["telegram","cli","scaffold","coding-assistant","nodejs","bot"],"license":"MIT","readme":"# package-vibe-coder-telegram\n\nA CLI scaffolder that adds a Telegram-based coding assistant into an existing Node.js project.\n\n## Features\n\n- `npx package-vibe-coder-telegram init`\n- `npx package-vibe-coder-telegram init my-project`\n- Generates `telegram/` folder with modular commands and utilities\n- Generates `.env.example`\n- Injects bot scripts into target `package.json`\n- Automatically installs required runtime dependencies\n- Includes error handling, timestamp logging, and VS Code file creation support\n\n## Installation\n\nUse `npx` directly without installing globally:\n\n```bash\nnpx package-vibe-coder-telegram init\n```\n\nOr generate into a target folder:\n\n```bash\nnpx package-vibe-coder-telegram init my-project\n```\n\n## Usage\n\nRun the CLI in the target project directory:\n\n```bash\ncd existing-node-project\nnpx package-vibe-coder-telegram init\n```\n\nIf you want to scaffold into another path:\n\n```bash\nnpx package-vibe-coder-telegram init path/to/project\n```\n\n## Generated bot commands\n\n- `/ping` — test bot online\n- `/cmd <shell command>` — execute command and return stdout/stderr\n- `/new <relative/file/path>` — create a file recursively and open it in VS Code\n\n## Required environment\n\nCopy `.env.example` to `.env` and set values:\n\n```env\nTELEGRAM_BOT_TOKEN=your_bot_token\nALLOWED_CHAT_ID=123456789\nOPEN_EDITOR_COMMAND=code\n```\n\n## Target package scripts\n\nThe initializer injects these scripts into the target `package.json`:\n\n- `telegram:start`\n- `telegram:env`\n\n## Publish to npm\n\n1. Update the version in `package.json`.\n2. Log in to npm:\n\n```bash\nnpm login\n```\n\n3. Publish the package:\n\n```bash\nnpm publish --access public\n```\n\n4. Verify the published package by running:\n\n```bash\nnpx package-vibe-coder-telegram --help\n```\n\n## Notes\n\n- The generated bot uses polling via `node-telegram-bot-api`.\n- `/cmd` and `/new` commands are restricted to `ALLOWED_CHAT_ID` for security.\n- `OPEN_EDITOR_COMMAND` defaults to `code` for VS Code integration.\n","readmeFilename":"README.md","_rev":"1-0405736fe1853483fb83ecc932675412"}