Skip to content

nathairtras/pipeup

 
 

Repository files navigation

PipeUp

PipeUp is a command line tool for piping to a webpage.

$ tail -f /var/log/nginx/access.log | pipeup

Installation

To install PipeUp, simply:

$ pip install pipeup

Usage

Pipe the output of a command to pipeup. See available options by running pipeup --help

$ command | pipeup

Server

To run your own server, install PipeUp from source:

$ git clone [email protected]:nathancahill/pipeup.git
$ cd pipeup
$ pip install -r requirements-server.txt
$ cd pipeup/server
$ cp config.example.py config.py

Edit config.py with the complete URL of your server. Then run the Tornado server:

$ python server.py

To use the pipeup client with your server, pass the websocket URL as --server:

$ command | pipeup --server ws://127.0.0.1:8888/ws

For a more permanent installation, put Tornado behind Nginx using the nginx.conf file.

Contributing

Pull requests are gladly accepted. Keep it simple.

About

Unix Pipes to the Web

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 41.1%
  • Python 33.8%
  • JavaScript 17.5%
  • CSS 6.0%
  • Nginx 1.6%