Telegram-X
Telegram-X copied to clipboard
Provide an ability to build FOSS-friendly variant
Telegram X should officially support building FOSS-friendly build type that doesn't rely on any closed-source software. This issue will include a (most likely incomplete) list of things needed to support building and thoughts on how it might be implemented.
- setup.sh has to accept some argument (e.g.
--foss) and pass it through to any other descendant script like build_ffmpeg_impl.sh to make sure that all FOSS-unfriendly software is excluded and someapp.foss=trueis set insidelocal.propertiesfile for later use in build scripts - Conditionally exclude any FOSS-unfriendly dependencies inside app's build.gradle.kts and set a
BuildConfigvariable to be able to use it at runtime (e.g. for displaying some indicator that FOSS edition of Telegram X is used) - Do some FOSS-friendly map implementation that extends from MapController.java (e.g. OpenStreetMap)
- Notifications currently heavily rely on Firebase. FOSS edition could display a foreground notification with the current connection status with Telegram servers and force application to be always connected (this foreground notification should be included in the main build too, as it could be useful in non-FOSS builds in cases when Firebase is unavailable).
- Location-related code should be reworked and abstracted from working with specific API (currently Telegram X uses Google Location Services API for a beautiful pop-up that allows enabling location without needing to go to system settings)
Once FOSS-friendly builds will be supported by Telegram X, they will be included and published by Publisher to provide all verification benefits the default build provides.
Maybe it's also worth to add F-Droid support or create own F-Droid compatible repository?
Maybe it's also worth to add F-Droid support or create own F-Droid compatible repository?
I am not familiar with its exact specifications, but, AFAIK, in order to create it all components of the app must be open source, therefore Telegram X doesn't meet this criteria until it will be possible to build FOSS-friendly variant by passing some arguments to setup.sh or local.properties which would exclude any closed-source components (such as Google Play Services).
Note that this issue doesn't have assignee — meaning that currently nobody is working on it and it is PR-welcome.
welcome my dear join powermining.uk treading investment company registered now you will receive free $50 dollars send messages to admin now and start earning @POWERMININ_GANGELAGE thanks me later take care 🥰
On Mon, 4 Jul 2022, 17:04 Vyacheslav, @.***> wrote:
Maybe it's also worth to add F-Droid support or create own F-Droid compatible repository?
I am not familiar with its exact specifications, but, AFAIK, in order to create it all components of the app must be open source, therefore Telegram X doesn't meet this criteria until it will be possible to build FOSS-friendly variant by passing some arguments to setup.sh or local.properties which would exclude any closed-source components (such as Google Play Services).
Note that this issue doesn't have assignee — meaning that currently nobody is working on it and it is PR-welcome.
— Reply to this email directly, view it on GitHub https://github.com/TGX-Android/Telegram-X/issues/145#issuecomment-1173968760, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ3KRS3SUGIT5AKM5RESP6TVSMDRTANCNFSM5XA3REDA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It would be great to see this Android app on F-Droid!
F-Droid is an Android app store specifically for free/libre open-source apps. It would be great if your app could be released there, as it is the number one for getting FLOSS Android apps for many people. F-Droid also builds all apps from source (optionally even reproducible), so downloads from there can be trusted.
The app developer FAQ or the quick start guide may help you to get started.
BTW a release on F-Droid could also bring some (more) popularity (in case that is intended), as it will show up in the app (new apps are featured there).
Also because installed from play store this application is forced to censor some groups / channels / content.
Today I found PR, that adds UnifiedPush support for Telegram FOSS: https://github.com/Telegram-FOSS-Team/Telegram-FOSS/pull/715
This may be useful as a reference implementation for the future FOSS port.