Live data from Hacker News

Copyparty – Turn almost any device into a file server

github.com

171–177 of 177 posts

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

#171
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/

on it

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

#173
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…

Technically, it's trivial. You either use the range header, or do chunked encoding.

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

#174

This is the wet dream of every power-user. It has tons of features on top of the file server. And it also seems developed by a 10x (100x?) developer, I mean, just making/editing the video is a work of art and humor. If the author is lurking here, are you doing all by yourself? Do you use any LLM/agent? It really is impressive.

Hey o/ Yup, this is 97% just me hacking away in vscode -- I use pylance and the debugger but have everything else disabled, easier to focus that way. The only time I use any sort of AI/LLM is for translating new strings into Chinese, since it seems decently capable at that :-) The remaining 2% is friends coming up with new usecases/features, and sometimes finding bugs. But now that the project got way more attention…

tripflag, are there any concerns with running this on a VPS. Haven't looked through the docs yet so don't know if you've talked about that..

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

#175
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 s…

A very simple shell script:https://github.com/sancoderhost/ShareFiles

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

#176

Earlier quoted context omitted.

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.

In the BBS days there were transfer programs that allowed for interrupted downloads to be resumed: * https://en.wikipedia.org/wiki/HS/Link

wget will pick up a dl where it left off. i know that "pick up where you left off" capability has been built into HTTP since the mid '90s if not right from scratch

i used to use that feature to run several downloads from several different sites of different sections of linux distro isos when new releases were put up

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

#177
post #6

Copyparty is an amazing piece of software. I recommend watching the recent YouTube video for an overview[0]. The developer is a personal friend and my household is proud to own one of 20 limited edition copyparty disc releases. [0] https://www.youtube.com/watch?v=15_-hgsX2V0

The video BGM was quite familiar to me, as popularized by a certain former detective. (Those who don't assign that any special significance may nonetheless find it as royalty-free music from Dova-Syndrome: https://www.youtube.com/watch?v=kKg-aXVS1YI)
Post reply on HN