{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "themyxa-telegram-parser--compare-engagement-between-periods",
 "repo": "TheMyxa/telegram-parser",
 "repo_url": "https://github.com/TheMyxa/telegram-parser",
 "repo_slug": "themyxa-telegram-parser",
 "title": "Compare comment and reaction activity across two periods",
 "page_title": "How to compare comment and reaction activity across two periods with Telegram Parser",
 "summary": "Measure comments, unique users, and reactions for a period against the previous period of the same length.",
 "who": "A channel owner reviewing whether a campaign or a content change raised discussion compared with the period before.",
 "problem": "Judging engagement by eye across weeks is unreliable, and manual counting from the app is slow.",
 "outcome": "A comparison of comments, unique users, and comment reactions between the chosen period and the previous one.",
 "steps": [
  "Make sure a JSON export exists in `data/raw/`, for example from `docker compose run --rm cli export json`.",
  "Pick the period start and end dates. The end date is exclusive.",
  "Run `docker compose run --rm cli compare --from 2026-07-01 --to 2026-08-01 --file durov_dataset.json` with your own dates and file name.",
  "Optionally open the dashboard and use the compare API at `/api/export/<name>/compare` for the same dates."
 ],
 "agent_prompt": "In the TheMyxa/telegram-parser repo, run `docker compose run --rm cli compare --from <start-date> --to <end-date> --file <dataset-file>.json`. Expected output is the comment, user, and reaction counts for the period and the previous period. Verify that both date ranges match the requested dates before reporting.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The comparison runs on the saved JSON file, so it reflects the export's state at the time it was last refreshed.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Docker Desktop (recommended) or Python with the packages in requirements.txt",
  "Telegram API credentials: API_ID and API_HASH from https://my.telegram.org/apps",
  "A Telegram account session for Telethon, needed only for live exports"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/themyxa-telegram-parser/compare-engagement-between-periods/",
 "md": "https://dedupedai.com/use-cases/themyxa-telegram-parser/compare-engagement-between-periods/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/themyxa-telegram-parser--compare-engagement-between-periods.json",
 "api_version": "v1"
}
