The WhatsApp Chat Analyzer is a Python-based tool designed to analyze and gain insights from WhatsApp chat data. It provides a convenient way to extract information such as message statistics, most active users, popular words, and more from your WhatsApp conversations.
- Clone the repository:
git clone https://github.com/your-username/whatsapp-chat-analyzer.git
- Navigate to the project directory:
cd whatsapp-chat-analyzer
- Create a virtual environment (optional but recommended):
python -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
-
Export your WhatsApp chat as a text file. Make sure it is saved in a format supported by the analyzer.
-
Run the Streamlit app:
streamlit run app.py
-
The WhatsApp Chat Analyzer app will launch in your browser.
-
Click on the "Choose File" button and select the exported WhatsApp chat text file.
-
Click on the "Analyze" button to start the analysis process.
-
Explore the analysis results presented in the Streamlit app. You can view message statistics, user activity, word frequency, date and time analysis, and more.
You can deploy the WhatsApp Chat Analyzer app to various platforms for sharing and remote access. Here are a few options:
Streamlit provides a free hosting service called Streamlit Sharing. You can deploy your app to Streamlit Sharing by following the instructions in their documentation.
The WhatsApp Chat Analyzer is inspired by the need to gain insights from WhatsApp conversations. It builds upon the capabilities of various open-source libraries and tools that make chat analysis possible.
YouTube Tutorial: Build a WhatsApp Chat Analyzer by CampusX