A command line tool for piping to a webpage
Project description
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 git@github.com: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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipeup-0.1.9.tar.gz
(2.7 kB
view hashes)