Files
maksarsanjeev 14c1f740d9 ops: installer asks for the subscription and bot token; first /start claims the bot
- install.sh prompts (hidden) for the VLESS subscription URL and the Telegram token on
  the first run, and picks Whisper base on VMs under 3.5 GB RAM.
- The owner chat no longer has to be looked up: whoever sends /start first becomes the
  owner (saved in the settings table); OWNER_CHAT_ID still overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 02:55:02 +03:00

27 lines
848 B
Bash

# /etc/brov-ops/config.env — owner root, mode 600. Fill in by hand; never commit.
# Telegram bot token from @BotFather (revoke and reissue if it was ever pasted anywhere).
TELEGRAM_TOKEN=
# Optional: fixed owner chat id. Empty = whoever sends /start first becomes the owner.
OWNER_CHAT_ID=
# Token BroV uses for the API (install.sh generates one).
API_TOKEN=
API_BIND=0.0.0.0
API_PORT=8787
TZ_NAME=Europe/Moscow
DIGEST_HOUR=9
QUIET_FROM=22
CLAUDE_BIN=/usr/local/bin/claude
CLAUDE_MODEL=haiku
WHISPER_MODEL=small
# Telegram and Claude are unreachable from Russia: the service (only it) goes through the
# local proxy core (brov-ops-proxy, mihomo, proxy mode — no system-wide VPN).
TELEGRAM_PROXY=http://127.0.0.1:7890
HTTPS_PROXY=http://127.0.0.1:7890
HTTP_PROXY=http://127.0.0.1:7890
NO_PROXY=localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8