mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-14 22:17:37 +00:00
feat: initial JavaScript port of store-scraper-bot
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.
This commit is contained in:
1 parent
ca1a409610
commit
3c97553c69
41 files changed
+1852
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 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 * * *
|
||||
Reference in new issue
Block a user