Skip to content

Installation

Prerequisites

  • Node.js 18+
  • OpenCode CLI installed and available on PATH (see https://opencode.ai/docs/cli/)
  • OpenCode server running (opencode serve)

Install

npm install -g opencode-telegram-bridge

Setup (Linux systemd / macOS launchd)

opencode-telegram-bridge setup

The wizard can also set up OpenCode as a user service. It supports Linux systemd and macOS launchd.

See: - systemd - launchd

Run the bot

opencode-telegram-bridge