Skip to content

Latest commit

ย 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’  WhatTrace - Advanced WhatsApp Chat Analyzer

Analyze your WhatsApp conversations with stunning visualizations and deep insights!

License: MIT PRs Welcome GitHub stars

๐Ÿ›ก๏ธ Client-Side Only: Your Data Never Leaves Your Device

โญ Star on GitHub | ๐Ÿค Contributing


๐Ÿ‘ป Are You Being Ghosted? Find Out!

Ever wonder if that "busy" excuse is legit? WhatTrace exposes the cold, hard truth about your conversations:

๐Ÿ” Ghost Detection

  • See exactly how long they left you on read
  • Track ghosting patterns โ€” is it always after you ask "what are we?"
  • Identify who ghosts more in your conversations
  • Get stats on those 24-hour+ silent treatments ๐Ÿ’€

โฐ Optimal Time to Text

  • Discover when they actually reply fastest (spoiler: probably not 3 AM)
  • Find their peak response windows by hour
  • Stop texting at times when you'll be left on read
  • Pro tip: The data doesn't lie, but your situationship might ๐Ÿ˜…

โœจ Features

๐Ÿ“Š Comprehensive Analytics

  • Response Time Analysis - Average, median, and distribution of response times
  • Individual Response Patterns - Per-participant response time breakdown
  • Conversation Initiators - Who starts conversations more often
  • Best Time to Message - Optimal response windows by hour
  • Conversation Enders - Who tends to end conversations

๐Ÿ’ฌ Conversation Dynamics

  • Double Texting Analysis - Track consecutive messages (2x, 3x, 4x+)
  • Ghost Periods - Identify ghosting patterns and durations
  • Streak Analysis - Longest and average conversation streaks
  • Conversation Gaps - Track periods of silence

๐Ÿ“ Content Insights

  • Keyword Clusters - Top words with smart stopword filtering
  • Emoji Sentiment - Most used emojis with frequency
  • Message Length Stats - Average characters and words per participant
  • Punctuation Analysis - Questions and exclamations tracker
  • Media Sharing - Track shared images, videos, and documents

โฐ Temporal Patterns

  • 24-Hour Activity Heatmap - Hourly messaging patterns
  • Day of Week Trends - Which days are most active
  • Monthly Trajectory - Long-term conversation trends
  • Activity Personas - Night Owl, Morning Person, etc.
  • Peak Activity Times - Busiest hours and days

๐ŸŽจ Futuristic UI/UX

  • Dark Glassmorphism Theme - Premium neon-accented interface
  • Interactive Charts - Built with Chart.js
  • Mobile-Optimized - Fully responsive design
  • Smooth Animations - Tilt effects and shimmer animations
  • Intuitive Navigation - HUD-style statistics display

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.x OR Node.js
  • Modern web browser (Chrome, Firefox, Safari, Edge)

Installation

Option 1: Using Python (Recommended)

# Clone the repository
git clone https://github.com/yourusername/whatsapp-chat-analyzer.git
cd whatsapp-chat-analyzer

# Start local server
python -m http.server 8000

# Open browser
# Navigate to: http://localhost:8000

Option 2: Using Node.js

# Install http-server globally
npm install -g http-server

# Run server
http-server -p 8000

๐Ÿ“ฑ How to Export Your Chat

Android

  1. Open WhatsApp
  2. Go to the chat you want to analyze
  3. Tap โ‹ฎ (three dots) โ†’ More โ†’ Export chat
  4. Choose "Without media"
  5. Save the .txt file

iPhone

  1. Open WhatsApp
  2. Go to the chat you want to analyze
  3. Tap the contact/group name at the top
  4. Scroll down โ†’ Export Chat
  5. Choose "Without Media"
  6. Save the file (.txt or .zip)

Upload to WhatTrace

  • Supports both .txt and .zip files
  • Works with Android AND iPhone formats
  • Drag & drop or click to upload

๐Ÿ”’ Privacy & Security

100% Privacy Guaranteed

  • โœ… All processing happens locally in your browser
  • โœ… No server uploads - your data never leaves your device
  • โœ… No tracking or analytics
  • โœ… No data storage - everything is cleared on page refresh
  • โœ… Open source - audit the code yourself

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Vanilla JavaScript (ES6 modules)
  • Charts: Chart.js 4.4.0 with date-fns adapter
  • Styling: Pure CSS with glassmorphism
  • Effects: Vanilla-Tilt.js
  • Fonts: Google Fonts (Outfit, Space Grotesk)

๐Ÿค Contributing

We love contributions! Whether it's bug fixes, new features, or documentation improvements.

How to Contribute

  1. Fork the repository

    # Click the "Fork" button on GitHub
  2. Clone your fork

    git clone https://github.com/YOUR-USERNAME/whatsapp-chat-analyzer.git
    cd whatsapp-chat-analyzer
  3. Create a new branch

    git checkout -b feature/amazing-feature
  4. Make your changes

    • Follow the existing code style
    • Test your changes thoroughly
    • Update documentation if needed
  5. Commit your changes

    git add .
    git commit -m "Add: amazing new feature"
  6. Push to your fork

    git push origin feature/amazing-feature
  7. Open a Pull Request

    • Go to the original repository
    • Click "New Pull Request"
    • Select your branch
    • Describe your changes

Development Guidelines

  • Code Style: Use clean, readable JavaScript with meaningful variable names
  • Comments: Add comments for complex logic
  • Testing: Test with both Android and iPhone chat exports
  • Mobile: Ensure changes work on mobile devices
  • Performance: Keep the app fast and lightweight

Ideas for Contributions

  • ๐ŸŒ Multi-language support for stopwords
  • ๐Ÿ“Š New analytics metrics (sentiment analysis, typing patterns)
  • ๐ŸŽจ Additional UI themes
  • ๐Ÿ“ˆ Export analysis to PDF/CSV
  • ๐Ÿ” Search functionality within chats
  • ๐ŸŒ™ Light mode theme
  • โ™ฟ Accessibility improvements

๐Ÿ“‚ Project Structure

whatsapp-chat-analyzer/
โ”œโ”€โ”€ index.html          # Main HTML structure
โ”œโ”€โ”€ styles.css          # Glassmorphism styling
โ”œโ”€โ”€ app.js             # Main application orchestrator
โ”œโ”€โ”€ parser.js          # WhatsApp chat parser (Android + iPhone)
โ”œโ”€โ”€ analytics.js       # Analytics engine
โ”œโ”€โ”€ visualizations.js  # Chart.js visualizations
โ”œโ”€โ”€ utils.js           # Utility functions
โ””โ”€โ”€ README.md          # You are here!

๐Ÿ› Bug Reports & Feature Requests

Found a bug? Have an idea? We'd love to hear from you!


๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐ŸŒŸ Star History

If you find this project useful, consider giving it a โญ๏ธ on GitHub!


๐Ÿ™ Acknowledgments

  • Chart.js - Beautiful charts
  • Vanilla-Tilt.js - Smooth 3D effects
  • Google Fonts - Typography
  • All our contributors - Thank you! ๐Ÿ’™

Made with โค๏ธ for better understanding your conversations

โฌ† back to top

About

A client side Whatsapp Analytics engine.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages