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.

15 lines
514 B
Markdown

4 years ago
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