4 ms·
I created something similar years ago and it's open source: https://stream.ht/ https://stream.ht/ Try it out, you can pipe your terminal: exec > >(nc strea
by miguelmota 7y ago
I created something similar years ago and it's open source:
https://stream.ht/ https://stream.ht/
Try it out, you can pipe your terminal:
exec > >(nc stream.ht 1337) 2>&1
Or just pipe a file:
tail -F file.log | nc stream.ht 1337
Pipe htop (delay is required to see share url)
(sleep 5; htop) | nc stream.ht 1337
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:
exec 3<>/dev/tcp/stream.ht/1337 && head -1 <&3 && exec &> >(tee >(cat >&3))
- glloydell 7y agoI really appreciate that the default port in both examples is 1337
- yellowapple 7y agoI wonder if that could get registered for this purpose somehow?
- sdegutis 7y agoPorts get registered? I just assumed we were all picking whatever open ports we could find.
- meddlepal 7y agoWay back in the idealistic days of the internet you could apply for and reserve a port for your protocol. I don't think you can do this anymore..., or if you can it's not easy.
- frou_dh 7y agoSometimes in Port Forwarding wizards on routers, you see a big list of ancient videogames. Presumably that has something to do with this.
- rovr138 7y agohttps://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt https://www.iana.org/assignments/service-names-port-numbers/... I always find it by searching ‘iana port list’
- thrownaway954 7y agohmmmmm.... that some very specific similarities... almost too specific.
- nacs 7y agoStreamhut seems to be a more mature version of OPs. The window for viewing streams appears to even have commenting (and file/image sharing?). I also like how you lead with the "stream the whole terminal" example which lets me see how I can continue streaming a terminal instead of just piping a single program like htop to it. Another plus is you've open sourced the server-side unlike Seashells/OP: https://github.com/streamhut/streamhut https://github.com/streamhut/streamhut Nice work and thanks!
- chrisweekly 7y agoAnother interesting project on a ".ht" domain, huh. (Thinking of "source hut / sir hat" -- sr.ht)
- deleted 7y ago[deleted]
- toomuchtodo 7y agoYour TLS certificate has expired and is throwing an error.
- miguelmota 7y agogah at the worst time too. Thanks for reporting that! it's updated now.