All your chats in one app - Self-host Matrix with Bridges and Cloudflare - eviltoast

Do your chats look like this? Do you always forget which contacts use which apps? Do you wish there was a way to have all your chats in just one place?

In the following guide I’m going to show you how to use Matrix to achieve your dream of an all-in-one chat app, by using Matrix bridges and securing the connection with Cloudflare Tunnels.

  • WetBeardHairs@lemmy.ml
    link
    fedilink
    arrow-up
    31
    ·
    1 year ago

    “Oops I sent that goatse meme to my boss, not my friend” is not a fuckup I want to have. Segregation of apps is sometimes a virtue.

  • Skies5394@lemmy.ml
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    1 year ago

    Beeper is great but you have no idea what they’re doing with your data.

    This is work, and I still think there’s a niche between the two, with an assembled docker rather than ansible playbook, that is going to be the one that takes off.

    • Zerodya@lemm.eeOP
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      1 year ago

      Beeper is great but you have no idea what they’re doing with your data.

      Thought the same, that’s why I decided to learn how to host it locally and wanted to share the knowledge.

      an assembled docker rather than ansible playbook, that is going to be the one that takes off.

      Definitely. Right now it causes quite a few headaches and Docker is also what’s probably most known by selfhosters.

  • arcrust@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I use ferdium.

    It’s combines every app/website I want to be connected to. Snapchat Lemmy Element Gmail Google tasks Discord Google messages Mastadon Steam chat FB messenger Proton mail Microsoft teams Telegram Slack Github Icloud

    You can even add custom services, although I haven’t tried to do it. The only one missing is signal.

    It is desktop only though

    • Lojcs@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That looks more like a web browser than anything else. Does it have any advantages over opening the pages in a browser?

      • arcrust@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It basically is. AFAIK, there’s no browser based way for steam chat, Google messages, or snapchat. I’m sure there are others too.

        The biggest advantage I can think of is notification integration. The ‘tabs’ do give notification counts. You can minimize to the system tray so it doesn’t have to be open. It would be seperate from your web browser, so if you have 30 tabs open like I do it’ll be less cluttered. But it’ll send notifications to the desktop with snippets of the message, like a popup on your phone. Also, even if you clear all your cookies/browser history etc., since it’s seperate from the browser, you don’t have to worry about logging in again.

  • skankhunt42@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’ve been doing this for years. I also bridge my SMS/MMS messages. I’d LOVE to bridge calls somehow too

    • johntash
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Do you bridge your sms from your actual phone number or did you have to set up a new VoIP number or something like that?

      • skankhunt42@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I’ve tried these but I need MMSes and can’t figure out the alpha one with MMS.

        I have a pinephone and found an okay one here. https://wiki.pine64.org/wiki/PinePhone_MMS_with_Matrix#Set_up_MMS_bridge_service

        It doesn’t work very well but I can ssh into the pinephone and restart it or mess with the modem as needed. You run a matrix server and its a python script on the phone that bridges messages to it. I hate using my phone so its super easy to put up with. I do wish it was written better… I’ve been considering either contributing to the project or making my own because it doesn’t seem very active.

        Edit, sorry, so, I forward my calls to a VoIP number and I bridge SMS/MMS using the pinephone to a selfhosted matrix server. Id love to bridge m’y calls to matrix too but I can’t find anything that does that.

        • johntash
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Thanks for that. I didn’t realize those bridges even existed! Did you try mautrix-gmessages at all? It looks like it supports mms and rcs and is actively developed.

          I need to set up a new matrix server but I’ll probably give those a try too.

          Having a pine phone would be pretty cool to have things like that to mess with.

          • skankhunt42@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            No, i’ve never tried that one.

            I do my best to stay far, far away from google. I have a used pixel 3 from ebay with GrapheneOS. No google play services or anything. I pay a company to host my mail (doing it myself wasn’t worth it). I don’t like to be the product and using the #1 advertising company services for free? Hard pass.

  • beeng@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Can somebody tell me if I need to open SSH port 22 to internet on my local? Id rather not…that mean I cannot use this?

    • Zerodya@lemm.eeOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Only locally, so that your local computer can access your server locally. Then the Cloudflare proxy will allow you to connect to it from the internet securely through a two-factor authentication or any other access type you choose, without opening any port to the internet. It’s all explained in this section.

      You can also implement passwordless authentication but that would probably be too extra.

        • Zerodya@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I guess not. I’m not that experienced with ddns but I think there’s no way to have subdomains?

  • kev@lemmy.kevhomeit.trade
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    1 year ago

    It will be great if you make a video , me as a beginner would like to follow it but thank you so much for the guide!