pIpe
ifttt is awesome for popular channels like Twitter, Facebook, Email etc. But if you want to customize channels to use any json or xml feed it isn't of much help.
pIpe is ifttt like library for websites/webservices linked to webservices/smartphones/desktops with advanced filters.
It is the ultimate in web automation. It will even work for website content.
See Hacker News Gtalk Alert for example
hacker_news = Pipe::Input::HackerNews.new(url: 'http://apify.heroku.com/api/hacker_news.json')
iphone5_post = Pipe::Filter::JSONContains.new(attribute: 'title', contains: 'iPhone5')
gtalk_message = Pipe::Output::Gtalk.new(recipient: '[email protected]', message: 'Found iPhone 5 post in HackerNews')
Pipe::Pipe.new(hacker_news, iphone5_post, gtalk_message).execute
To run this alert like ifttt, add this script to crontab.
To install:
gem install pipe
Add to Gemfile:
gem 'pipe'
Contribute
pIpe is still a work in progress and currently works only for JSON content source with Gtalk, Pushover and Growl notifications.
To contribute, fork and check out unfinished Sources, Sinks, Inputs, Outputs
Source
Source can be:
- Any json feed
- Any xml/rss feed
- Any website with changes detected from html
Sink
Events can be notified to:
- Any webservice
- Desktop notifications like Growl
- iPhone / Android
- Email, Instant Message, Text Message
- Twitter, Google Calendar, Todo lists etc
Filter
pIpe has advanced filters and will not be limited to one input and output.
Settings
In order to configure settings for the Gtalk plugin, you will need to set up two environment variables.
For Gtalk
PIPE_GTALK_USER
PIPE_GTALK_PASS
For Pushover
PIPE_PUSHOVER_USER
PIPE_PUSHOVER_API