Earlier quoted context omitted.
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…
What's the remaining 1%? :)
Copyparty – Turn almost any device into a file server
161–170 of 177 posts
Re: Copyparty – Turn almost any device into a file server
#162Earlier quoted context omitted.
This is great stuff. 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 d…
Why don't you relay traffic through another node on say AWS or Hetzner using Wireguard?
Tailscale: I don't want to install a corporation's client.
Yggdrisil: "The current implementation of Yggdrasil is a lightweight userspace software router which is easy to configure and supported on a wide range of platforms. It provides end-to-end encrypted IPv6 routing between all network participants." Yeah, not what I need and too-much-access.
Re: Copyparty – Turn almost any device into a file server
#163This 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…
I noticed this which brought a SMB question to mind:
>login doesn't work on winxp, but anonymous access is ok -- remove all accounts from copyparty config for that to work
>win10 onwards does not allow connecting anonymously / without accounts
Is this an intentional limitation in copyparty itself, or maybe just the progressive difference in Windows versions?
Re: Copyparty – Turn almost any device into a file server
#164Earlier quoted context omitted.
Why don't you relay traffic through another node on say AWS or Hetzner using Wireguard?
Why would I want to give my credit card to a company to access my files behind a CGNAT? So AWS can decide to charge me $10,000 someday arbitrarily? So my servers get summarily yanked with no transparency? Tailscale: I don't want to install a corporation's client. Yggdrisil: "The current implementation of Yggdrasil is a lightweight userspace software router which is easy to configure and supported on a wide range of p…
No corporation, fully endorsed by Tailscale.
Re: Copyparty – Turn almost any device into a file server
#165Absolutely 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…
Re: Copyparty – Turn almost any device into a file server
#166Earlier quoted context omitted.
The main distribution file for this project consists of a python file that embeds multiple python files inside itself encoded as a binary bitstream in a bespoke archive format attached to the end of the file. Maybe this is triggering your AV heuristics?
No, visiting their repo url triggers a port scan.
Didn't happen.
Re: Copyparty – Turn almost any device into a file server
#167Earlier quoted context omitted.
No, visiting their repo url triggers a port scan.
Visiting a Github repo "triggers a port scan" is breaking news level stuff. Didn't happen.
Re: Copyparty – Turn almost any device into a file server
#168Re: Copyparty – Turn almost any device into a file server
#169I 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...
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...
Re: Copyparty – Turn almost any device into a file server
#170Earlier quoted context omitted.
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.