DrKLO / Telegram
git clone https://github.com/DrKLO/Telegram.git
release-11.4.2-5469 · 1y ago
🔥 on GitHub Trending today
Official source code for the Telegram messaging app for Android, written in Java.
Why you might care
Read or build the official Android client of Telegram, a cloud messenger focused on speed and security. Useful for auditing the app, studying a large production Android codebase, or forking it for a custom client while following the license and branding rules in the README.
+2
stars, 24h · #5,057
+~14
stars, 7 days · #5,823
+274
stars, 30 days · #1,856
30k
★ total · +0% this week
10k
forks · 635 open issues
Star history (as recorded here)
LanguageJava
LicenseGPL-2.0
Created2013-10-25 (13y ago)
Last push2d ago
Watchers1.3k
OwnerUser
Seen on GitHub Trending
- 2026-10-21 — #19 monthly in java · +274 ★
- 2026-10-20 — #19 monthly in java · +272 ★
GitHub topics
Links
- GitHub: github.com/DrKLO/Telegram
- Releases · Issues · Hacker News mentions
README excerpt
## Telegram messenger for Android Telegram is a messaging app with a focus on speed and security. It’s superfast, simple and free. This repo contains the official source code for Telegram App for Android. ## Creating your Telegram Application We welcome all developers to use our API and source code to create applications on our platform. There are several things we require from **all developers** for the moment. 1. **Obtain your own api_id** for your application. 2. Please **do not** use the name Telegram for your app — or make sure your users understand that it is unofficial. 3. Kindly **do not** use our standard logo (white paper plane in a blue circle) as your app's logo. 3. Please study our **security guidelines** and take good care of your users' data and privacy. 4. Please remember to publish **your** code too in order to comply with the licences. ### API, Protocol documentation Telegram API manuals: https://core.telegram.org/api MTproto protocol manuals: https://core.telegram.org/mtproto ### 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. 1. Clone the Telegram source code with its submodules: [code] In case you forgot the `--recursive` flag, change to the `Telegram` directory and run: [code] 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 – there’s a link for each of the variables showing where and which data to obtain. 7. You are ready to compile Telegram. ### Localization We moved all translations to https://translations.telegram.org/en/android/. Please use it.
Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.