Skip to main content

Documentation Index

Fetch the complete documentation index at: https://botmux-dependabot-go-modules-modernc-org-sqlite-1-50-0.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

VariableEquivalent FlagDescription
TELEGRAM_BOT_TOKEN-tokenTelegram bot token
TELEGRAM_API_URL-tg-apiCustom Telegram API base URL
DEMO_MODE-demoSet to true for demo mode
BOTMUX_ALLOW_AUTO_REGISTERSet to 1 to allow the API proxy’s setWebhook interception to auto-register unknown bot tokens. Disabled by default.
BOTMUX_STRICT_WEBHOOKSet to 1 to require HTTPS for all webhook URLs, including loopback addresses. When unset, HTTP is allowed for localhost, 127.0.0.1, and ::1.

Usage

export TELEGRAM_BOT_TOKEN="123456:ABC-DEF..."
export TELEGRAM_API_URL="http://localhost:8081"
./botmux
Environment variables and CLI flags can be combined. CLI flags take precedence.