@opencode-channel/telegram
v0.2.1
Published
Telegram Bot API adapter for driving opencode sessions from Telegram chats.
Readme
@opencode-channel/telegram
Telegram Bot API adapter for driving opencode sessions from Telegram chats.
Install
npm install -g @opencode-channel/telegram@latest
opencode-channel-telegram --help
opencode-channel-telegram --check-config
opencode-channel-telegramOr install into a project and run from that project:
npm install @opencode-channel/telegram@latest
npx --no-install opencode-channel-telegram --helpRequired configuration:
TELEGRAM_BOT_TOKENorchannels.telegram.botTokenOPENCODE_BASE_URLoropencode.baseUrl
Useful flags:
--config <path>: use a specific JSON/JSONC config file.--check-config: validate merged config without connecting to Telegram.--print-config: print merged config with known secrets redacted.--doctor: inspect Telegram webhook state before polling.--delete-webhook: clear Telegram webhook state so polling can receive updates.--debug: print adapter debug logs.
For full setup and troubleshooting, see the repository README.md, CONFIG.md, and DEBUG.md.
License
MIT
