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.
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."
That’s really cool. I’ve never seen that work before.
By the way, the youtube video showcases this project really well.
(You know, like the neighbourhood "take-a-book, leave-a-book" little libraries, except for... digital content... It would fly an appropriate "skull + crossbones" flag...)
I created a PirateBox on a little GliNet router a while back with the intention of sharing public domain content but didn't do so beyond having a quick play around with it myself.
Have debated making it "read-only", but then I would be culpable for the curation of content...
That and perhaps I just don't want to encourage people loitering around in front of my house for long-transfers...
OTOH - this could be useful for essentially a "dead-drop" independent standalone box for, uh... "civil disobedience" reasons... (or a free alternative to those "prepper-internet-in-a-box" devices they are currently selling...)
Which sounds like alot, but if we factor in the extended family and cross-media sharing and the number of separate streaming services we all subscribe to across many many years, then this is a "deal"...
OTOH - I don't want to be the first case/person to help determine what precedent will be set if something actually gets taken to the end-state statutory damages..
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.
> inverse linux philosophy -- do all the things, and do an okay job
I took a glance at the code and it's... not great. It's absolutely full of short, meaningless 1-2 letter variable and function names that make it very hard to read and understand if you're not the original author. Wouldn't be surprised if it's full of security holes that will never be found.
> i want to learn python and/or programming and am considering looking at the copyparty source code in that occasion
> do not
> 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...
(For others, it’s a method to follow people across multiple services without being a normal feed. A person who updates only shows up once.)
Amazing.
Now I am wondering, would it be technically possible to build a similar app but based on the syncthing protocol?
I really like syncthing but it would be cool to have a version where you could just easily share specific files with peers.
I've also seen quite a few semi-technical youtubers make videos about it but not mentioning that it uses public relay and discovery servers usually by default (but maybe that depends on the distro). It's not a bad thing but something one should know before using it.
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
[keeps watching video] what the fuck
> i want to learn python and/or programming and am considering looking at the copyparty source code
> do not
If the author is lurking here, are you doing all by yourself? Do you use any LLM/agent?
It really is impressive.
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 than I'd anticipated, pullrequests have started appearing, so it doesn't look like those statistics will stay true for much longer! Really cool having more eyes on it spotting the things I overlooked, really enjoying that.
The only thing I'd like is some way to run it behind a cgnat. I was on starlink and I'm on an 5g device now.
If there was a way to integrate with Google drive mega Dropbox, githubs etc where I could drop a file list request document one of those services, and your server is pinging that (intermediate) storage service, detects the file listing request or file push request, or file upload request doc, and then does it.
I know each of those is an integration headache but man that would be useful.
Ok so GitHub has a built in markdown editor, so the request docs could be markdown templates. Or maybe static html/js files that generate markdown request docs, and file listing responses can be markdown or more static html docs.
Were you a part of the efnet ansi/ascii scene?
There's still some of us floating around!
Great project btw, nice work!
Now I feel like crap seeing how amazing this project is.
You'll likely need to root the phone to get the OS not to kill the termux process due to idleness though.
For example, access over OPDS, which one could then configure as the store backend on Kobo eReaders (yes, that's possible).
aredox•11h ago
*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...
9029•10h ago
[0] https://github.com/jart/cosmopolitan
[1] https://ahgamut.github.io/2021/07/13/ape-python/
leobuskin•9h ago
noman-land•6h ago