GithubHelp home page GithubHelp logo

insights's Introduction

Insights

Generates insights for a whatsapp chat.

Usage

   # you can clone the repository and make the binary yourself
   λ git clone [email protected]:umayr/insights
   λ cd insights
   λ make
   λ ./bin/insights ./path/to/chat/file.txt
   # for different timezones you can use -timezone flag
   λ insights -pretty -timezone=Asia/Dubai ./path/to/chat/file.txt

Or you can just download prebuilt binaries from here: Link

Metrics

  • First Message
  • Last Message
  • Duration
  • Frequency (how many messages in every hour of day)
  • Total Messages
  • Total Words
  • Total Letters
  • Average Words Per Message
  • Average Letters Per Message
  • Average Messages Per Day
  • Average Words Per Day
  • Average Letters Per Day
  • Participants
  • Contribution Per Participant
  • Contribution Count Per Participant
  • Contribution Words Per Participant
  • Contribution Letters Per Participant
  • Contribution Frequency Per Participant
  • Timeline (how many messages per day/week/month/year)
  • Timeline Count
  • Timeline Words
  • Timeline Letters
  • Most Active Day
  • Most Active Count
  • Least Active Day
  • Least Active Count
  • Emoji Used

Graph

It also comes with a server that would represent the data extracted from the chat in graphical format it would require -server argument during execution, it would look like this:

Contribution

This is a very crude implementation that I cooked up within a day so there are tons of improvements that could be done, please feel free to send a PR or raise an issue if you find anything.

insights's People

Contributors

umayr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.