Git Product home page Git Product logo

pipe's Introduction

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:

  1. Any json feed
  2. Any xml/rss feed
  3. Any website with changes detected from html
  4. Twitter

Sink

Events can be notified to:

  1. Any webservice
  2. Desktop notifications like Growl
  3. iPhone / Android
  4. Email, Instant Message, Text Message
  5. 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

pipe's People

Contributors

charley-peng avatar need80 avatar sathish316 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.