commit | e1f6c6152a1249fccf6384947fb47d98d32f8e9a | [log] [tgz] |
---|---|---|
author | Nicolas LaCasse <nlacasse@google.com> | Fri Mar 13 09:48:16 2015 -0700 |
committer | Nicolas LaCasse <nlacasse@google.com> | Fri Mar 13 09:48:18 2015 -0700 |
tree | 1c6290b226d9d0d59dc0150b89a8822c811fcc2d | |
parent | 7383f68da05e772810085fa2f03e79869061e2bb [diff] |
Use VDL typed streams in pipe2browser, and change "veyron" to "vanadium" everywhere. Also fix button labels on redirect page. Change-Id: I2211c7bca16d9d37295d4229456defa33ebb2641
P2B allows one to pipe anything from shell console to the browser. Data being piped to the browser then is displayed in a graphical and formatted way by a “viewer” Viewers are pluggable pieces of code that know how to handle and display a stream of data.
For example one can do:
echo "Hi!" | p2b google/p2b/jane/console
or
cat cat.jpg | p2b -binary google/p2b/jane/image
where google/p2b/jane is the Object name where p2b service is running in the browser. The suffix console or image specifies what viewer should be used to display the data.
Please see the help page inside the P2B application for detailed tutorials.
To build make
To run make start #Starts a web server at 8080
and then navigate to http://localhost:8080
To stop simply Ctrl-C the console that started it
To clean make clean