Find a file
2023-01-02 12:31:47 +03:00
.github Update FUNDING.yml 2023-01-02 12:31:47 +03:00
gradle/wrapper Update to 8.0.0 (2406) 2021-08-31 22:06:39 +03:00
TMessagesProj update to 1240 2023-01-01 21:37:35 +03:00
TMessagesProj_App merge 9.1.4 2022-11-21 12:00:17 +03:00
TMessagesProj_AppHockeyApp merge 9.1.4 2022-11-21 12:00:17 +03:00
TMessagesProj_AppHuawei merge 9.1.4 2022-11-21 12:00:17 +03:00
Tools Some new features and bug fixes 2014-06-17 18:45:21 +04:00
wiki_images add wiki images 2021-10-24 16:44:11 +03:00
.gitignore .gitignore update 2022-11-02 21:15:03 +03:00
apkdiff.py Fix apkdiff not checking entire files 2020-01-06 23:22:05 -08:00
build.gradle fix build 2022-08-14 21:02:41 +03:00
Dockerfile merge 9.1.5 2022-11-22 13:34:31 +03:00
DockerfileAlpha fix build 2022-08-14 23:52:22 +03:00
DockerfileBeta fix build 2022-08-14 23:52:22 +03:00
gradle.properties Merge branch 'upstram_master' into 3.1 2022-12-31 21:49:56 +03:00
gradlew first commit 2013-10-25 19:19:00 +04:00
LICENSE first commit 2013-10-25 19:19:00 +04:00
README.md change donate links 2023-01-02 12:12:12 +03:00
settings.gradle update to 9.0.2 2022-09-21 18:20:30 +04:00

Partisan-Telegram messenger for Android

Crowdin Bitcoin donation Ethereum donation USDT donation Monero donation Litecoin donation

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 3.4, Android NDK rev. 20 and Android SDK 8.1

  1. Download the Telegram source code from https://github.com/wrwrabbit/Partisan-Telegram-Android ( git clone https://github.com/wrwrabbit/Partisan-Telegram-Android.git )
  2. Copy your release.keystore into TMessagesProj/config
  3. Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in gradle.properties to access your release.keystore
  4. 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.
  5. Open the project in the Studio (note that it should be opened, NOT imported).
  6. Fill out values in TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java theres a link for each of the variables showing where and which data to obtain.
  7. You are ready to compile Telegram.