So I want to setup a messaging server in my home that works like Telegram or Whatsapp - it should use the local network as we plan on moving around a lot of photos and files between our devices for some projects

What should I use? XMPP? Or Matrix? Or is there something else that’s ideal for local networks?

Thanks!

  • sibloure@beehaw.org
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I’m curious to learn of other people’s workflows. May I ask why you prefer to send files over messenger instead of using a shared local file storage?

    • shufflerofrocks@beehaw.orgOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Mostly it’s because we’re using Telegram for our workflow and everyone is pretty used to it by now (including our parents, who’re slow to adapt).

      We’re gonna be sharing videos, photos, and files on an hourly basis, and not every person is invovled with the every other person’s workflow. If it could ideally be a messenger, we would have conversations regarding these files, and the chat history+notifications on new file upload would be pretty nice.

      • MentalEdge@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Then it sounds like Matrix is what you want. It can send files just fine and I use it for that all the time.

        You may want to set up some kind of cleanup for media storage, as the files would stay on the server even after being sent and received, otherwise, slowly filling it up.

        If you have a ton of storage and the files are reasonably small, you might be be fine without that, but look into it, at least.

        • poVoq@slrpnk.net
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Matrix doesn’t really work without a public domain name and so on. Maybe this will change in the future with their p2p experiments, but right now it is not a good suggestion for a local only solution.

          • MentalEdge@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 year ago

            Yes it does. You can use it with a local domain. Setting it up would be marginally more tricky, perhaps even easier than a “real” domain, but using it would as simple as ever, on that LAN.

              • MentalEdge@sopuli.xyz
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                Obviusly. Is there a downside here beyond it only working locally? Is that not exactly what OP needs? Is there a tool that fits better than matrix?

                • poVoq@slrpnk.net
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  Matrix has all sorts of hard-coded or at least default configured stuff that needs a internet connection to phone home to the matrix.org servers. The Element web interface will also have issues working due to CORS protection in the browser.

                  Sure it might end up working sufficiently well, but it really isn’t the right tool for this.

                  In general the use of a messenger for this is already less than ideal, but a messenger like matrix that is deeply integrated into a federated network and is build on web technology that isn’t ment to be run locally is just a bad idea, sorry to say.

                  I wouldn’t even recommend XMPP for it, and that is much more self-contained and doesn’t use webtechnology at all.

                  • MentalEdge@sopuli.xyz
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 year ago

                    I don’t recall matrix-synapse needing to talk to any outside systems, unless you federate, generate url previews, or use integrations?

                    And can’t you just self-host element, too? I do.

      • sibloure@beehaw.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Cool. I do like how sending photos over chat sends a message which doubles as a notification.