This question has been answered. Please stop trying to repeat information that has already been said many times before. Everything in this thread is in good faith, I am here to learn, so I will make mistakes. Furthermore, if you want to contribute something new, please read the entire post to avoid misunderstanding the purpose of this post.

Selfhosting is useful when you either need a lot of storage or a lot of processing power. For example, Kiwix is useful to selfhost on a server because a lot of its content can take up terabytes of storage, which a phone may not have. LLMs are also useful to selfhost because they require a degree of processing power that, again, a phone may not have.

In both cases, there is also a need for perpetual access. If you simply hosted an LLM on your home computer, it wouldn’t be very useful to access from your phone since your computer won’t be running all the time. So, a separate always-on server is needed.

However, there are some selfhosted software that I don’t see a use for. For example, Immich. Immich requires to be run on a server to function, but a lot of (or even all) of its functions are things that could reasonably done entirely on-device. Aves combined with some automatic backup solution such as Nextcloud gets (from what I can tell) most of the functionality Immich offers. Obviously, some features like AI image tagging are missing, but you get the point. AI image tagging is also something that could be run on-device as well, since it’s mostly lightweight (iPhones are capable of it). Having a setup like that also comes with the benefit of automatic backups being completely optional, rather than required.

There’s no reasonable need for extra storage or extra processing power needed for that use case, from what I can tell. (Disclaimer: I haven’t actually used Immich before, so this is speculation. I apologize if I’m missing something obvious) There’s a lot of other selfhosted tools like spotDL which have a selfhosted web UI, but no GUI that can be installed outside of a web browser.

I guess my question is why there are so many selfhosted tools that unnecessarily require being run on a separate device. I do understand the legitimate use cases some of them have, but others seem better off on-device airgapped. This especially became an issue trying to find a notes app for Android that requires no account and runs fully locally, or an RSS reader that loads from the device itself. I found Joplin and Feeder or Read You as the software for each of those. I don’t like “server-based” selfhosting for things that could be done from the device itself.

I’m sorry if this turned into a rant. If someone could help me understand, I would appreciate that very much.

Cheers!

Edit: The comparison here isn’t between selfhosting and using a cloud provider. The comparison here is between selfhosting on a server and running explicitly on-device (besides where extra storage or processing power is required)

Answer

So that nobody has to dig through the comments for answers, this is what I’ve learned: In the case of Immich, its purpose isn’t designed to be a photo gallery. It’s designed to be a more polished backup solution, designed explicitly for photos and not general files. While Nextcloud could be used to backup photos, it’s not as focused on photos as Immich, and so it isn’t as nice to use for that purpose. Immich also allows you to share photos with a link, rather than relying on a cloud provider to do that for you. There’s also another benefit to selfhosting that I hadn’t entirely realized, which is availability across devices. Some things like an eBook library may not take up much space, but it’s convenient to not have to sync manually (or automatically) across devices, and instead access it from a central server. That same logic is true for RSS readers as well, since it’s inconvenient to manually add and sync feeds across devices. Syncing across devices can be done with something like Syncthing in some cases, but not all, and so that’s where selfhosting can be useful.

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

    There are three reasons that I can think of:

    1. Privacy
    2. Collaboration
    3. Accessibility / cost

    Privacy. This is obvious. People don’t want their private information to be sold by corporations or scraped by AI.

    Collaboration To share information with others, while maintaining point 1, people have to self host. Say, you want to archive a bunch of photos for personal viewing then you can store them anywhere you like. But if you want to share them with family, a self hosted solution is the way to go.

    Accessibility / cost People want to do things for free. Many applications offer free version or demo, but features are often limited and you can’t really customize them to your own needs. In addition, applications often adopt a subscription model these days and people don’t like that.

    • The 8232 ProjectOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 days ago

      I mentioned in the edit: I’m not asking why things should be selfhosted instead of run on a cloud provider, I’m asking why things are selfhosted on a server that could be run entirely on-device. The latter I argue provides more privacy and less cost. Again, there are some cases as I mentioned in the post where selfhosting on a server is useful (storage or processing power), but I keep seeing a lot of server-based selfhosting that could instead be run on the device itself.

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

        To answer your question, most people don’t have just one device. Do you have only one device? You must have at least a desktop computer and a smartphone? What if you want to have something stored in your computer when you are not at home?

        Music for example. If I don’t want to pay Spotify or whatever, and I want to listen to my music on my phone at work and on my computer at home. Other than making two full copies of the entire music library, I think I have to store them on a 3rd location then share it to my two devices.

        If I don’t listen to music at home, then you’re right, there’s no reason to self host anything. I can just store all songs on my phone.

      • catloaf@lemm.ee
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days ago

        I have two devices. How do I view photos from both, together in one library, without running something like Immich on a third device?

        • The 8232 ProjectOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          That’s a fair point, and I don’t suppose Nextcloud or Syncthing would be quite as useful or as designed for photos. Thank you for helping me understand!

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        The purpose of most of these apps is to be able to use them on multiple devices. If I had immich entirely running on my phone (this is not actually feasible regardless) how do i access my images from my computer.

        Also many people have multiple users. A family could have all their images on one immich server and be able to share images with each other easily.

        On jellyfin for example, I can play any of my media on someone elses TV as long as they have Chromecast. Not possible if its all just kept locally in a folder on a computer