opencode-telegram-bridge
v1.4.0
Published
Telegram bot bridge for the OpenCode server
Maintainers
Readme
OpenCode Telegram Bridge
Run a Telegram bot that forwards messages to an OpenCode server and returns responses.
Installation (users)
This project supports Linux (systemd) and macOS (launchd) for long-running services.
Prereqs: Node.js 18+, OpenCode CLI on PATH, and an OpenCode server running (opencode serve).
Recommended: use the installation wizard to set this up as a service.
npm install -g opencode-telegram-bridge
opencode-telegram-bridge setupThe wizard is the easiest and recommended path; it writes the systemd/launchd service definition and env file for you and starts the service.
For required environment variables and service setup, see:
Contributing:
Installation (developers)
git clone https://github.com/gabriel-trigo/opencode-telegram-bridge.git
cd opencode-telegram-bridge
npm install
cp .env.example .envIn one terminal:
opencode serveIn another terminal:
npm run dev