mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-11 03:13:50 +00:00
a5cade43cfed8ce9112c62eada355c08627e381a
Java reference impl renamed from store-scraper-bot to legacy-store-scraper-bot. The new canonical store-scraper-bot is the JS implementation.
go-store-scraper-bot
Go port of legacy-store-scraper-bot (Java).
⚠️ Preview / unstable — use at your own risk. This port was produced largely with AI assistance and has not been tested end-to-end against a live Telegram bot or the upstream Java implementation. Behavior parity is intended but unverified. Expect bugs, schema mismatches, or runtime failures. Do not run against a production database.
The Java version remains the reference implementation. This Go version is
under development; the plan is to replace the Java version on the original
repo's feature/go branch once it stabilizes.
Status
- Builds cleanly (
go build ./...,go vet ./...). - Mongo schema is intended to match Java (collections:
common,group,apple_app,google_app; string_id;classdiscriminator field). - Telegram command identifiers match Java exactly (
/info,/addgroup,/delgroup,/listgroup,/addapple,/delapple,/addgoogle,/delgoogle,/listapp,/checkapp,/checkappscore,/rawappleapp,/rawgoogleapp). - HTML parse mode; weekend-silent daily report; 10-minute API cache.
Configuration
Required env vars (see .env.example):
| Name | Notes |
|---|---|
TELEGRAM_BOT_TOKEN |
Telegram bot token |
TELEGRAM_BOT_USERNAME |
Bot username |
MONGODB_CONNECTION_STRING |
Preferred (Java parity); falls back to MONGO_URI |
ADMIN_IDS |
Comma-separated Telegram user IDs |
ENV |
DEVELOPMENT or PRODUCTION |
SOURCE_COMMIT |
Optional; shown on startup |
Run
go build -o bot ./cmd/bot
./bot
Or via Docker Compose:
docker compose up --build
Description
Telegram bot tracking Apple App Store + Google Play app updates — serverless Node.js on Vercel with Upstash Redis; earlier Java and Go versions kept in history.
Readme
Apache-2.0
1,006 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
100%