Is it possible to host telegram on my own server?

andthereitgoes picture andthereitgoes · Jan 5, 2016 · Viewed 20.8k times · Source

Telegram is a cloud based chat service. All of their clients are open source. I was wondering if there's a way to host a 'private' telegram service on my own server.

If not, is there anything out there that can provide all or almost all features that telegram provides?

Answer

ccpizza picture ccpizza · Jan 20, 2017

According to the official telegram FAQ the current answer is no:

Q: Can I run Telegram using my own server?

Our architecture does not support federation yet. Telegram is a unified cloud service, so creating forks where two users might end up on two different Telegram clouds is unacceptable. To enable you to run your own Telegram server while retaining both speed and security is a task in itself. At the moment, we are undecided on whether or not Telegram should go in this direction.

So as long as the server itself is not open-source the entire Telegram eco-system cannot be considered open-source, even though there is an open API and official open-source clients.

There seem to be some unofficial telegram servers, but it's not clear how compatible they are with existing clients.