- If you don't already have Node.js installed, download and install it.
- Download this package or clone it.
- From the command line, run
npm install .
from the root of the package directory. This will install the dependencies listed in package.json. - If you don't already have MySQL installed, download and install it.
- Create the a MySQL database using mysql_schema.sql.
- Update credentials.js with your database information.
- If you don't already have a Twitter account, create one.
- Sign up for Twitter API credentials here and update credentials.js.
Run consume.js to consume Tweets, analyze them and save them to Twitter.
Run app.js to visualize Tweets.
I like (pm2)[https://github.com/Unitech/pm2] to keep node apps running.
This demo should help you started. Do not run this as is on a public server. Passing URL parameters directly to your database is bad.
MIT © John Emerson