GithubHelp home page GithubHelp logo

jcts3 / chatanalyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mowolf/chatanalyzer

0.0 1.0 0.0 3.36 MB

Java script webapp that analyzes your WhatsApp Chat history locally on your machine.

Home Page: https://chatanalyzer.moritzwolf.com

License: Other

CSS 1.53% HTML 2.04% JavaScript 95.35% PHP 1.07%

chatanalyzer's Introduction

logo

A JavaScript application to analyze WhatsApp chat history locally in your browser.

☕️ Caffeine fund ☕️

If you found this tool useful or fun, please consider buying me a coffee 😀

paypal

Usage

  • Clone the repository git clone https://github.com/mowolf/ChatAnalyzer.git
  • Open index.html in the root folder.
  • Follow instructions on the web page.

Alternatively you can use the official hosted version of this code.

What happens to my chat data?

No chat data is transferred to any remote server, all analysis is performed locally on your device

The application works completly offline once the page has loaded. You can turn off your internet before loading your data file if you are particularly concerned. You can also take a look at the source code and give it an audit.

Reporting Issues

Please open a new Github Issue if you find any issues or have suggestions/improvements for the project.

Please also supply your data format (e.g. [07.09.17, 6:44:16 PM] NAME: message) and Language/Region setting of our phone if you are having a specific problem with data not loading correctly.

Have a great idea for a new graph?

Head over to planned features and add your idea if it's missing!

Wanna help making this better?

Cheers! You are very welcome! Just submit a pull request. The goal of this tool is to automize the parsing as much as possible.

Add your language identifier for audio/video/pictures

Please see the header of analyze.js. There you can add your identifiers.

How the data is parsed & how you can build on that

The chat data is parsed via regex and splitted into it's parts. There are two variables that hold the data.

structArray: Formatted line data in the form of a struct with the keys: name date time message

  • name: "Name Surname"
  • date: "YYYY-MM-DD"
  • time: "HH:MM:SS"
  • message: text

each key represents an array, the index represents the line number e.g. structArray.date[0] is the date of the first line

userStruct:

Array of structs with the keys:

  • name: "Name Surname"
  • date: "YYYY-MM-DD"
  • time: "HH:MM:SS"
  • message: text

For every person there is one struct, same format as above, the index represents messageNumber of name.

chatanalyzer's People

Contributors

mowolf avatar ryanb93 avatar jcts3 avatar mandomat avatar cgdgsg22 avatar

Watchers

James Cloos 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.