Seashells – Pipe output from command-line programs to the web in real time
I created something similar years ago and it's open source:<p><a href="https://stream.ht/" rel="nofollow">https://stream.ht/</a><p>Try it out, you can pipe your terminal:<p><pre><code>  exec > >(nc stream.ht 1337) 2>&1
</code></pre>
Or just pipe a file:<p><pre><code>  tail -F file.log | nc stream.ht 1337
</code></pre>
Pipe htop (delay is required to see share url)<p><pre><code>  (sleep 5; htop) | nc stream.ht 1337
</code></pre>
Doesn't require installing anything! Requires netcat which is installed on most *nix systems but you can use a plain tcp socket connection to pipe data too:<p><pre><code>  exec 3<>/dev/tcp/stream.ht/1337 && head -1 <&3 && exec &> >(tee >(cat >&3))</code></pre>