Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

rapgamemetaphor

This is the source for @rapgamemetaphor, an everyword-style Twitter bot.

Installation

git clone git@github.com:jimkang/rapgamemetaphor.git
npm install

Then, create a config.js file in the project root that contains your Twitter API keys and your Wordnik API key. Example:

module.exports = {
  twitter: {
    consumer_key: 'asdfkljqwerjasdfalpsdfjas',
    consumer_secret: 'asdfasdjfbkjqwhbefubvskjhfbgasdjfhgaksjdhfgaksdxvc',
    access_token: '9999999999-zxcvkljhpoiuqwerkjhmnb,mnzxcvasdklfhwer',
    access_token_secret: 'opoijkljsadfbzxcnvkmokwertlknfgmoskdfgossodrh'
  },
  wordnikAPIKey: 'mkomniojnnuibiybvuytvutrctrxezewarewetxyfcftvuhbg'
};

Optionally, set up a cron job for run rapgame.js periodically.

Usage

To post a tweet, run the commmand:

node rapgame.js

To make a post and print it to the console, but not post it:

node rapgame.js --simulate

Tests

Run tests with make test.

License

MIT.

About

Posts rap boasts / Everyword-style, hits the metaphors / Makes you want some more.

Resources

Releases

No releases published
You can’t perform that action at this time.