Skip to content

Latest commit

 

History

History
executable file
·
39 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

executable file
·
39 lines (23 loc) · 1.17 KB

An implementation of basic twitter bot functionality and react application with a gulp based build system.

A twitter bot that keeps a watch on specified hashtags and retweets them. Also displays latest tweets and new tweet notifications from the twitter bot account on home screen.

Powered by Node.js, MongoDB, socket.io and React with Flux architecture and server-side rendering.

How to Install

Clone the repo

and run

npm install
Get your twitter api keys. Here's how
Add them to config.js
  TWITTER_CONSUMER_KEY : '***********************************',
  TWITTER_CONSUMER_SECRET : '***********************************',
  TWITTER_ACCESS_TOKEN : '***********************************',
  TWITTER_ACCESS_TOKEN_SECRET : '***********************************'
Add hashtags you want to keep a watch on in server.js
  
  var WATCH_HASHTAGS = '#himachal, #himachalpradesh, #Himachal, #HimachalPradesh, #हिमाचल';

Use npm run dev for development and npm start for production.