Imagine if you could set up an entire file server in two steps, on any device. Just download a 1Mb file, and then run it.

I know folks have mentioned it here before, but I’ve been running CopyParty for a month or so, and I’m extremely impressed. After setting up multiple Docker services on my home server, I almost couldn’t believe how simple this was to set up and use. I had to install Python, but after that, it’s just two steps. Download the file, and then run it.

It’s not exactly the prettiest interface in the world, but it will turn any device that can run Python into a complete file server. The web interface will run on basically any device you can think of. It’s not fancy, but it’s pretty intuitive once you learn how to use it, and extremely responsive.

I’ve seen some discussion recently about different file servers and file syncing like Syncthing, NextCloud, etc. I’m not sure if many people know about CopyParty and use it.

It has a lot of customizable features, and can operate on all sorts of configurations. I have it set up as a remote drive on my phone and office computer. I use the web interface to preview audio files and text files. I use it to manage downloads into the designated folders I need to put them in.

It is at least as fast as any other upload or download service I’ve used on my home server. Usually it’s even faster. It can quickly search files, including the contents of files, and automatically detect duplicates.

If I knew self-hosting could be this easy, I probably would have started even sooner. I might have even started testing on an unused cell phone I have lying around.

There are a couple gaps that have prevented me from diving all in. There’s no file versioning built in. So if a file is corrupted or overridden by mistake, it can’t be rolled back using copyparty. There are no dedicated apps, so things like built-in file search and indexing depend on the capabilities of the OS (you can always access the indexed search through the web interface, but that’s not always the most convenient). Some of the features, like the blazing fast upload, are only available through the browser.

Like any software, it’s not perfect, but it is extremely impressive and very good at what it does. Which is a lot.

CopyParty on github

  • Tiger_Man_@szmer.info
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 hours ago

    All i know about it is that its made by the person who uploader fukkiretta(kasane teto song) to yt.

    At least for now i don’t see ane reasons to abandon the good old sftp

  • calamityjanitor@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    2 days ago

    I fucking love copyparty. It starts simple enough but then the millions of options and configs let you twist it into exactly what you need.

    As someone that runs a server OS that doesn’t support docker, it is very refreshing to see a single binary project. It has a focus on being administrator friendly thats really fallen out of fashion these days.

  • gndagreborn@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 days ago

    I had to ditch nextcloud after it started corrupting all of my files’ time stamp meta data. I really miss it though. Syncthing is what I’ve been using.

    • _cryptagion [he/him]@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      2 days ago

      Syncthing is nice, but it fills a different niche than copyparty. I run both, and copyparty is more useful for things you might want other people to use. For example, I have one that’s filled with anarchist memes that the dbzer0 folks on matrix can access. They can also upload memes to the meme stash.

  • PlutoniumAcid@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    Copyparty was mentioned here just the other day, and I started using it this weekend. There were comments about security risks though, based on being a small project with a LOT of integrations. Not sure how safe I feel.

    Docker path mapping is needed to let Copyparty show the files I want to access. I run my containers on a server next to my NAS that hosts my files; that’s a little complicated.

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

      There were comments about security risks though, based on being a small project with a LOT of integrations.

      time will show, but the only thing i actively regret adding was the support for discord embeds (the “og” option); opengraph is an awfully designed concept and, unrelatedly, it has been a source of a handful of bugs in how it was implemented in copyparty (that one’s on me). Keeping that disabled avoids a lot of edgecases, most of which are decreed by the opengraph spec.

      That said, there’s no features keeping me up at night; i think for the most part things are fine – just don’t enable the smb server 😁

        • tripflag@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          The best and recommended way to connect to copyparty (either from windows, linux, or macos) is with WebDAV – this will give you much higher performance. WebDAV is also a MUCH safer choice when connecting over the internet, since it is just https after all. Meanwhile, exposing SMB to the internet is generally a recipe for, well… nasty surprises :-)

          There are also very copyparty-specific reasons to not use the SMB-server, and these are explained in the readme. That’s also why the SMB-server is not possible to enable in any of the official copyparty distributions without manually obtaining the necessary dependencies for that (impacket).

          • PlutoniumAcid@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            I checked my setup, and webDAV is indeed what I am using. Good that they made it impossible to accidentally use an unsafe method.

            Thank you for the explanation!

  • KairuByte@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Isn’t HFS still a thing people use? Literally one file, no need for python, no install, just run it and you’ve got an http interface available on your local network to upload/download files to.

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

      hfs v2 (the old banger of an exe) is no longer being maintained and has some known unfixed vulnerabilities, however there is now a rewrite (hfs v3) which is shaping up really nicely.

      should also mention that copyparty is also available as a windows exe which will run without python or any other dependencies

    • gedaliyah@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I never heard of this before, but it looks similarly easy to deploy. It requires Javascript instead of Python, which is the same to me although I’m sure others will have a strong preference for one or the other. Pretty nice interface though.

  • SiblingNoah@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    2 days ago

    Had to choose a file server setup recently. Ended up with Filebrowser Quantum.

    Copyparty is awesome, but it seems happiest on bare metal instead of Docker. The Docker setup and documentation, especially when adding reverse proxies and authentication (like Authentik) is just not there yet.

    I’m looking forward to giving it another look in a year.

      • kossa@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        All config with docker is the same, so basically every service is kind of maintained and especially backuped the same.

        Plus, config is just files. If the server is dead, copy volumes and compose files to new machines, two commands, all services up again. No difference in how to deploy some services.