https://github.com/rohanag03/whatsapp-chat-analyzer
This project is a comprehensive tool for analyzing WhatsApp chat histories. Using Python and Streamlit, it visualizes chat data to provide insights into messaging patterns and media sharing habits.
https://github.com/rohanag03/whatsapp-chat-analyzer
chat-analysis data-visualization python streamlit
Last synced: about 1 month ago
JSON representation
This project is a comprehensive tool for analyzing WhatsApp chat histories. Using Python and Streamlit, it visualizes chat data to provide insights into messaging patterns and media sharing habits.
- Host: GitHub
- URL: https://github.com/rohanag03/whatsapp-chat-analyzer
- Owner: rohanag03
- Created: 2024-05-17T13:03:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T14:29:13.000Z (about 2 years ago)
- Last Synced: 2025-01-10T23:43:08.716Z (over 1 year ago)
- Topics: chat-analysis, data-visualization, python, streamlit
- Language: Python
- Homepage: https://chat-analyzer-proj.streamlit.app/
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WhatsApp Chat Analyzer
This project is a comprehensive tool for analyzing WhatsApp chat histories. It uses Python and Streamlit to visualize chat data, providing insights into messaging patterns and media sharing habits.
## Prerequisites
Before running this application, ensure you have Python installed on your system. Install all necessary libraries using the command below:
```bash
pip install -r requirements.txt
```
## Features
- Upload and analyze WhatsApp chat files.
- Visualize statistics such as total messages, words, media shared, and links.
- Generate monthly and daily activity timelines.
- Display activity maps for days of the week and months.
- Create word clouds and conduct emoji analysis.
- Identify the most active users in group chats.
## How to Use
1. Run the Streamlit app by executing the following command in your terminal:
```bash
streamlit run app.py
```
2. Upload your WhatsApp chat file through the sidebar.
3. Select a user to analyze or choose “Overall” for group-wide statistics.
4. Click “Show Analysis” to view various visualizations and statistics.
## File Structure
- app.py: The main Streamlit application script.
- preprocessor.py: Contains functions for preprocessing chat data.
- helper.py: Includes functions for generating statistics and visualizations.
- requirements.txt: Specifies the required libraries.
## Usage Notes
- The application is designed to work with exported WhatsApp chat files.
- Ensure the chat file is in the correct format as exported directly from WhatsApp.