Giter Club home page Giter Club logo

webpipe's Introduction

webpipe

webpipe is server and a set of tools which bridge the Unix shell and the web. You create files in a terminal (using R, a shell script, etc.), and they will be rendered immediately in your browser.

It gets rid of the Alt-Tab F5 dance when creating content.

End Users

See doc/webpipe.html for instructions on how to use it.

Developing

Use the wp-dev.sh wrapper for wp.sh:

$ ./wp-dev.sh run

This script relies on a couple dependencies existing in hard-coded paths. Fetch them as follows:

Make a ~/hg dir.

$ hg clone https://code.google.com/p/json-template/ 

$ hg clone https://code.google.com/p/tnet/

JSON Template is the template language used, and TNET is the serialization format.

Portability

There are multiple components to webpipe, each with different portability goals.

It's somewhat confusing because the webpipe client often runs on server machines, and the webpipe server may run on your client machine (i.e. "localhost").

"Server" machines are some kind of Linux, or perhaps BSD. Client machines include those, but also add Mac.

From roughly least to most portable:

  • R client: this generally runs on a Linux box. It currently depends on "nc", which should be on most Linux boxes. netcat is very un-portable, but we are just using the simple invocation nc localhost $port, which is hopefully portable.

  • server and renderer: should run on Linux/Mac

  • shell client: this is the MOST portable one. Probably won't run on Mac. But right now it runs on machines without Python or bash! It just uses plain shell. And "nc" client only.

TODO: Get rid of nc servers. Not portable. socat servers also won't run well on Mac, and are not installed by default on Linux. So do it in Python.

Notes

Disclaimer: This is not an official Google project.

webpipe's People

Contributors

andychu avatar

Watchers

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