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.
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..
> 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...
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.
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.
aredox•6h 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•5h ago
[0] https://github.com/jart/cosmopolitan
[1] https://ahgamut.github.io/2021/07/13/ape-python/
leobuskin•4h ago
noman-land•1h ago