The bot which is responsible for filling the @npmawesome Twitter account when new picks arrive on npmawesome.com.
Install with npm.
npm i -g npmawesome-bot
The bot will create an configuration file in your home directory on the initial run ($HOME/.npmawesomebotrc
).
{
"feed": {
"uri": "http://feeds.feedburner.com/npmawesome?format=xml",
"interval": 300000
},
"twitter": {
"apiKey": "The Twitter API api key.",
"apiSecret": "The Twitter API api secret.",
"accessToken": "The Twitter API access token",
"accessTokenSecret": "The Twitter API access token secret"
}
}
Examples:
npmawesome-bot --watch "Realtime" #npmawesome updates.
Options:
--watch You will see new #npmawesome posts as they arrive! [required]
--quiet No stdout output.
--dry-run No fear, no Twitter interaction in this mode. :)
- Spec for the Twitter API abstraction
- FeedEmitter for observing the #npmawesome feed.
- Twitter API abstraction ("if there is a new #npmawesome pick, send a tweet")
Copyright 2014, André König (andre.koenig@posteo.de)