• by kristopolous on 10/18/2021, 8:46:14 AM

    Just sayin' you can do something like this in bash out of the box... Don't let me spoil the party though, the more the merrier.

    https://www.gnu.org/software/bash/manual/html_node/Redirecti...

    "/dev/tcp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket.

    /dev/udp/host/port If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding UDP socket."

    I've got an example of a "practical" way to use it in an answer I did over here https://superuser.com/questions/563083/how-to-transfer-files...

  • by zinodaur on 10/18/2021, 4:37:47 AM

    Aww, what a great idea. I'd love to use a self hosted version of this for work, but there's no way I could pipe my shell output to a 3rd party site, too many juicy secrets.

  • by ec109685 on 10/18/2021, 5:31:25 AM

    This would be even cooler if it could be end to end encrypted. E.g. client side it spits out a decryption key, and encrypts all traffic with it. Then on the browser, you paste that in and it will decrypt.

    Obviously you have to trust the javascript to not do anything nefarious with your data, so maybe it’s not really adding much security.

  • by matt_f on 10/18/2021, 4:06:06 AM

    Are there any legal security issues to be concerned about as a developer of this kind of anonymous service?

    I wonder every time I see a project like this, namely anonymous or transient hosting of any kind of user data, whether the developers get any kind of flak from agencies claiming it could be used to nefarious ends.

    Serving plain text is obviously less of a concern than hosting images, video, etc.

    But I imagine the more anonymous a service is, the more attractive it is for use by unsavory actors.

    Anyone have any thoughts?

  • by ChrisArchitect on 10/18/2021, 5:28:05 AM

    (2019)

    Anything new here?

    Previous discussion:

    https://news.ycombinator.com/item?id=20625440

  • by testesttest on 10/18/2021, 1:55:10 PM

    You can't self host? Piping server data to a remote untrusted server doesn't seem appealing. Unless I am missed something?

  • by globular-toast on 10/18/2021, 8:39:15 AM

    Something similar has existed in the Gentoo community for many years: wgetpaste [0]. Also I distinctly remember seeing something like this before which exactly the same minus the Python package (so you could only use netcat). wgetpaste is mostly for sharing debug information in IRC but I could imagine it being useful for many other ad hoc troubleshooting type things.

    [0] https://wiki.gentoo.org/wiki/Wgetpaste

  • by lioeters on 10/19/2021, 1:44:28 AM

  • by pixelbeat__ on 10/18/2021, 8:50:21 AM

    For generally converting cli output to HTML see also https://github.com/pixelb/scripts/commits/master/scripts/ans...

  • by enriquto on 10/18/2021, 8:16:08 AM

    To be even more unixy, this needs a file interface /dev/sls that you can pipe directly to.

  • by solarized on 10/18/2021, 7:56:44 AM

    I prefer &> it into a file within virtual host or something. And access it in secure manner.

  • by anyfactor on 10/18/2021, 6:20:22 AM

    I think the application of it is reasonable only when you are thinking of simple applications like Yes/No notifier and not outputting logs. I wonder if it works well with TQDM so I can see the code execution progress bar.

  • by ilaksh on 10/18/2021, 12:25:38 PM

    Anyone know an easy way to force this to run in interactive mode or pty or whatever? I am trying to get color output from `bat` for example.

  • by singularity2001 on 10/18/2021, 7:43:15 AM

    The coolest feature idea that I will probably never use