evgeny-nadymov / telegram-react

Experimental Telegram web client with tdlib, webassembly and react js under the hood
https://evgeny-nadymov.github.io/telegram-react/
GNU General Public License v3.0
2.23k stars 584 forks source link

Support Electron #30

Open Jeepeo opened 5 years ago

Jeepeo commented 5 years ago

Well its will be nice if telegram-react support electron and ship as apps. Can you please make Telegram-react as Electron app? :smile:

kesha-antonov commented 5 years ago

I could do it But what's the purpose since TG has native apps on each platform?

Jeepeo commented 5 years ago

Well native app is not telegram-react

kesha-antonov commented 5 years ago

@Jeepeo I mean what’s the benefits of using electron app over native app?

p0358 commented 5 years ago

There are probably none, even when this client gets mature enough to be on pair will all or most features with tdesktop, it's still going to have far worse performance, as all Electron-based apps over native ones

p0358 commented 5 years ago

Unless you have an operating system that cannot run native apps, and there are no workarounds for Qt. An example that currently comes to my mind is Windows 10 S. But there you can run UWP apps, so you currently have Unigram. Maybe Chromebooks? But there I don't think web-based apps are ran on on Electron, probably some other ChromiumOS frameworks for that (if not simply in Chromium browser, and using PWA standard to add the app to the desktop)

savely-krasovsky commented 5 years ago

@kesha-antonov well, telegram-react is based on more robust (in my opinion) TDLib, which is super cool. This telegram is not web app in usual meaning, react acts just as very thin frontend to C++ powerful engine.

rodneyrod commented 5 years ago

You could host an instance yourself and load it up in something like Rambox too?

jafri commented 4 years ago

@kesha-antonov the problem is that some developers want to release a cross-platform telegram fork while coding in JS, not c++ or swift