Chat Analyzer is a web application that allows users to upload their WhatsApp chat exports in .txt format. The app processes the uploaded file to extract meaningful insights, identify patterns, and provide a visual representation of the data.
-
File Upload:
- Users can upload a WhatsApp
.txtfile for analysis. - Basic error handling for invalid file types or formats.
- Users can upload a WhatsApp
-
Content Parsing:
- Automatically parses chat data to extract:
- Links/URLs
- Quotes and insights
- Personal notes/reflections
- Message frequency by date
- Automatically parses chat data to extract:
-
Pattern Display:
- Categorizes and displays extracted content in a clean and readable format.
-
Visualization:
- Generates a bar chart to show message frequency over time.
-
Reset Option:
- Allows users to analyze another file without refreshing the page.
- React: JavaScript library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for styling.
- Chart.js: Library for creating responsive charts.
- Custom Parsing Function: Extracts and organizes data from WhatsApp
.txtfiles.
- Node.js (version 14+)
- npm or yarn
-
Clone the repository:
git clone https://github.com/RahulKumar9988/chat_details.git cd chat_details -
Install dependencies:
npm install # or yarn install -
Start the development server:
npm start # or yarn start -
Open your browser and navigate to:
http://localhost:3000
- On the home page, upload your WhatsApp
.txtfile. - The app will process and categorize the content into:
- Links
- Quotes
- Notes
- Frequency analysis
- View the categorized data and explore the visual representation of message frequency.
- Use the "Analyze Another Chat" button to reset and upload a new file.
src/
|-- components/
| |-- FileUpload.jsx # Handles file upload functionality
| |-- PatternDisplay.jsx # Displays parsed content
| |-- Visualizer.jsx # Renders frequency chart
|
|-- utils/
| |-- parseChat.js # Logic for parsing WhatsApp chat exports
|
|-- App.jsx # Main application component
|-- index.css # Global styles
|-- index.js # Entry point
- The application uses Tailwind CSS for a modern and responsive design.
- Key features include:
- Responsive typography and layout
- Shadow effects and rounded corners for a polished UI
- Authentication: Allow users to save their analyses.
- Database Integration: Store parsed data for retrieval.
- Advanced Insights: Integrate AI for deeper pattern detection.
- Export Options: Allow users to download analyzed data.