Commit Graph
4 Commits
Author SHA1 Message Date
tiennm99 4f565728da feat: store telegram config in redis 2026-06-09 16:54:01 +07:00
tiennm99 fb9384d965 feat: add crawl comparison command 2026-06-09 14:10:05 +07:00
tiennm99 f03099a18e feat: store session and exports in redis for cross-device portability
Replace the device-bound Telethon .session file and local CSV folders with
Redis-backed storage so the tool runs on any device from just .env.

- StringSession persisted at <prefix>:session:<phone> (no re-login per device)
- each group export saved as one self-contained JSON key per run:
  <prefix>:run:<phone>:<yyyymmddhhmmss>:<group_id>
- REDIS_PREFIX namespaces all keys; applied via a single key() helper
- no cross-key references: deleting any key cannot corrupt another's state
- list_exports() lists history, tolerant of deleted/corrupt keys
2026-06-08 16:49:34 +07:00
tiennm99 d6251c0020 [Add] init 2024-03-29 22:31:46 +07:00