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?

12 points
*

I wondered about this before but apparently the Telegram client is terrible spaghetti code under the hood, making these kind of ideas not feasible.

You might like Monocles Chat though, which is an Android XMPP client with a somewhat nicer looking interface.

There is also the work in progress Moxxy client, which is a from ground up new XMPP client written in Flutter. It seems to take some interface inspiration from Telegram, but to be honest, it isn’t anywhere near to be fully usable and development has been slow in recent months.

permalink
report
reply
5 points
*

Monocles looks really nice! I’ll try it out, it may be exactly what I need. Thanks :)

permalink
report
parent
reply
5 points
*

Telegram isn’t open source, so I don’t think you’re going to find forks of it.

I stand corrected. Telegram’s client is open source (GPL) and what OP is asking for is reasonable.

permalink
report
reply
12 points

Telegram client is open source, and there are many forks of it with enhanced features (forkgram, nekogram, etc.)

permalink
report
parent
reply
-19 points

You are asking about the server, not the apps.

This is another “I WANT EVERYTHING FOR CHEAP!” post in this thread, but with lower effort because this is easily searchable to find the answer.

permalink
report
parent
reply
7 points
*

You are asking about the server, not the apps.

No. Please refer to the third word in the body of my post, which spells “app”.

This is another “I WANT EVERYTHING FOR CHEAP!” post

Where? I am not seeing what you’re seeing. Feel free to quote my post to show where this is, and please demonstrate how it is “i want everything for cheap!” in all caps.

permalink
report
parent
reply
5 points

OP already clearly stated he want to use XMPP. What OP is asking is some client features the functionality of Telegram client. Or a fork of Telegram client, gutted out every signle line of code interact with the backend, replace them with a XMPP client library.

permalink
report
parent
reply
5 points
*

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.

permalink
report
reply
2 points
*

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.

permalink
report
parent
reply
4 points

Just use Conversations. It’s fine.

permalink
report
reply
2 points

You want a bridge. Like Jabagram or Emulsion. But there’s a limited set of features that will work. For example, reactions or group admin on telegram can’t be easily replicated over xmpp. And, in any case, we are talking more about having messages and media on both rooms, on either side, replicated. That way, users on telegram (e.g. your friend) can talk to users on xmpp (e.g. you). Reliability for bridges is not good, there are glitches and messages that doesn’t make it to the other side, whichever that is. I’d say you prefer to self-host xmpp with cherry-picked extensions, like snikket.org

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.8K

    Monthly active users

  • 1.8K

    Posts

  • 18K

    Comments