Files

22 lines
794 B
Bash
Raw Permalink Normal View History

2026-03-27 16:55:22 -04:00
# Telegram Bot Token (required)
2026-03-25 15:22:55 +01:00
# 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
2026-03-27 16:55:22 -04:00
# Restrict bot to your Telegram chat (required)
# Get your chat ID by messaging @userinfobot on Telegram
# The bot will refuse to start without this value.
TELEGRAM_ALLOWED_CHAT_ID=your_chat_id_here
2026-03-25 15:22:55 +01:00
# opencode API URL
# Must match the --port flag you use when starting opencode serve
2026-03-27 16:55:22 -04:00
# Example: opencode serve --port 4096
OPENCODE_API_URL=http://127.0.0.1:4096
2026-03-25 15:22:55 +01:00
# Optional: password protect the opencode server
2026-03-27 16:55:22 -04:00
# If set, you must also run: OPENCODE_SERVER_PASSWORD=your-secret opencode serve --port 4096
2026-03-25 15:22:55 +01:00
# OPENCODE_SERVER_PASSWORD=your-secret