Commit Graph
28 Commits
Author SHA1 Message Date
tiennm99 25a965bfd6 feat(compare): default to first configured group 2026-07-16 08:54:02 +07:00
tiennm99 bd940799ca refactor: simplify project, no behavior change
- requirements.txt: drop pinned transitive deps (pyaes, pyasn1, rsa)
- .gitignore: trim from 166 to 19 lines (drop unused template cruft)
- crawl.py: remove no-op client.start(phone) after explicit sign-in
- common.py: inline single-use latest_two_group_exports into compare.py;
  simplify _member_index
- compare.py: use list_group_exports + slice; add lazy-import comment
- configure.py: add lazy-import comment
- config.py: lowercase error messages to match the rest of the project
2026-06-10 11:30:19 +07:00
tiennm99 2909df9b07 revert(compare): remove side-by-side compare UI
Removes compareui.py and its README entry; the side-by-side diff
output is no longer needed.
2026-06-10 11:09:16 +07:00
tiennm99 3254093d1f feat(compare): add side-by-side compare UI 2026-06-10 10:28:38 +07:00
tiennm99 d932770c6a fix(redis): remove temporary migration script 2026-06-10 10:08:50 +07:00
tiennm99 9f867b342e feat(redis): rename run export keys to group 2026-06-10 09:58:03 +07:00
tiennm99 c24b1a9770 feat(redis): store runs by group then time 2026-06-10 09:47:23 +07:00
tiennm99 24bf801656 feat(compare): render git diff style output 2026-06-10 09:32:42 +07:00
tiennm99 10298f4f5e feat(config): prompt for setup values 2026-06-10 09:12:31 +07:00
tiennm99 3d655ea020 fix(redis): remove phone key migration script 2026-06-10 09:04:54 +07:00
tiennm99 cd1115ab68 feat(redis): add phone key migration script 2026-06-10 09:01:43 +07:00
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 834ad56f65 feat: add one-off migration of local CSV exports to redis
Imports the 27 timestamped CSV export folders into the redis keyspace
(<prefix>:run:<phone>:<yyyymmddhhmmss>:<group_id>), mapping each sanitized
CSV filename to its group_id + real title and normalizing empty fields to
null to match live exports. Idempotent.
2026-06-08 16:57:23 +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 294ecf571f docs(readme): add output format, CSV columns, rate-limit and visibility notes 2026-05-11 21:45:51 +07:00
dependabot[bot] fc9b70349f build(deps): bump python-dotenv from 1.2.1 to 1.2.2 (#5)
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-version: 1.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 13:33:13 +07:00
dependabot[bot] 186f253f38 build(deps): bump pyasn1 from 0.6.2 to 0.6.3 (#4)
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-11 08:10:14 +07:00
tiennm99 db8fcbd2ad feat(proxy): remove proxy support 2026-02-26 12:24:21 +07:00
tiennm99 2223780de2 feat: update requirements 2026-02-26 11:51:11 +07:00
tiennm99 1073e06d15 feat: use id instead of name and predefined value instead of iterate over dialogs 2026-02-26 11:39:13 +07:00
tiennm99 685711d7b8 Update .gitignore 2026-02-26 11:28:42 +07:00
Tien Nguyen Minh e31fd64f35 Merge pull request #3 from tiennm99/dependabot/pip/cryptography-46.0.5
Bump cryptography from 45.0.5 to 46.0.5
2026-02-11 17:58:29 +07:00
dependabot[bot] 38203f4d67 Bump cryptography from 45.0.5 to 46.0.5
Bumps [cryptography](https://github.com/pyca/cryptography) from 45.0.5 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/45.0.5...46.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 02:25:11 +00:00
tiennm99 6726701d87 feat(proxy): add mtproxy support 2025-07-08 09:45:31 +07:00
tiennm99 7aab00b443 Update requirements.txt 2024-05-14 18:10:50 +07:00
tiennm99 d6251c0020 [Add] init 2024-03-29 22:31:46 +07:00
Tien Nguyen Minh 54b067fdf0 Initial commit 2024-03-29 21:41:03 +07:00