Skip to content

sheshnath08/Tweetlytics

Repository files navigation

Tweetlytics

Real-Time Tweet Analytics With Apache-Kafka and python

Demo

Tweetlytics Deployed on Heroku

Retrieve code

  • $ git clone https://github.com/sheshnath08/Tweetlytics.git
  • $ cd Tweetlytics

Major Dependensies

The project uses Tweepy library to get tweets from twitter, Apache-Kafka as a messaging queue, Flask as Back-end Server and Socket-IO to update front-end in Real-Time

Architecture and Dataflow

Architecture Image

Running

  • First, you will need to setup kafka, follow this tutorial by Digital Ocean

  • Install the required python library:

    $ pip install -r requirement.txt

  • Get Access Token and Consumer keys from Twitter and Update Keys.py File

  • Run the Back-end Server

    $ python Tweetlytics.py