Dive deep into your WhatsApp chat history with our web-based application. Effortlessly upload your chat logs to gain valuable insights about interaction patterns, reply times, and more. Enhance your analysis with CSV or Excel files and receive detailed psychological reports, all crafted with a user-friendly interface.
The WhatsApp Chat Analyzer is a web-based application that allows users to upload WhatsApp chat logs in .txt format and analyze them. The application processes the chat data and generates insights such as average reply times, message counts, and more. Additionally, users can upload CSV or Excel files to further analyze the data and download a psychological report on the chat participants.
.txt format for analysis.git clone https://github.com/yourusername/whatsapp-chat-analyzer.git
cd whatsapp-chat-analyzer
requirements.txt. Install them using pip:pip install -r requirements.txt
.env file in the project root and define the following variables:FLASK_SECRET_KEY=your_secret_key
OPENAI_API_KEY=your_openai_api_key
flask run
The app will be available at http://127.0.0.1:5000/.
Procfile provided for deployment on Heroku.heroku create
git push heroku master
Uploading a WhatsApp chat log:
Browse and select a .txt file containing a WhatsApp chat export.
Once uploaded, the chat log will be processed and analyzed.
Download CSV:
After processing the chat log, you can download the analyzed data as a CSV file.
Generating Psychological Report:
app.py: Contains the Flask server logic and routes.
requirements.txt: Lists the Python dependencies required for the project.
Procfile: Configuration for deploying on Heroku.
static/: Contains static files such as custom CSS (style.css) and
JavaScript (script.js).
templates/: Contains HTML templates such as index.html.
Contributing
Author: Onurcan Genç
This `README.md` covers the project overview, installation, usage, and deployment steps while including relevant details from the files you uploaded. Let me know if you'd like any changes!
No comments yet.
Sign in to be the first to comment.