|
|
||
|---|---|---|
| .github | ||
| buildSrc | ||
| gradle/wrapper | ||
| TMessagesProj | ||
| TMessagesProj_App | ||
| TMessagesProj_AppHockeyApp | ||
| TMessagesProj_AppHuawei | ||
| TMessagesProj_AppStandalone | ||
| TMessagesProj_AppTests | ||
| TMessagesProj_Modules | ||
| Tools | ||
| wiki_images | ||
| .gitignore | ||
| .gitmodules | ||
| apkdiff.py | ||
| apkfrombundle.py | ||
| build.gradle | ||
| Dockerfile | ||
| gradle.properties | ||
| gradlew | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
Partisan-Telegram messenger for Android
A special version of Telegram that protects peaceful protesters in Belarus (can be used in other countries with authoritarian regimes as well). P-Telegram has two passcodes instead of one - the real passcode and a false passcode. If a user enters the false passcode a series of pre-defined actions is performed such as:
- Sending a custom SOS message to family and a trusted contact using Telegram
- Delete chats and channels that can be used against the user
- Log-out of the account on this device
- Delete all other sessions besides the current one
- And others
Usage of P-Telegram can be used against the user in Belarus to justify torture and jail, therefore P-Telegram looks and feels like the original Telegram as much as possible.
Stay safe.
Translations
If you'd like to add translations to Partisan Telegram, please join the project on Crowdin.
Contact
Partisan Telegram is developed and maintained by Cyber Partisans. If you have questions about the application, you can ask them in our bot.
Compilation Guide
Note: In order to support reproducible builds, this repo contains dummy release.keystore, google-services.json and filled variables inside BuildVars.java. Before publishing your own APKs please make sure to replace all these files with your own.
You will require Android Studio 2025.1.4, Android NDK 27.2.12479018 and Android SDK 36.
- Clone the Partisan Telegram source code with its submodules:
In case you forgot thegit clone --recursive --shallow-submodules https://github.com/wrwrabbit/Partisan-Telegram-Android.git Partisan-Telegram-Android--recursiveflag, change to thePartisan-Telegram-Androiddirectory and run:git submodule init && git submodule update --init --recursive --depth=1 - Copy your release.keystore into TMessagesProj/config
- Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in gradle.properties to access your release.keystore
- Go to https://console.firebase.google.com/, create two android apps with application IDs org.telegram.messenger and org.telegram.messenger.beta, turn on firebase messaging and download google-services.json, which should be copied to the same folder as TMessagesProj.
- Open the project in the Studio (note that it should be opened, NOT imported).
- Fill out values in TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java – there’s a link for each of the variables showing where and which data to obtain.
- You are ready to compile Telegram.
