Live data from Hacker News

Seashells – Pipe output from command-line programs to the web in real time

seashells.io

41–45 of 45 posts

Re: Seashells – Pipe output from command-line programs to the web in real time

#41

Earlier quoted context omitted.

I wonder if that could get registered for this purpose somehow?

Ports get registered? I just assumed we were all picking whatever open ports we could find.

https://www.iana.org/assignments/service-names-port-numbers/...

I always find it by searching ‘iana port list’

Re: Seashells – Pipe output from command-line programs to the web in real time

#42
An idea that may address the security concerns:

- an open-source client that symmetrically encrypts the output with a random key before sending it to the server (obviously, the key is not being sent),

- the key is appended after # in the URL, so it’s only available to the browser,

- client-side decryption in JS.

Re: Seashells – Pipe output from command-line programs to the web in real time

#43

Earlier quoted context omitted.

Ports get registered? I just assumed we were all picking whatever open ports we could find.

Way 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.

Sometimes in Port Forwarding wizards on routers, you see a big list of ancient videogames. Presumably that has something to do with this.

Re: Seashells – Pipe output from command-line programs to the web in real time

#44

I created something similar years ago and it's open source: 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…

Your TLS certificate has expired and is throwing an error.

Re: Seashells – Pipe output from command-line programs to the web in real time

#45

I created something similar years ago and it's open source: 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…

Your TLS certificate has expired and is throwing an error.

gah at the worst time too. Thanks for reporting that! it's updated now.
Post reply on HN