WhatsApp Chat Analyzer is a Streamlit-based web application that allows users to upload and analyze their WhatsApp chat history. The application provides insights into various aspects of the chat data, including user activity, message trends, word usage, and emoji analysis.
-
Upload WhatsApp Chat Files:
- Upload
.txt
files exported directly from WhatsApp. - Automatic parsing and preprocessing of the uploaded chat data.
- Upload
-
Comprehensive Chat Statistics:
- Total messages, words, media shared, and links shared.
- Statistics can be filtered for specific users or overall chat analysis.
-
Timeline Analysis:
- Monthly Trends: Visualize message trends over months with clear line charts.
- Daily Trends: Analyze daily activity patterns with precise visualizations.
-
Activity Analysis:
- Weekly Heatmap: A heatmap that highlights the busiest days of the week and time slots.
- Most Busy Day and Month: Bar charts showing the days and months with the highest activity.
-
User Behavior Insights:
- Most Active Users: Identify top contributors to the chat, along with their activity percentages.
- Supports individual and overall chat analysis.
-
Text and Word Analysis:
- Word Cloud: Beautiful visual representation of the most frequently used words.
- Most Common Words: A bar chart showing the top words used in the chat.
-
Emoji Analysis:
- Detailed breakdown of the most frequently used emojis.
- Pie charts showing the distribution of top emojis.
- Sentiment Analysis: Detect the overall sentiment of conversations.
- Chat Summary: Automated generation of chat summaries.
- Clone the Repository:
git clone https://github.com/SURESHBEEKHANI/WhatsApp-Conversations-Analysis.git cd whatsapp-chat-analyzer
pip install -r requirements.txt
3. *** Run the Application: ***
### Upload Chat File:
Upload Chat File
Export a .txt file from WhatsApp.
Upload it through the app's interface to start the analysis.
### 🔍 Key Visualizations:
📈 Chat Statistics
Analyze total messages, words, media shared, and links.
📅 Monthly and Daily Timeline
Visualize message trends over time using monthly and daily charts.
🌟 Word Cloud
Explore the most frequently used words in your chats through a dynamic word cloud.
### 🤖 Technical Details
Programming Language: Python
Framework: Streamlit for the web interface.
Visualization: Matplotlib, Seaborn
Text Analysis: Custom preprocessing logic for WhatsApp data.
#### Project Structure
bash
📂 src/
├── preprocessor.py # Parsing and cleaning WhatsApp chat data
├── helper.py # Core helper functions for analysis
📂 assets/
├── example_image_1.png # Example visualizations
📂 app.py # Main Streamlit app file
📂 README.md # Project documentation
#### requirements.txt # Dependencies
Python Version: 3.7+
Libraries:
Streamlit
Matplotlib
Seaborn
Pandas
NumPy
### 🛡️ License
This project is licensed under the MIT License.
### Contact
For questions or feedback, feel free to reach out:
Email: SURESHBEEKHANI26@gmail.com
GitHub: https://github.com/SURESHBEEKHANI
Enjoy analyzing your chats! 🎉