WhatsApp Chat Analyzer is a powerful tool for analyzing your WhatsApp chat history. This project consists of a web API built with Python and Flask, and a Windows Forms interface created with C#. By leveraging AI tools, we aimed to make the analysis process as seamless and efficient as possible.
WhatsAppChatAnalyzer/ ├── flask_api/ │ ├── app.py │ ├── templates/ │ │ ├── index.html │ │ └── result.html │ └── uploads/ (This folder will be automatically created by the Flask app) ├── windows_forms/ │ ├── WhatsAppChatAnalyzer.sln │ ├── WhatsAppChatAnalyzer/ │ │ ├── MainForm.cs │ │ ├── MainForm.Designer.cs │ │ ├── Program.cs │ │ └── app.config ├── build/ ├── dist/ ├── static/ ├── requirements.txt └── README.md
- Python: For data analysis and the Flask web API.
- Flask: For building the web API.
- C# and Windows Forms: For creating the user interface.
- AI Tools: For aiding in the code writing process and project structure definition.
-
Install Python and Flask: Ensure Python 3.x and Flask are installed on your system.
pip install -r requirements.txt
-
Run the Flask API Project:
cd flask_api python app.py
This command will start the Flask server at
http://127.0.0.1:5000
.
- Open Visual Studio: Open
WhatsAppChatAnalyzer.sln
in Visual Studio. - Build and Run the Project: Build and run the project. Once the application starts, you can upload your WhatsApp chat files and analyze them through the interface.
- Multi-file Upload: Upload multiple WhatsApp chat files at once.
- Date Range Filtering: Filter chats within a specific date range.
- Keyword Counting: Count how many times specified keywords appear in the chats.
- File Selection: Click the
Browse
button to select the WhatsApp chat files you want to analyze. - Enter Date Range: Enter the start and end dates.
- Keywords: Enter the keywords you want to count.
- Upload and Analyze: Click the
Upload
button to upload your files and view the analysis results.
If you would like to contribute to this project, please create a pull request or open an issue.
This project was developed with the help of AI tools. Leveraging AI in the code writing process and project structuring has been an incredible experience, making development faster and more efficient.
If you have any questions, feel free to reach out.
Happy analyzing! 😊