https://github.com/markuspi/whyzer
WhatsApp Chat Analyzer
https://github.com/markuspi/whyzer
python whatsapp whatsapp-analysis
Last synced: 3 months ago
JSON representation
WhatsApp Chat Analyzer
- Host: GitHub
- URL: https://github.com/markuspi/whyzer
- Owner: markuspi
- License: mit
- Created: 2019-09-14T12:47:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T21:02:03.000Z (over 6 years ago)
- Last Synced: 2025-10-13T11:36:52.773Z (9 months ago)
- Topics: python, whatsapp, whatsapp-analysis
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# whyzer - WhatsApp Chat Analyzer
### Features
Creates charts about:
* Most active chat members
* Average message length per chat member
* Conversations started per chat member
* Chat activity per hour and day of the week (histogram)
* Commonly used words (word cloud)
* Commonly used Emoticons
### Installation
* Requires python3
* Install dependencies:
```bash
pip install -r requirements.txt
```
### Usage
* Export a WhatsApp Chat on your phone (Options > More > Export Chat)
* Select "without media"
* Transfer the .txt file to your computer (e.g via e-mail or cloud)
* Run `whyzer`:
> A note on the `--lang`option:
> This needs to be the same language like your phone is set to while exporting the chat.
> It is necessary for parsing timestamps and other events.
> The actual language of the chat messages doesn't matter.
```
whyzer.py --lang de --save ./out my-chat.txt
```
* All options:
```
usage: whyzer.py [-h] [--lang {en,de}] [--save DIR] [--no-plots] chatfile
Analyzes exported WhatsApp chats
positional arguments:
chatfile Exported WhatsApp Chat file (usually .txt)
optional arguments:
-h, --help show this help message and exit
--lang {en,de} Phone language used while exporting the chat. Determines
date format etc. This is independent of the language used in
chat (default: en)
--save DIR Directory in which plots get saved (default: None)
--no-plots Don't show plots (default: False)
```
### Screenshots
|  |  |
| ------------------------------------ | ------------------------------------ |
|  |  |
|  |
| ---- |
|  |