-vibe-coder-telegram
v1.0.0
Published
A CLI package that scaffolds a Telegram-based coding assistant into an existing Node.js project.
Downloads
139
Maintainers
Readme
package-vibe-coder-telegram
A CLI scaffolder that adds a Telegram-based coding assistant into an existing Node.js project.
Features
npx package-vibe-coder-telegram initnpx package-vibe-coder-telegram init my-project- Generates
telegram/folder with modular commands and utilities - Generates
.env.example - Injects bot scripts into target
package.json - Automatically installs required runtime dependencies
- Includes error handling, timestamp logging, and VS Code file creation support
Installation
Use npx directly without installing globally:
npx package-vibe-coder-telegram initOr generate into a target folder:
npx package-vibe-coder-telegram init my-projectUsage
Run the CLI in the target project directory:
cd existing-node-project
npx package-vibe-coder-telegram initIf you want to scaffold into another path:
npx package-vibe-coder-telegram init path/to/projectGenerated bot commands
/ping— test bot online/cmd <shell command>— execute command and return stdout/stderr/new <relative/file/path>— create a file recursively and open it in VS Code
Required environment
Copy .env.example to .env and set values:
TELEGRAM_BOT_TOKEN=your_bot_token
ALLOWED_CHAT_ID=123456789
OPEN_EDITOR_COMMAND=codeTarget package scripts
The initializer injects these scripts into the target package.json:
telegram:starttelegram:env
Publish to npm
- Update the version in
package.json. - Log in to npm:
npm login- Publish the package:
npm publish --access public- Verify the published package by running:
npx package-vibe-coder-telegram --helpNotes
- The generated bot uses polling via
node-telegram-bot-api. /cmdand/newcommands are restricted toALLOWED_CHAT_IDfor security.OPEN_EDITOR_COMMANDdefaults tocodefor VS Code integration.
