Skip to content

ericabouaf/pipes2js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Compile Yahoo! Pipes to Javascript (Node.js)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published