Live Demo: https://groupchatanalyzer.streamlit.app/
GroupChat Analyzer is a web application built with Streamlit to analyze and visualize data from group chat exports. The app allows users to upload chat data, visualize message statistics, analyze trends, and export the analyzed data.
- Python: The primary programming language used for the application.
- Streamlit: Framework for creating interactive web applications with Python.
- Pandas: Data manipulation and analysis library.
- Matplotlib: Plotting library for creating static, animated, and interactive visualizations.
- Seaborn: Statistical data visualization library based on Matplotlib.
- NLTK (Natural Language Toolkit): Library for working with human language data (text processing).
- WordCloud: Tool for generating word clouds.
- Upload Chat Data: Users can upload chat export files in text format.
- Message Statistics: View total messages, words, media shared, and links shared.
- Timeline Analysis: Visualize monthly and daily timelines of messages.
- Activity Maps: Analyze activity by day of the week and month.
- Heatmaps: Display weekly activity heatmaps.
- User Analysis: Identify the most active users and visualize their activities.
- Word Cloud: Generate and display a word cloud from chat messages.
- Most Common Words: List and visualize the most common words used in the chat.
- Emoji Analysis: Analyze and visualize the usage of emojis.
- Export Data: Option to download the analyzed data as a CSV file.
-
Clone the repository:
git clone https://github.com/yourusername/groupchat-analyzer.git
-
Navigate to the project directory:
cd groupchat-analyzer -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
-
Open the app in your browser: Navigate to
http://localhost:8501to access the GroupChat Analyzer. -
Upload a chat file: Use the file uploader in the sidebar to upload your group chat export file.
-
Analyze Data: Click the "Show Analysis" button to view various visualizations and statistics.
-
Export Data: Use the "Export Data" button to download the analyzed data as a CSV file.