Hi all,

I run a private self-hosted Synapse server with bridges for:

  • Signal
  • WhatsApp
  • Doscord
  • IRC
  • Google Voice
  • Custom APIs

I am thinking of switching to XMPP. Can anyone recommend a good Docker-based server and transport combo that I could test out?

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    What’s your docker compose for all of that? I would be interested in running that stack.

    • MysteriousSophon21@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      29 days ago

      You should check out docker-compose-viz or dockge for visualizing/managing these complex setups - I’ve been using them for my audiobookshelf server (which I access with the soundleaf app) and it’s been a lifesaver for managing all those interconnected containers.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        29 days ago

        I use Lazydocker, I find it has more useful info and stats than Dockge, but I haven’t tried the other.

  • kristoff@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 month ago

    perhaps a stupid question, but are there bridges for XMPP ? My impression is that XMPP is as good as empty (I do use it mainly as a federated service). Is there still a lot of active development on the XMPP side of things?

    I do not understand your point with ‘you cannot change the URL’. If you use matrix as non-federated and just the only user, what is the problem that you need to change the URL when you need to set up a new server on a new URL? Not being able to change the server at the same URL seems like a logical concequence of authentication, be it for server-to-server communication as for client-to-server communication.

    • fmstrat@lemmy.nowsci.comOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      Yes they are called “transports”.

      As for when I tried to change the URL, I was moving all services from publicly resolvable DNS to .lan, and Matrix is an issue because you can’t change that after the fact, even if you haven’t federated.

      • kristoff@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        HI, Thanks for the info (and also thanks to PoVog).

        My experience with mqtt is limited. I once set up a ejabberd server to try it out. It works but -as I mainly interested in federated chat- it was not that interesting. There was a lot less traffic and the rooms that exist that had traffic had a big issue with moderation (i.e. spam content). The S/N ratio of the discussions was a lot less then on matrix or other platforms.

        I also notice it was missing some features that are do are present in matrix, like the ability to edit messages. From how I understand it, the modulator nature of XMPP is a nice idea but as there is a large diversity on clients and the features they support, it does seems to come down to only the lowest common domininator to really work well.

        As I have just set up a pi5 as my new selfhosting-server, I might give it a try again, and see how well the transports (like slidge as mention by PoVog) work.

        Concerning the URL issue, as explained, it kind-of looks like a normal side-effect of the principle of server authentication. Alsom your use-case (one server, one client) it not the normal goal why chat-servers are build. Even in a non-federated use, you have multiple clients connecting to it. Cchanging the server hostname will impact all clients, so is probably a very rare scenario. I did see you use synapse. I do not know if you dendrite or conduit have the same behaviour.

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 month ago

      Yes there are gateways (or transports) for xmpp. See for example https://slidge.im/ but there are also a few other projects.

      It’s maybe a bit less than for Matrix, but the ones that exist tend to work better.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 month ago

    The Signal gateway has currently issues, due to Signald being broken.

    For WhatsApp and Discord there is Slidge.

    IRC works great with Biboumi.

    I am not aware of a Google voice bridge, but there are ways to bridge to the regular phone network and sms. The easiest is the https://jmp.chat/ service.

    • Andres@social.ridetrans.it
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      @poVoq @fmstrat I ran ejabberd for years before switching to matrix (synapse). Matrix was a disaster, plus jmp.chat is a fantastic google voice / VOIP replacement, so I switched back to xmpp (with prosody). Out of those options, prosody is clearly the best for self-hosting.

        • poVoq@slrpnk.net
          link
          fedilink
          English
          arrow-up
          2
          ·
          29 days ago

          Ejabberd has more enterprise features and scales better for large public servers, Prosody has more interesting community modules and generally is ideal for smaller private servers (but has a very nice invite system).

        • Andres@social.ridetrans.it
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          @2xsaiko A big caveat is that I used them in very different time frames - prosody starting from 2021 to now, while ejabberd I used from 2006 to 2012 or so. At the time I used it, ejabberd’s config was done in erlang(!); they apparently they’ve since switched to yaml configs. It was generally fine, but when I switched back to XMPP in 2021, I figured I’d go with a server in a less niche language and better support (the jmp.chat folks mostly use & recommend snikket/prosody).

          • Andres@social.ridetrans.it
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            @2xsaiko XMPP is nice and lightweight, so I think either would work fine. I just find prosody has more community momentum.

            It was matrix that was a massive memory hog, required running bleeding-edge homeserver software, didn’t do proper security support, etc, so that’s where I have stronger feelings.

            • dblsaiko@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 month ago

              Thanks! I’ll take a closer look at both then and see which I like better.

              I am running a Matrix homeserver right now and yeah it’s definitely a mess.

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

        I think you can’t connect new devices or so and the development has stalled. But I don’t use Signal personally, so not 100% sure. AFAIK the Matrix bridge is currently being rewritten with another backend.

  • magikmw@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    I’m looking at tuwunel to setup instead of synapse as soon as it’s ready. Still matrix, but maybe better for small instances.

    • mat@linux.community
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Tuwunel had intentions to build a Synapse migration tool, but I haven’t heard anything about it since. Was waiting for it so I could bring over profiles and most importantly chat history for myself and my family.