ChatDash is an app created with Dash for analysing chat data which has been exported from WhatsApp. The analysis includes (for now):
- Overall number of messages
- Busiest month of the year, day of the week, time of the day
- User responding patterns
- Group's favourite emojis
- Media sharing patterns
- Word cloud
- Random messages turned in random inspirational quotes
NOTE: when locally running this app, the last section (i.e. random messages turned into quotes) won't work as it relies on having an Unsplash access key. If you wish to have that working, head over to Unsplash to get an access for making API requests. Once you have an access key, either hard code it here, or create a .env
file in your project root and include your key there.
git clone https://github.com/natworks/chatdash
cd chatdash
python3 -m virtualenv chatdash
Install requirements:
pip install -r requirements.txt
Run:
python app.py
- The app layout has been (heavily) inspired by Clinical Analytics Dashboard
- Parsing Whatsapp files has been made robust by using parts of the code available in whatstk's parser
- Images for generating the quotes come from unsplash
- The default chat was generated with DeepAi's text generator