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:
alexanxin
2026-03-25 15:22:55 +01:00
commit bcb3233ecb
8 changed files with 1245 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Environment variables (contains secrets)
.env
# Dependencies
node_modules/
__pycache__/
*.pyc
# Cache
.ruff_cache/
.pytest_cache/
.mypy_cache/
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Logs
*.log