You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Murtaugh 70ebf0b744 | 5 years ago | |
---|---|---|
README.md | 5 years ago | |
pipeserver.html | 5 years ago | |
pipeserver.py | 5 years ago |
README.md
Pipeserver is a simple webserver that uses sockets to distribute text received on stdin to connected webpages. By piping other processes into pipeserver, you can stream their messages and eventually produce customized javascript interfaces based on the content.
Installation of prerequisites:
pip3 install aiohttp aiohttp_jinja2
Usage:
python3 pipeserver --template pipeserver.html
But of course the fun is to pipe into it...
liquidsoap -v my.liq | python3 pipeserver --template pipeserver.html