Storage plugin gem for akane, that posts matched tweets to im.kayac.com for notification.
Add this line to your application's Gemfile:
gem 'akane-imkayac'
And then execute:
$ bundle
Or install it yourself as:
$ gem install akane-imkayac
In your akane configuration yaml:
storages:
- imkayac:
user: <im kayac user name>
# password: <your password (optional)>
# secret: <your secret key (optional)>
# handler: <handler erb template>
# message: <message erb template>
keywords:
- keyword to notify 1
- keyword to notify 2
- ...
excludes:
- keyword to exclude 1
- keyword to exclude 2
- ...
I set 'tweetbot:///status/<%= tweet.id %>'
to handler for Tweetbot.
handler
and message
params are evaluated as ERB. Variable account
and tweet
(Twitter::Tweet
) is available.
- Fork it ( http://github.com//akane-imkayac/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request