The telegram app has a very nice interface, but I want to use a self hosted xmpp chat server.

Is there maybe a fork of telegram that makes it work with a self hosted xmpp server? I would imagine that this is possible.

If not, is there anything that at least gets close to how nice telegram UI is?

  • umami_wasabi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 months ago

    OP, I understand what you look for, but that’s not easy task. From my limited knowledge of apps development, achieving what you requested would likely be:

    1. Identify and remove all relevent code to the backend. Easier if it’s modular, very hard if they’re litrered everywhere.
    2. Chose a XMPP client library that have relavent extension support that can translate Telegram features that XMPP understands.
    3. Write an adaptor (if modular) to match the methods signature and translates calls to the client library. Or reimplement all the code you removed (if littered everywhere) with the client library.

    This is akin to swaping to a new engine for a car, with incompatible mounts. Diffcult to execute, and (I believe) low interest. You can try if you got the skills. I don’t and even I have, I will just use SimpleX which fits my needs.

    • Dark Arc@social.packetloss.gg
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      3 months ago

      In theory you could use Telegram X and reimplement the tdlib API to create such a client. It wouldn’t be the main Telegram Android app, but Telegram X is in someways even nicer.