WhatsApp Chat Analyzer is an interactive and feature-rich tool that helps you gain valuable insights from your WhatsApp chat history. Analyze your conversations, discover patterns, and extract meaningful information about your chats.
- Import your WhatsApp chat history from a text file.
- Automatic parsing of messages and dates.
- Choose a specific user to analyze their chat activity.
- Option to view group-level statistics for an overall perspective.
- Get an overview of the chat with statistics such as:
- Total messages sent.
- Total words used.
- Number of media shared.
- Time spent chatting (in days).
- Visualize the most frequently used words in the chat with an interactive word cloud.
- Customize the appearance of the word cloud.
- Identify the preferred media types shared in the chat.
- View distribution and statistics of media types (e.g., images, stickers, links).
- Explore monthly and daily chat activity with interactive charts.
- Understand when the chat is most active.
- Discover the most active days of the week and preferred chat hours.
- If analyzing a specific user, receive personalized insights about their activity.
- Find out the user's most active days and chat hours.
Ensure you have the following Python libraries installed:
streamlit
: For building the interactive web app.pandas
: For data handling and analysis.re
: For regular expressions.wordcloud
: For generating word clouds.matplotlib
: For creating data visualizations.plotly
: For interactive charts.
Install the dependencies using the following command:
pip install streamlit pandas re wordcloud matplotlib plotly
- Clone this repository to your local machine.
- Install the required dependencies as mentioned above.
- Run the Streamlit app with the provided Python script.
python chat_analyzer.py
- Upload your WhatsApp chat history as a text file.
- Select the user or choose "Overall" for group-level analysis.
- Click the "Show Analysis" button to explore the insights.
- Aayush Kumar Gupta