Initial release: opencode-dispatch
Control opencode from Telegram — like Claude's Dispatch feature. - Python (bot.py) and Node.js (bot.js) implementations - Connects to opencode server API via POST /session/:id/message - Queue system for handling concurrent messages - /start, /help, /status, /working, /clear commands - Workspace scoping via cd into project directory - Password protection support via OPENCODE_SERVER_PASSWORD
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Telegram Bot Token
|
||||
# Get this from @BotFather on Telegram
|
||||
# 1. Open Telegram and search for @BotFather
|
||||
# 2. Send /newbot
|
||||
# 3. Follow the prompts to create your bot
|
||||
# 4. Copy the token it gives you
|
||||
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
||||
|
||||
# opencode API URL
|
||||
# Must match the --port flag you use when starting opencode serve
|
||||
# Example: opencode serve --port 5050
|
||||
OPENCODE_API_URL=http://127.0.0.1:5050
|
||||
|
||||
# Optional: password protect the opencode server
|
||||
# If set, you must also run: OPENCODE_SERVER_PASSWORD=your-secret opencode serve --port 5050
|
||||
# OPENCODE_SERVER_PASSWORD=your-secret
|
||||
Reference in New Issue
Block a user