Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to host telegram on my own server?

Tags:

telegram

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?

like image 782
andthereitgoes Avatar asked Jan 05 '16 16:01

andthereitgoes


People also ask

Where can I host a telegram Bot for free?

You can host a Telegram bot with PythonAnywhere, but you're limited to developing and hosting Python projects, which leaves out other popular languages like Node. js, Java and C#. PythonAnywhere has a basic plan that is free, but it doesn't support applications at scale.

Are Telegram bots free?

The Bot API allows you to easily create programs that use Telegram messages for an interface. The Telegram API and TDLib allow you to build your own customized Telegram clients. You are welcome to use both APIs free of charge.


1 Answers

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.

Some possible telegram alternatives

  • Matrix is allegedly providing "an open network for secure, decentralized communication" and has both open-source clients (Element being the 'official' one) and an open-source server that can be self-hosted. BUT while it looks good on the surface, there are indications that companies behind it have undisclosed intimate links with governmental actors (similar to Signal).

  • XMPP/Jabber has been around for a longer time, is an open protocol with multiple server and client implementations, and might be the least tainted by third-party interests. XMPP was the underlying protocol behind the original Google Talk messenger before it was rebranded to Google Hangouts and switched to a proprietary protocol.

  • Teamspeak a collaborative platform for teams, intended originally for gamers, free client and server.

  • Mumble a voice oriented solution which allows self-hosted servers.

like image 57
ccpizza Avatar answered Sep 20 '22 17:09

ccpizza