I made a video about copyparty, the selfhosted fileserver I’ve been making for the past 5 years.

The main focus of the video is the features, but it also touches upon configuration. Was hoping it would be easier to follow than the readme on github… not sure how well that went, but hey :D

This video is also available to watch on the copyparty demo server, as a high-quality AV1 file and a lower-quality h264.

  • theorangeninja@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day ago

    I played around with copyparty and I have to say it is just awesome! The config is just fun to mess around with and everything feels snappy.

    But I ran into an issue with FTP (probably just something I configured incorrectly) and could not find a discussion for that. I should probably start an issue on Github but as a non-developer I’m not sure how to do that in the correct way.

    Edit: I managed to “solve” the problem. Apparently the user uploading to a subfolder over FTP needs the move permission for the folder above said subfolder.

  • filcuk@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    This is insane. I think I’d use ten different applications and still not cover these features. And I can host this. Using a single python file.

  • KiwiTB@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    4 days ago

    Put out some in-depth docker instructions and this will be common use in a month. Good work.

  • Leon@pawb.social
    link
    fedilink
    English
    arrow-up
    13
    ·
    4 days ago

    I bumped into copyparty the other month when looking for a software that could let me transfer files to a friend with the ability to pause/resume. Didn’t bother with it, tried another software instead. Never really got it to work so I gave up on it.

    Bumped into the YouTube video today, decided to give copyparty a shot, damn sir you’ve written a fine piece of software. It’s so easy to get up and configure. The UI is a bit janky, but charming at the same time. Thanks for all the hard work!

  • Pall@piefed.social
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    4 days ago

    Is there a way to help translate the UI.

    I would like to help translate it into Danish.

  • muusemuuse@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    50
    ·
    edit-2
    5 days ago

    You made this on your phone on the bus ride to and from work.

    I cleaned the cat box yesterday and considered that an accomplishment.

    Fuck.

  • buddascrayon@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    4 days ago

    Holy shit this is so unbelievably full featured it’s not even funny. This is going to rattle some big names. I wonder how long till they try to shut it down because it’s better than anything commercially available.

    • tiramichu@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      4 days ago

      I haven’t even tried it yet, but just from the video you can tell it’s going to be insanely good. I’m so impressed.

      It’s the first bit of software I’ve seen in a long time where I took one look and immediately thought “Fuck me, I need that!”

      I use Unraid for my NAS server and just on the off-chance I checked the Unraid community ‘app store’ and someone’s already created a Docker definition for it, published just today! The hype is real

      I’ll be giving this a shot

  • shiftymccool@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 days ago

    Ho… Ly… Shit… This is great! The UI is a bit confusing at first but doesn’t take long to get what’s going on. I might even be disappointed with a UI revamp 😁 I can’t believe how much functionality this has. It’s already replacing some processes I have for mounting drives and backing up files. Maybe I missed something, but my only complaint would be the lack of an automatic one-way folder sync in the Party UP! app.

    I’m blown away, great job!

  • utopiah@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 days ago

    Thanks for making the video but also for providing non Youtube link. Maybe there is a PeerTube server that would enjoy hosting it.

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    47
    ·
    5 days ago

    Your readme looks super in depth, thanks for that! I haven’t watched the video yet but will later.

    I didn’t see it mentioned from a quick glance, but is either sftp or ftps supported?

    • tripflag@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      37
      ·
      5 days ago

      SFTP is not currently on the roadmap, but it’s not entirely implausible.

      FTPS is supported, but it requires an optional dependency to be installed (pyopenssl), so it’s not available in the Windows EXE. And I just realized that the dependency is currently not present inside the docker images either, so I’ll get that fixed right away.

  • #!/usr/bin/woof@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 days ago

    Well done! This is exactly what I’ve been looking for! And it’s fun to use and has an aesthetic that reminds me of browsing ftp servers back in the day. And these themes?! I love the whimsy mixed with actual usability.

    And its a damn good file server so far: fast, easy to use, makes reasonable security choices, and accessible in the ways I want (rclone mount)

  • perishthethought@piefed.social
    link
    fedilink
    English
    arrow-up
    23
    ·
    5 days ago

    The fact you mention security features, without ever saying it’s ‘super secure’ tells me you know a lot about what you’re doing. I’m so sick of apps like this that start with “most secure app on the net” but you know they’re delusional. Thank you, going to check this out.

    • tripflag@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      so uhh, sorry for the late response to this – was going to reply much earlier, but then suddenly it became more timely than ever…

      the good news is, I’m fairly confident in how it handles the filesystem and permissions, preventing unauthorized access to files.

      but the part I’m a bit less sure about is sanitizing user data; the kind of vulnerabilities where someone uploads a malicious file and bad stuff happens if you then open that file in a certain way, or someone sends you a malicious link and trick you into clicking it – in other words, the kind of vulnerabilities which require the attacker to have a certain level of access already, or that requires tricking you into doing something.

      …and with version 1.18.5 released just now, we got a prime example of exactly one of those. Really unfortunate timing, but it’s a blessing to have so many new and curious eyes on it to spot these sooner rather than later. It is what it is.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    5 days ago

    Clearly a labour of love 👍

    Maybe support for some music streaming apps (subsonic?) would be cool?

    • tripflag@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      18
      ·
      5 days ago

      That’s a neat idea – I’ve heard that a lot of stuff uses the subsonic API under the hood, so I’ll see what it would take to become compatible with that. At first glance it looks like I’d have to mine and index way more information about audio files, but could still be doable :>

  • chellomere@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    5 days ago

    Hey fellow scener, cool project!

    Just a few thoughts/questions:

    • BTRFS and ZFS support real deduplication via copy on write, and would eliminate all current disadvantages of symlink and hardlink deduplication. It just works.
    • Why have it be one huge python source file? This is a serious code smell imo, and something you really should avoid doing as this can be a major maintenance burden.
    • tripflag@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      1
      ·
      5 days ago

      BTRFS and ZFS support real deduplication via copy on write, and would eliminate all current disadvantages of symlink and hardlink deduplication. It just works.

      yeah that’s a good point, I’ll add an option to take advantage of this if you know you’re running on a filesystem where that works as intended.

      Why have it be one huge python source file?

      oh don’t worry, it’s all separate files during development – there’s a build-stage which bundles everything up into a single file for distribution. But thanks for the concern :D

      • chellomere@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 days ago

        Ah, so you have compiled it into one file? Didn’t know that was possible for python, what tool do you use for this?

        • tripflag@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          14
          ·
          5 days ago

          sooo this is one of the things that started with someone saying “wouldn’t it be funny if…”

          if you open copyparty-sfx.py in a text editor, you’ll see how – but please make sure to use an editor which is able to handle about 600 KiB of comments which contain invalid utf8 / binary garbage 😁

          I ended up rolling my own packer since I wanted optimal encoding efficiency, and everything I could find would do stuff like base85 or ucs2 tricks, but it turns out python is perfectly happy with binary garbage in comments if you declare that the file is latin-1 so it realizes all hope is lost :D

          the only drawback of the sfx.py is that it needs to extract to $TEMP before running, so that’s the slight advantage of the zipapp (the .pyz alternative), but that suffers from some performance reduction in return, and is more hermetic (doesn’t let you swap out the bundled dependencies with fresh versions as easily if necessary)

    • Suzune@ani.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      Just a remark from someone who runs ZFS since the beginning. Many people don’t like the deduplication feature because of its memory footprint.

      It’s also nice to have this feature without relying on a certain filesystem.

      • chellomere@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        I assume you mean automatic deduplication? I haven’t used ZFS, but BTRFS does not have that. There are a variety of ways to perform deduplication, I have duperemove scheduled to run regularly.

        If ZFS is still capable of being instructed to perform deduplication when automatic deduplication is turned off, which it really should be able to do, then this should work even with it turned off.