Commit Graph
103 Commits
Author SHA1 Message Date
tiennm99 1408dacd8e docs: point reference link at legacy-store-scraper-bot
Java reference impl renamed from store-scraper-bot to legacy-store-scraper-bot. The new canonical store-scraper-bot is the JS implementation.
2026-05-09 17:29:21 +07:00
tiennm99 366096529d docs: mark project as preview, AI-assisted, untested 2026-04-25 22:01:35 +07:00
tiennm99 0c2e6f326a feat: port logic from Java original to align with current Java behavior
- Switch Telegram parse mode to HTML to match Java client.
- Rename command identifiers to Java's: delgroup/delapple/delgoogle/
  checkappscore/rawappleapp/rawgoogleapp.
- Move admin singleton to "common" collection at _id="admin".
- Store group _id as string-of-int64 to match Java AbstractModel schema.
- Add `class` discriminator field on persisted models.
- Expand AppleAppResponse (42 fields) and GoogleAppResponse (63 fields,
  with nested Category/Feature) to match Java records.
- Add AppleAppRequest (track id or bundle id) / GoogleAppRequest types.
- Implement Raw* commands as Telegram document attachments instead of
  truncated text.
- Group-authorization gate (admin.HasGroup(chatId)) on non-admin commands.
- Cache TTL via millis timestamp; round score to 1 decimal; weekend silent
  send in scheduler.
- Match Java table renderer: " │ " separators, "─┼─" rows every 5 lines.
- Prefer MONGODB_CONNECTION_STRING env (Java parity); auto-extract DB
  name from URI with fallback to "store-scraper-bot".

Note: This is an AI-assisted port (not human-verified). Behavior parity
with the Java implementation has not been tested end-to-end; treat as a
starting point.
2026-04-25 20:26:25 +07:00
tiennm99 8339f7c28d Merge branch 'feature/claude-converted' 2025-12-03 20:46:02 +07:00
tiennm99 6902732667 feat(core): add logic converted from original repo by Claude Code 2025-11-15 18:54:06 +07:00
tiennm99 ece9fb3314 Update README.md 2025-12-01 00:08:58 +07:00
Tien Nguyen Minh af30a74bc6 Initial commit 2025-11-15 18:52:19 +07:00
tiennm99 b9d8483cdd Clear and rewrite
Retire the Java implementation; history continues from the Go port (store-scraper-bot-go).
2026-08-04 22:59:44 +07:00
tiennm99 23b09fb138 feat(mongodb): manual handle expire 2025-12-23 21:15:33 +07:00
tiennm99 186d4a29e6 feat(deps): cleanup 2025-12-16 22:20:49 +07:00
tiennm99 410e821a2e feat(repo): cleanup 2025-12-16 22:08:25 +07:00
tiennm99 7d42d621e9 fix(mongo): codec 2025-12-16 21:57:57 +07:00
tiennm99 9a2e9347da fix(deserialize): 2025-12-15 22:56:37 +07:00
tiennm99 f0a592f5cf feat(codec): try to auto handle (de)serialize 2025-12-15 22:49:57 +07:00
tiennm99 eff6049623 feat(mongo): cleanup 2025-12-15 22:46:21 +07:00
tiennm99 c351535f7c feat(db): use mongodb instead of couchbase (WIP) 2025-11-22 23:05:39 +07:00
tiennm99 ad0258de65 fix(schedule): exception break schedule 2025-11-17 12:07:21 +07:00
tiennm99 53b0c52ec2 Update log4j2.xml 2025-11-14 18:55:22 +07:00
tiennm99 9f4bd359e1 Update log4j2.xml 2025-11-14 18:32:53 +07:00
tiennm99 e33f43f326 feat(loki): try to enable loki again 2025-11-14 18:25:46 +07:00
tiennm99 8dd8989084 Update Dockerfile 2025-11-14 18:11:10 +07:00
tiennm99 3bcf1dca97 Update Dockerfile 2025-11-14 18:05:32 +07:00
tiennm99 e6152129a7 Update Dockerfile 2025-11-14 18:00:57 +07:00
tiennm99 b948c3f08f Update Dockerfile 2025-11-14 17:57:14 +07:00
tiennm99 b3cf4c754a Update Dockerfile 2025-11-14 17:49:49 +07:00
tiennm99 17ed2de1fa feat(docker): use distTar instead of fatjar 2025-11-14 17:45:13 +07:00
tiennm99 b55eddb62c feat(loki): remove loki 2025-11-14 01:29:02 +07:00
tiennm99 38e0875b09 Update build.gradle.kts 2025-11-14 01:26:04 +07:00
tiennm99 bea860368d Revert "Update Main.java"
This reverts commit e53b1884c4.
2025-11-14 01:25:35 +07:00
tiennm99 e53b1884c4 Update Main.java 2025-11-14 01:22:08 +07:00
tiennm99 5736d7f437 Update build.gradle.kts 2025-11-14 01:20:42 +07:00
tiennm99 7fe1f61fdc Update build.gradle.kts 2025-11-14 01:09:39 +07:00
tiennm99 68d1ad707a Update Log4j2 config and shadowJar transformer usage
Removed the custom 'packages' attribute from log4j2.xml configuration and updated the shadowJar task to use the class reference for Log4j2PluginsCacheFileTransformer. This streamlines configuration and aligns with recommended usage.
2025-11-14 01:05:24 +07:00
tiennm99 2b1dabf6a1 Update log4j2 config and shadowJar task
Added 'packages' attribute to log4j2.xml Configuration for custom Log4j2 plugins. Removed mergeServiceFiles() from shadowJar task in build.gradle.kts, relying only on Log4j2PluginsCacheFileTransformer.
2025-11-14 01:01:32 +07:00
tiennm99 d0212455f8 Update build.gradle.kts 2025-11-14 00:52:27 +07:00
tiennm99 cc6c1c0b4b feat(loki): add loki again
after fix shadow jar issue
2025-11-14 00:49:04 +07:00
tiennm99 354de805de Update log4j2.xml 2025-11-14 00:35:46 +07:00
tiennm99 a51525a141 Revert "Update Dockerfile"
This reverts commit 07dbdfc125.
2025-11-14 00:31:25 +07:00
tiennm99 07dbdfc125 Update Dockerfile 2025-11-14 00:29:22 +07:00
tiennm99 b2854b29cf Update Dockerfile 2025-11-14 00:26:15 +07:00
tiennm99 e57f7fb578 Update Dockerfile 2025-11-14 00:24:11 +07:00
tiennm99 0b44e7c5e8 feat(loki): remove 2025-11-14 00:23:05 +07:00
tiennm99 664471a26b Update Dockerfile 2025-11-14 00:17:40 +07:00
tiennm99 afede567c7 Update Dockerfile 2025-11-13 23:52:27 +07:00
tiennm99 efc204a0c1 Update GooglePlayScraperTest.java 2025-11-13 21:55:38 +07:00
tiennm99 aeba0ccb90 Update Main.java 2025-11-13 21:48:03 +07:00
tiennm99 250c48ba45 Update AddAppleAppCommand.java 2025-11-13 21:40:20 +07:00
tiennm99 7400360dc4 refactor: cleanup code
And test docker build time
2025-11-13 21:29:24 +07:00
tiennm99 d6a7396ca4 Update Dockerfile 2025-11-13 21:27:06 +07:00
tiennm99 1d4d957ea5 Update Dockerfile 2025-11-13 21:24:40 +07:00