A bot that tracks tweets from Namma BESCOM about power outages in Bangalore and sends a direct message to me if my area is affected with information about the restoration time.
- Node >= v10.21.0
- npm >= 6.14.4
- Create a twitter developer account. https://developer.twitter.com/en/apply-for-access
- Create an app on the twitter developer console. https://developer.twitter.com/en/apps
- Copy the consumer keys and the access keys for the created app.
- Either fork or download the app and open the folder in the cli
- Install all dependencies using the
npm i
command - Update the
config.js
file with the twitter credentials
To start the app, run:
$ node app.js
A message received from the app when there is a power outage in my area.