Giter Club home page Giter Club logo

whatsapp-analyzer's Introduction

WhatsApp-Analyzer

Analyze Chatsapp chat

The script reads an exported whatsapp chat and then extracts the data. You may need to install some packages before run it

Preview

Requirements

  • Python 2.7+ or Python 3
pip install pandas emoji seaborn matplotlib numpy wordcloud 

Usage

$ git clone https://github.com/PetengDedet/WhatsApp-Analyzer.git

$ cd WhatsApp-Analyzer
$ python whatsapp_analyzer.py

Notes

  • This script use regex to extract the data.
  • Currently support below chat pattern:
   "14/10/18, 11:16 - Contact Name: this is a message"
   "2/30/18, 2:07 AM - Contact Name:  Test👌"
   "[30/12/18 4.59.25 PM] Nama User: 🙏test"
   "[06/07/17 13.23.30] ‪+62 123-456-78910‬: image omitted"
  • Some date format may not supported
  • Tested in python 2.7+ on MacOS
  • When using virtualenv there is error backend stuff I don't know how to fix it yet. Help please :)
  • If chat file located outside script directory, please fill it with fullpath not relativepath
  • There is common words file:
    • id_cw.py for Bahasa Indonesia
    • en_cw.py for English. Thanks @Deekayen gist If you want to add any other language, you can make it one

Getting chat source

Android:

  • Open a chat/group chat
  • Tap on trhee dots oh the top right
  • Tap "More"
  • Choose "Export chat"
  • Choose "Without Media"

iOS

  • Open a chat/group chat
  • Tap on contact name/group name on the top to see the details
  • Scroll down to find "Export Chat" menu
  • Choose "Without Media"

Jupyter Notebook

Description included inside

Visualization Preview

  • Top 20 most active member
  • Peaktime
  • Attachment Share
  • Top Mentioned Website
  • Wordcloud

Raw

whatsapp-analyzer's People

Contributors

petengdedet avatar yafp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.