zlacker

Copyparty – Turn almost any device into a file server

submitted by saint1+(OP) on 2025-07-28 14:57:55 | 1096 points 162 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
1. aredox+r2[view] [source] 2025-07-28 15:11:31
>>saint1+(OP)
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...

2. skibz+M2[view] [source] 2025-07-28 15:14:17
>>saint1+(OP)
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 resumes) and the file download (which is still running) seamlessly completes.

I found that particularly impressive.

5. akk0+u4[view] [source] 2025-07-28 15:26:39
>>saint1+(OP)
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

◧◩
16. 9029+Ic[view] [source] [discussion] 2025-07-28 16:18:20
>>aredox+r2
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/

◧◩
30. justus+1q[view] [source] [discussion] 2025-07-28 17:27:26
>>monkma+lb
If you think the readme is fun, check out the demo video! https://www.youtube.com/watch?v=15_-hgsX2V0
31. justus+uq[view] [source] 2025-07-28 17:30:05
>>saint1+(OP)
Besides being useful, this just seems fun as heck after watching the demo video. I'm curious if folks have examples of other similarly fun/whimsical (but still useful!) software. I would submit https://fraidyc.at/ to the list.
◧◩◪
32. mhuffm+yr[view] [source] [discussion] 2025-07-28 17:36:29
>>Mostly+io
I have been having a lot of luck with Blip[0] recently regarding phone <-> laptop file transfer. My biggest issue so far is that it does support iOS, Android, MacOS, Windows ... but not Linux.

[0]https://blip.net/

41. vorgol+eJ[view] [source] 2025-07-28 19:12:28
>>saint1+(OP)
> into a file server

This is underselling it by at least three orders of magnitude. This is astonishing tool, you have to watch the demo video: https://www.youtube.com/watch?v=15_-hgsX2V0

◧◩◪
57. tripdo+mZ[view] [source] [discussion] 2025-07-28 20:39:51
>>bakugo+ik
FWIW, it just had an XSS vulnerability fixed yesterday: https://github.com/9001/copyparty/security/advisories/GHSA-9...
◧◩
61. Fuzzwa+S01[view] [source] [discussion] 2025-07-28 20:45:59
>>angry_+ub
This section of the readme really sets the expectation clearly:

> inverse linux philosophy -- do all the things, and do an okay job > - quick drop-in service to get a lot of features in a pinch > - some of the alternatives might be a better fit for you

This includes a link to this doco in the repo which is an incredible source of info: https://github.com/9001/copyparty/blob/hovudstraum/docs/vers...

◧◩◪◨⬒
73. kstrau+A91[view] [source] [discussion] 2025-07-28 21:33:50
>>Datage+DO
That’s a built-in feature of FTP that doesn’t require server support.

Edit: Source: https://en.wikipedia.org/wiki/File_eXchange_Protocol#Technic...

1. You connect to servers A and B.

2. Tell B to receive a PASV transfer. It replies with the IP address and port it's receiving on.

3. Tell A to send to that address and port.

This is documented in RFC 959, starting with

  "In another situation a user might wish to transfer files between two hosts, neither of which is a local host."
◧◩◪◨⬒
75. aspenm+sf1[view] [source] [discussion] 2025-07-28 22:08:53
>>jjkacz+Wj
Check this out. This was at one point one of the cheapest and smallest Linux computers around. It’s USB powered and this project turns a WiFi device designed to share photos from an SD card over a standalone SSID into a male USB A powered miniature SBC. (Edit: okay it’s two PCBs technically)

https://github.com/Emeryth/openwrt-zsun

https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader

I got them in bulk from China for ~$6 each.

80. K2h+Lu1[view] [source] 2025-07-28 23:52:24
>>saint1+(OP)
Bj-skys.s3z - i havent heard in years. Excellent choice in the demo video and thanks for serving up on your nuc server! https://a.ocv.me/pub/demo/music/chiptunes/#af-bd94d434
◧◩
95. ckrail+042[view] [source] [discussion] 2025-07-29 05:41:39
>>throwa+Jv1
Yup, here's a timestamp to the intro video where the author says it was "made for termux, born in termux": https://youtu.be/15_-hgsX2V0?t=889
◧◩◪◨
104. klabb3+la2[view] [source] [discussion] 2025-07-29 06:40:21
>>mhuffm+yr
Try https://payload.app/

Resumable, can queue, send directories, drag & drop, LAN (without account) & WAN (hybrid p2p), all transfers + metadata are e2ee. Linux, Windows, Mac, iOS, Android.

Disclaimer: I’m the creator

110. aditya+hh2[view] [source] 2025-07-29 07:41:56
>>saint1+(OP)
I also like SendMe [0]. I’ve used it to share files between local PC and server sometimes. And also to send large files to friends without cloud links. It’s written in Rust and based on iroh p2p library [1].

[0]: https://github.com/n0-computer/sendme

[1]: https://www.iroh.computer/

◧◩◪◨
112. sserni+Tn2[view] [source] [discussion] 2025-07-29 08:32:06
>>brewti+WT
There is also https://pairdrop.net - same thing, but you don't have to download anything, it works on the web.
113. cirell+qr2[view] [source] 2025-07-29 09:01:44
>>saint1+(OP)
Wow sick loading animations https://a.ocv.me/pub/demo/ !!!
116. eadmun+4y2[view] [source] 2025-07-29 09:59:40
>>saint1+(OP)
From https://github.com/9001/copyparty/blob/hovudstraum/docs/vers... (kudos for doing this, BTW!):

> seafile … and nextcloud … their license is problematic

There’s nothing problematic about the AGPL, really. It protects users. It protects developers against someone taking over their projects. The only people it bothers are those who wish to take a free software project and integrate with an unfree one. That seems like a feature to me!

◧◩◪◨⬒
125. ajsnig+8H2[view] [source] [discussion] 2025-07-29 11:23:40
>>henry7+x21
Some apps still do the same, eg:

https://www.downthemall.net/

(also a great app to download everything you wanted from a site, regex selections, etc.)

Makes several connections and downloads chunks in parallel, for some sites with limited upload (their, your download) speeds per session it really speeds up the downloads.

Sadly, not much development recently (9 months ago was the last commit)

◧◩◪◨⬒⬓⬔⧯
135. jjkacz+Cg3[view] [source] [discussion] 2025-07-29 14:45:14
>>sfilme+3z1
True - I mean, one could try and block based on file-extension/MIME-types, but... nothing stopping a malicious user from renaming a file to an allowed extension, with some sort of malicious/secret payload. (Or... spreading some sort of malware/virus/exploit via media file formats, I have never looked into the possibility of that until just now, apparently it can be a thing - https://cyberpress.org/cybercriminals-exploiting-media-files...)

So yeah - this is probably one of those half-baked ideas that just wouldn't be a good one to actually implement "in-the-wild".

142. HelloU+NZ3[view] [source] 2025-07-29 18:41:00
>>saint1+(OP)
With a VPN on (Mullvad), https://a.ocv.me/pub/demo/ returns 403 Forbidden nginx
145. skrebb+Qa4[view] [source] 2025-07-29 19:53:55
>>saint1+(OP)
I am unreasonably happy about the "Activate Windows" watermark on the demo server (https://a.ocv.me/pub/demo/)
◧◩
154. collin+Y37[view] [source] [discussion] 2025-07-30 19:42:08
>>aredox+r2
> It already has no deps

Yes when I heard it was python I immediately checked the dependencies expecting a ginormous list and found basically nothing. Incredibly impressive, just a few "stolen" libs here: https://github.com/9001/copyparty/tree/hovudstraum/copyparty...

Worth scrolling through util.py to see lots of hand-implemented code: MultipartParser, read_header(), read_socket_chunked(), html_escape(), atomic_move(), killtree ("still racy but i tried"), termsize(), etc

https://github.com/9001/copyparty/blob/hovudstraum/copyparty...

6k loc for http server/client handling transferring files, rss feed, etc. See `def run(self)` for main request parsing.

https://github.com/9001/copyparty/blob/hovudstraum/copyparty...

◧◩◪◨
155. throw0+MB8[view] [source] [discussion] 2025-07-31 11:41:33
>>paulry+5o
In the BBS days there were transfer programs that allowed for interrupted downloads to be resumed:

* https://en.wikipedia.org/wiki/HS/Link

◧◩◪
160. sanroo+1oh[view] [source] [discussion] 2025-08-03 17:59:24
>>Mostly+io
A very simple shell script:https://github.com/sancoderhost/ShareFiles
◧◩
162. zahlma+dRn[view] [source] [discussion] 2025-08-05 19:41:08
>>akk0+u4
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)
[go to top]