Professor
Posts: 23
Joined: Fri May 22, 2015 2:16 pm

Telegram Desktop for Raspberry Pi

Wed Nov 30, 2016 12:25 pm

Hi there, guys.
My endeavours had finally paid off, and I managed to bring Telegram Desktop build to ARM architecture.
We already had telegram-cli and telegram-purple plugin for Pidgin, but I believe it's much more convenient to just use native official client. So, you're welcome to use it!
You can get it here https://drive.google.com/open?id=0BzaLG ... VJzMEt3OXc.

P.S. You gotta disable automatic updates in the settings, otherwise you'll end up with updated x86 version instead of one for ARM.

asavah
Posts: 320
Joined: Thu Aug 14, 2014 12:49 am

Re: Telegram Desktop for Raspberry Pi

Wed Nov 30, 2016 1:58 pm

No way I personally will install binaries which some random guy posted on the forums.
Provide link to sourcecode or be gone.

Professor
Posts: 23
Joined: Fri May 22, 2015 2:16 pm

Re: Telegram Desktop for Raspberry Pi

Wed Nov 30, 2016 3:56 pm

asavah wrote:No way I personally will install binaries which some random guy posted on the forums.
Provide link to sourcecode or be gone.
Oh, come on. If it's not about binaries, I'd not even post. Since it's a headache to compile it, I provide binaries. Seriously, who does ever need to put some malware on raspberries?

GitHub repo https://github.com/telegramdesktop/tdesktop, is it your relief?

mfa298
Posts: 1128
Joined: Tue Apr 22, 2014 11:18 am

Re: Telegram Desktop for Raspberry Pi

Wed Nov 30, 2016 4:39 pm

Professor wrote:
asavah wrote:No way I personally will install binaries which some random guy posted on the forums.
Provide link to sourcecode or be gone.
Oh, come on. If it's not about binaries, I'd not even post. Since it's a headache to compile it, I provide binaries. Seriously, who does ever need to put some malware on raspberries?

GitHub repo https://github.com/telegramdesktop/tdesktop, is it your relief?
I've seen plenty of scammers who's first line is "You can trust me, this isn't a scam" that doesn't mean it's true. We don't know who you are or even where you are so there's not much to trust. Having the source code and instructions to use it can go a long way to providing that trust.

And yes, there are Raspberry Pi's out there with malware on them (usually through being poorly configured), but the aim from knowledgeable people should be about making people more security conscious (change the default password, don't install software from unknown sources etc.) rather than getting them to just install stuff they found on a forum.

tpylkko
Posts: 345
Joined: Tue Oct 14, 2014 5:21 pm

Re: Telegram Desktop for Raspberry Pi

Thu Dec 01, 2016 7:06 am

Telegram has a very functional web version.

Professor
Posts: 23
Joined: Fri May 22, 2015 2:16 pm

Re: Telegram Desktop for Raspberry Pi

Sun Dec 04, 2016 6:02 pm

mfa298 wrote:
Professor wrote:
asavah wrote:No way I personally will install binaries which some random guy posted on the forums.
Provide link to sourcecode or be gone.
Oh, come on. If it's not about binaries, I'd not even post. Since it's a headache to compile it, I provide binaries. Seriously, who does ever need to put some malware on raspberries?

GitHub repo https://github.com/telegramdesktop/tdesktop, is it your relief?
I've seen plenty of scammers who's first line is "You can trust me, this isn't a scam" that doesn't mean it's true. We don't know who you are or even where you are so there's not much to trust. Having the source code and instructions to use it can go a long way to providing that trust.

And yes, there are Raspberry Pi's out there with malware on them (usually through being poorly configured), but the aim from knowledgeable people should be about making people more security conscious (change the default password, don't install software from unknown sources etc.) rather than getting them to just install stuff they found on a forum.
Well, I was using the gyp/qmake guide to build. If you follow the instructions you'll meet some troubles with dependencies or configuration scripts. If you solve them you'll end up with as same binaries as mine ones. Since it's a pain in the butt to mess with it I just posted already compiled binaries. Calm your paranoia, I have no interest in your little green PCB. If you're not convinced enough, do a backup, download binaries, and you will see - it's just a client.

About web version. If you run it in chromium you will see how much it eats the RAM. Native client uses just about 70-90 MB, it's not that much as 200-300 in web version.

mfa298
Posts: 1128
Joined: Tue Apr 22, 2014 11:18 am

Re: Telegram Desktop for Raspberry Pi

Sun Dec 04, 2016 8:09 pm

Professor wrote:Well, I was using the gyp/qmake guide to build. If you follow the instructions you'll meet some troubles with dependencies or configuration scripts. If you solve them you'll end up with as same binaries as mine ones. Since it's a pain in the butt to mess with it I just posted already compiled binaries. Calm your paranoia, I have no interest in your little green PCB. If you're not convinced enough, do a backup, download binaries, and you will see - it's just a client.

About web version. If you run it in chromium you will see how much it eats the RAM. Native client uses just about 70-90 MB, it's not that much as 200-300 in web version.
It's of little concern to me, I don't run a gui on my Pi's. I can't even get it on my Pi as trying that link in the only web client on my Pi (wget) just gives a bunch of html and javascript.

However the Pi is about learning and there are two ways you could have helped with that:
1) Document what you did, what issues you found and how you worked around them. Often that's the interesting part of the exercise and can help others learn how to do similar things themselves.
2) Teaching others good security practices, i.e. how to keep their pi's secure (one of the first steps is how to determine if a download is safe or not)

Professor
Posts: 23
Joined: Fri May 22, 2015 2:16 pm

Re: Telegram Desktop for Raspberry Pi

Tue Dec 06, 2016 5:43 pm

mfa298 wrote: It's of little concern to me, I don't run a gui on my Pi's. I can't even get it on my Pi as trying that link in the only web client on my Pi (wget) just gives a bunch of html and javascript.

However the Pi is about learning and there are two ways you could have helped with that:
1) Document what you did, what issues you found and how you worked around them. Often that's the interesting part of the exercise and can help others learn how to do similar things themselves.
2) Teaching others good security practices, i.e. how to keep their pi's secure (one of the first steps is how to determine if a download is safe or not)
My goal was to build a thing and to put it somewhere where people can easily get it. Trust me, it's not nearly a interesting process. More about fixing undefined references than learning something, so if people wish to use my work, they will. If don't, they won't.

juppiter89
Posts: 91
Joined: Fri Jan 04, 2013 10:50 pm

Re: Telegram Desktop for Raspberry Pi

Wed Dec 28, 2016 11:17 am

Thank you, it works great, except for one thing: it crashes on GIF or video play. I debugged the trouble, I think it's related to FFMPEG Neon assembly routines, maybe disabling them the trouble could be resolved...

Btw, a guide on how to compile Telegram for arm would be nice ;)

juppiter89
Posts: 91
Joined: Fri Jan 04, 2013 10:50 pm

Re: Telegram Desktop for Raspberry Pi

Sun Jan 01, 2017 7:23 pm

Well, I managed to solve the crash hacking the binary hex code (God bless IDA disassembler :D )
Use an hex editor (such as Bless), search for hexadecimal code cbf80430584609 and edit 5846 in 00bf.

I hope that is of help to someone ;)

rainer.brito
Posts: 26
Joined: Tue Aug 22, 2017 1:55 pm

Re: Telegram Desktop for Raspberry Pi

Wed Dec 13, 2017 2:27 pm

Sorry for necro this post, but I would like to say "THANKS! IS STILL WORKS GREAT!"

The binaries are very nice, really!
How can I update the app?

(It works with much less ram than via Chromium)

rainer.brito
Posts: 26
Joined: Tue Aug 22, 2017 1:55 pm

Re: Telegram Desktop for Raspberry Pi

Wed Dec 13, 2017 4:15 pm

Just to answer my own question:

The Debian armhf version is working great! (stretch backports)
Quite easy to install!

Just downlad the .deb and the tb voip.deb, install and it's working!

Return to “General discussion”

Who is online

Users browsing this forum: chexbox, davidcoton, wh7qq and 21 guests