Skip to content

upgoingstar/TweetMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

TweetMonitor

Keep an eye on specific keywords being posted on Twitter

Ever wondered if you would like to keep an eye on a specific keyword on twitter, eg. "bug bounty" if you would like to be updated with latest bug bounty program updates coming in, or "apt" to keep an eye on upcoming threats with help of data visualization.

Congrats, you have landed safely at the right spot.

This program lets you define a specific keyword and allows you to:

  1. see the latest tweets on console itself.
  2. send an email to a specific email id.
  3. Dump the data into ELASTICSEARCH.

Usage: tweetMonitor.py [options]

Options:
-h, --help [show this help message and exit]
-k KEYWORD, --keyword=KEYWORD [What do you want to check, sire?]
-m MAIL, --mail=MAIL [Give your gmail userid.]
-e ELASTDETAILS, --elastdetails=ELASTDETAILS [Details of Elasticsearch instance, eg. ip_address:port]

Dependencies:

Tweepy library [https://github.com/tweepy/tweepy]
Elasticsearch Library [https://pypi.python.org/pypi/elasticsearch]
Optparse Library [https://docs.python.org/2/library/optparse.html]
Smtplib Library [https://docs.python.org/2/library/smtplib.html]

Note: You can pass comma seperated multiple keywords, in order to monitor all of them. This will work properly for alerts on mail functionality, but elasticsearch will recieve mismanaged dictionary and hence might give hamper your dashboards in Kibana.

About

Keep an eye on specific keywords being posted on Twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages