{"id":27354304,"url":"https://github.com/jravi2/chat-analyzer","last_synced_at":"2025-04-12T21:53:59.644Z","repository":{"id":40956452,"uuid":"269769501","full_name":"JRavi2/Chat-Analyzer","owner":"JRavi2","description":"A python program to analyze your Social Chats","archived":false,"fork":false,"pushed_at":"2022-11-22T08:53:52.000Z","size":569,"stargazers_count":13,"open_issues_count":13,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-03-03T00:42:08.645Z","etag":null,"topics":["chat-analysis","data","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JRavi2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-05T20:33:46.000Z","updated_at":"2022-07-20T17:25:01.000Z","dependencies_parsed_at":"2023-01-22T03:21:20.236Z","dependency_job_id":null,"html_url":"https://github.com/JRavi2/Chat-Analyzer","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRavi2%2FChat-Analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRavi2%2FChat-Analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRavi2%2FChat-Analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRavi2%2FChat-Analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JRavi2","download_url":"https://codeload.github.com/JRavi2/Chat-Analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637820,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat-analysis","data","python"],"created_at":"2025-04-12T21:53:59.506Z","updated_at":"2025-04-12T21:53:59.638Z","avatar_url":"https://github.com/JRavi2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Analyzer\n\n## Description\n\n\n\nThis program analyzes the given exported chat for:\n- What is the percentage contribution (in terms of number of messages) of a user in the chat\n- How active each user is in the chat\n- How many times each user has started a conversation in the chat\n- Has a user's (or the whole chat's) interaction increased or decreased\n\nIt also allows the user to add some constraints (Like generating results only for a particular user and/or generating results within a given time frame) and generate graphs for some actions.\n\nIf you want to run your own analysis, to avoid parsing the chatfile and extracting it's data yourself, the program can also export the chat data after converting it into a standard json format.\n\nThe program currently works for Whatsapp, Signal and Telegram chat exports. To know how to export chats from the supported platforms, checkout the steps [here](docs/how-to-export.md)\n\n## How to Run\n\nFirst install the required dependencies using the command:\n\n    pip install -r requirements.txt\n\nThen you can run the program, by entering the `src` directory and then running the following command:\n\n    python chat_analyzer.py \u003coptions\u003e \u003cpath_to_chatfile\u003e\n\nTo know about the available options run the command:\n\n    python chat_analyzer --help\n\n## Testing\n\nTo test changes, enter the `tests` directory and run the following command:\n\n    pytest tests.py\n    \n    \n## Sample Plots\n\nThe program can provide various graphs of behavioral analytics upon request (wherever possible)\nFor example:\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/84586244/145166287-5643a572-ac17-4795-bdc6-43ab82a6274c.jpeg\" /\u003e \u003cbr\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/84586244/145522800-17787372-c11f-43e3-9b5d-916a423ad747.jpeg\" /\u003e\u003cbr\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/84586244/145166146-c8186b67-8f9b-4572-8f20-329fdb3bcbbc.jpeg\" /\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjravi2%2Fchat-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjravi2%2Fchat-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjravi2%2Fchat-analyzer/lists"}