this post was submitted on 07 Aug 2024
27 points (86.5% liked)

Selfhosted

40218 readers
981 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] umami_wasbi@lemmy.ml 5 points 3 months ago* (last edited 3 months ago) (1 children)

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 2 points 3 months ago* (last edited 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.