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?
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.
Telegram client is open source, and there are many forks of it with enhanced features (forkgram, nekogram, etc.)
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.
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.
You want to tell me what about my comment is not accurate?
I think OP is quite clear that he wants something resembles to Telegram’s UI, but works with XMPP instead. The title is just part of the context. You still have to read the body, which uses terms “interface” and “UI”. This means he never intend something server side.
I won’t say your comment is inaccurate, but taken out of context and misinterpret what the OP means.
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.
The “app”, as you call it, only subscribes to the services provided. Whether you know it (apparently not), any features you described are on the server side (as to your post title). You are asking about the server, though you seem to not know it. Why else would you post in “self-HOSTED”. Applications aren’t hosted.
Wow.
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:
- Identify and remove all relevent code to the backend. Easier if it’s modular, very hard if they’re litrered everywhere.
- Chose a XMPP client library that have relavent extension support that can translate Telegram features that XMPP understands.
- 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.
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.
If you don’t strictly speaking need XMPP, you might want to checkout Jami which is a peer-to-peer based chat app with a fairly polished UI. It still definitely feels like beta software at times though, so more of a “be aware of it and check in on it” than “actively use this for all of your chats” sort of thing.