Live data from Hacker News

Copyparty – Turn almost any device into a file server

github.com

31–40 of 177 posts

Re: Copyparty – Turn almost any device into a file server

#33
post #9
post #3

The author of this tool uploaded a YouTube video demonstrating it a few days ago: https://www.youtube.com/watch?v=15_-hgsX2V0 At one point in his demo, he uploads a file but terminates the upload more or less halfway. Then he begins downloading the file - which only progresses to the point it had been uploaded, and subsequently stalls indefinitely. And, finally, he finishes uploading the file (which gracefully resume…

It's very impressive, particularly if you remember waking up to a failed download from the night before over dial-up.

I recall we had special apps to queue and schedule our downloads, and resume them where servers supported it. They were a dream compared to the boredom of staring at progress bars.

Re: Copyparty – Turn almost any device into a file server

#34
post #5

Absolutely amazing piece of software, the kind that makes you wish you had a use-case for that. Kudos to devs for taking security seriously, too. By the way, the youtube video showcases this project really well.

Maybe I'm misunderstanding something, but wouldn't this work great (albeit huge overkill) for the extremely common problem of trying to get files from one device to another (especially when one of those devices is a phone)? I see tools that are supposed to do that posted to HN all the time, with the comments usually pointing out one or another problem with any given utility. This seems like it would be pretty great self hosted, open source, solution to that problem?

Re: Copyparty – Turn almost any device into a file server

#37
post #17
post #2

I saw "Python" and was going to comment a completely stand-alone* executable would be simpler, and then I scrolled and holy moly , there are a lot of features there! It would be quite some work to redo it in another lang. *It already has no deps Great job there. A nice tool you've made. Edit: already adressed: https://github.com/9001/copyparty?tab=readme-ov-file#copypar...

I wonder if cosmopolitan libc[0] could be leveraged to create an actually portable executable™ without a rewrite, looks like someone has figured out compiling python 3.11.4 with it[1] [0] https://github.com/jart/cosmopolitan [1] https://ahgamut.github.io/2021/07/13/ape-python/

I have a small/insane project of mine, I wrote a compiler for Python (strict and static subset only) to WebAssembly (bc-to-bc approach, 1:1 CPython compat due to walking internals), than I do wasm2c to sandbox it + pledge and compiling with cosmopolitan into a miniature standalone thing (fast as hell). Just because you have zero dependencies and it's a pure Python and properly typed, lemme try next weekend as PoC. No promises, but this message clicked in my heart

Re: Copyparty – Turn almost any device into a file server

#38
post #3

The author of this tool uploaded a YouTube video demonstrating it a few days ago: https://www.youtube.com/watch?v=15_-hgsX2V0 At one point in his demo, he uploads a file but terminates the upload more or less halfway. Then he begins downloading the file - which only progresses to the point it had been uploaded, and subsequently stalls indefinitely. And, finally, he finishes uploading the file (which gracefully resume…

Could be useful when launching a Doom shareware release.

Re: Copyparty – Turn almost any device into a file server

#40
post #21
post #3

The author of this tool uploaded a YouTube video demonstrating it a few days ago: https://www.youtube.com/watch?v=15_-hgsX2V0 At one point in his demo, he uploads a file but terminates the upload more or less halfway. Then he begins downloading the file - which only progresses to the point it had been uploaded, and subsequently stalls indefinitely. And, finally, he finishes uploading the file (which gracefully resume…

Sounds like...BitTorrent.

Or… proper adherence to HTTP RFCs… with some added devx
Post reply on HN