OmegaBaSMS/.env.example
elishadavidi 6d440225ad
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
Add support for returning messages
2026-06-04 15:39:16 +03:00

44 lines
1.4 KiB
Plaintext

# WhatsApp groups to monitor (comma-separated)
GROUP_NAMES=Group1,Group2
# TextBee SMS Gateway
TEXTBEE_DEVICE_ID=your_device_id
TEXTBEE_API_KEY=your_api_key
SMS_RECIPIENT=+972501234567
# Telegram (for QR re-auth notifications)
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
# Batch settings
BATCH_INTERVAL_MS=900000
BATCH_MAX_CHARS=700
INCLUDE_OWN_MESSAGES=true
OWN_NAME=yourname
# Keep-alive (ping a URL to prevent hosting sleep)
KEEP_ALIVE_URL=
KEEP_ALIVE_INTERVAL_MS=300000
# Google Apps Script Web App URL (for media uploads to Drive)
# Deploy assets/google-scripts/listener.js as a Web App and paste the URL here
APPS_SCRIPT_URL=
# SMS reply webhook — set a token, configure TextBee to POST to
# https://<your-host>/webhook/sms?token=<this_token>
SMS_WEBHOOK_TOKEN=
# ── Test / dry-run values ──────────────────────────────────
# These let you test features side-by-side with production.
# Messages from TEST_GROUP_NAMES are forwarded to TEST_SMS_RECIPIENT.
# SMS replies from TEST_SMS_FROM are routed to TEST_GROUP_NAMES.
# Groups to monitor for testing (comma-separated)
TEST_GROUP_NAMES=
# SMS recipient for test forwards (defaults to SMS_RECIPIENT if empty)
TEST_SMS_RECIPIENT=
# Phone number of a test device; SMS replies from this number
# will be routed to test groups instead of production groups
TEST_SMS_FROM=