Coder Social home page Coder Social logo

pipes2js's Introduction

pipes2js

Compile Yahoo! Pipes to Javascript (Node.js)

Design

This tool lets you import Yahoo! Pipes and run them on any machine with Node.js.

The pipe is converted to a javascript file, called decider.js, which controls the execution logic of the workflow.

Each Yahoo module is coded as a separate Javascript module.

  • The pipe can be executed localy through a simple run engine (called by the generated run.js)
  • or executed on Amazon SimpleWorkflow (SWF)
  • The rsulting modules can be used for other Amazon SWF projects through the aws-swf library

Installation

$ [sudo] npm install -g pipes2js

Usage

Import the pipe :

$ pipes2js xOE_1Z8C3RGmkQrul7okhQ

This will create a pipes/xOE_1Z8C3RGmkQrul7okhQ/ directory, which contains an npm package. The resulting package depends on the pipes2js package. Let's install it :

$ cd pipes/xOE_1Z8C3RGmkQrul7okhQ/
$ npm install .

You can then run it :

$ node run.js

More

Current module implementations

EXPERIMENTAL: Running imported pipes on Amazon SimpleWorkflow (SWF)

Tests

Run tests :

npm test

will perform :

vows --spec modules/*/test.js tests/*

build status

Credits

Inspired by pipe2py

pipes2js's People

Contributors

ericabouaf avatar

Watchers

Christian Hochfilzer avatar James Cloos 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.