Ctrl K
ComunidadGuías…

config.example.yaml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
app:
  locale: en  # supported: en, nb
  time_format: locale  # locale, 12h, or 24h
  log_level: info  # debug, info, warning, error

web:
  host: 0.0.0.0
  port: 8080
  poll_interval: 3000  # ms between status checks on pending page
  pin: ${BRG_PIN}  # optional, empty = no auth
  # session_secret: auto-generated if not set
  # base_url: http://10.0.0.1:8080  # LAN IP for Telegram links (auto-detected by deploy.sh, or set BRG_BASE_URL env var)

telegram:
  bot_token: ${BRG_BOT_TOKEN}
  admin_chat_id: ${BRG_ADMIN_CHAT_ID}
  # api_url: https://tg-relay.example.com  # custom Telegram Bot API server/relay (or BRG_TELEGRAM_API_URL)

youtube:
  search_max_results: 50
  channel_cache_results: 200  # max videos per allowlisted channel in cache
  channel_cache_ttl: 1800     # seconds between channel cache refreshes (default 30min)
  ydl_timeout: 30             # seconds — max wall-clock time per yt-dlp operation
  shorts_enabled: false       # show Shorts in dedicated row (toggle via /shorts command)

database:
  path: db/videos.db

watch_limits:
  daily_limit_minutes: 120  # 0 = unlimited
  timezone: America/New_York
  notify_on_limit: true