mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-11 03:13:50 +00:00
Node.js 20+ ESM port mirroring Java/Go implementations. - 13 Telegram commands matching Java identifiers - MongoDB schema parity (common, group, apple_app, google_app collections) - Apple/Google scrapers calling store-scraper.vercel.app with 10-min cache - Daily 7am Vietnam-time cron with weekend-silent mode - HTML table renderer matching Java/Go output - Docker + Compose (prod and dev) Untested end-to-end against live Telegram or upstream API.
19 lines
504 B
Bash
19 lines
504 B
Bash
# Telegram Configuration
|
|
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
|
TELEGRAM_BOT_USERNAME=your_bot_username
|
|
|
|
# MongoDB Configuration (MONGODB_CONNECTION_STRING preferred; MONGO_URI fallback)
|
|
MONGODB_CONNECTION_STRING=mongodb://localhost:27017
|
|
MONGO_DATABASE=store_scraper_bot
|
|
MONGO_TIMEOUT_SECONDS=10
|
|
|
|
# Application Configuration
|
|
ENV=DEVELOPMENT
|
|
ADMIN_IDS=123456789,987654321
|
|
SOURCE_COMMIT=unknown
|
|
|
|
# Optional overrides
|
|
APP_CACHE_SECONDS=600
|
|
NUM_DAYS_WARNING_NOT_UPDATED=30
|
|
SCHEDULE_CHECK_APP_TIME=0 7 * * *
|