forked from Telegram-FOSS-Team/Telegram-FOSS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Jul 25, 2024
1 parent
d864dc7
commit 88d0dbc
Showing
1 changed file
with
10 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,15 @@ | ||
[![Releases](https://img.shields.io/github/release/Telegram-FOSS-Team/Telegram-FOSS.svg)](https://github.com/Telegram-FOSS-Team/Telegram-FOSS/releases/latest) | ||
[![Discussions](https://img.shields.io/badge/Offtopics-Telegram-blue.svg)](https://t.me/tfossofftopics) | ||
# Goregram | ||
|
||
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/Telegram-FOSS/) or <img src="https://en.bitcoin.it/w/images/en/c/cb/BC_Logotype.png" alt="Bitcoin" height="25px" /> `1P8kNcifVAkBWtWmjKY4RvVLy5QwruE2LQ` | ||
Goregram is a fork of [Telegram](https://telegram.org), a messaging app with a focus on speed and security. | ||
|
||
# Telegram-FOSS | ||
## Features | ||
|
||
[Telegram](https://telegram.org) is a messaging app with a focus on speed and security. It’s superfast, simple and free. | ||
* Allow saving/copying restricted messages | ||
* Unlock local premium features for free | ||
* Increase max number of supported login accounts to 16 | ||
* Remove the annoying 'free storage space' pop-ups | ||
* Force opening of files in a new task | ||
|
||
This is an unofficial, FOSS-friendly fork of the original [Telegram App for Android](https://github.com/DrKLO/Telegram). | ||
## Downloads | ||
|
||
This version of Telegram is available on FDroid: | ||
|
||
[<img src="https://f-droid.org/badge/get-it-on.png" | ||
alt="Get it on F-Droid" | ||
height="80">](https://f-droid.org/app/org.telegram.messenger) | ||
|
||
## Current Maintainers | ||
|
||
- [thermatk](https://github.com/thermatk) | ||
- you? :) | ||
|
||
## Contributors | ||
|
||
- [slp](https://github.com/slp) | ||
- [Bubu](https://github.com/Bubu) | ||
- [Sudokamikaze](https://github.com/Sudokamikaze) | ||
- [l2dy](https://github.com/l2dy) | ||
- [maximgrafin](https://github.com/maximgrafin) | ||
- [vn971](https://github.com/vn971) | ||
- [theel0ja](https://github.com/theel0ja) | ||
- [AnXh3L0](https://github.com/AnXh3L0) | ||
- [noplanman](https://github.com/noplanman) | ||
- [vk496](https://github.com/vk496) | ||
- [verdulo](https://github.com/verdulo) | ||
- [anupritaisno1](https://github.com/anupritaisno1) | ||
- [nekohasekai](https://github.com/nekohasekai) | ||
- [kdrag0n](https://github.com/kdrag0n) | ||
- [terachad](https://github.com/terachad) | ||
- [ppnplus](https://github.com/ppnplus) | ||
- [luvletter2333](https://github.com/luvletter2333) | ||
- [23rd](https://github.com/23rd) | ||
- [proletarius101](https://github.com/proletarius101) | ||
- [CWJamieson](https://github.com/CWJamieson) | ||
- [verdulo](https://github.com/verdulo) | ||
- [tehcneko](https://github.com/tehcneko) | ||
|
||
## Discussion | ||
|
||
Join the [Telegram-FOSS Offtopics group](https://t.me/tfossofftopics) | ||
|
||
You can also join `#telegram-foss:matrix.org` via [matrix](https://matrix.to/#/#telegram-foss:matrix.org) or `#telegram-foss` on freenode. | ||
|
||
## Changes: | ||
|
||
*Replacement of non-FOSS, untrustworthy or suspicious binaries or source code:* | ||
- Do location sharing with OpenStreetMap(osmdroid) instead of Google Maps | ||
- Use Noto emoji set instead of Apple's emoji | ||
- Google Play Services GCM replaced with Telegram's push service | ||
- [Has to show a notification on Oreo+, ask Google](Notifications.md) | ||
- **SECURITY:** BoringSSL prebuilts are replaced with recent upstream source code built at compile time | ||
- **SECURITY:** FFmpeg prebuilts are replaced with recent upstream source code built at compile time | ||
- **SECURITY:** libvpx prebuilts are replaced with recent upstream source code built at compile time | ||
- **SECURITY:** Bundled libWebP is updated | ||
|
||
*Removal of non-FOSS, untrustworthy or suspicious binaries or source code and their functionality:* | ||
- Google Vision face detection and barcode scanning (Passport) | ||
- Google Wallet and Android Pay integration | ||
- Google Voice integration | ||
- HockeyApp crash reporting and self-updates | ||
- Google SMS retrieval | ||
- Google ML Kit | ||
|
||
*Other:* | ||
- Added the ability to parse locations from intents containing a `geo:<lat>,<lon>,<zoom>` string | ||
- Force static map previews from Telegram | ||
- No content restrictions | ||
|
||
## Versioning | ||
|
||
This repository contains tags to make tracking versions easier. | ||
|
||
Versions are in form "v$UPSTREAM$RELEASE" where: | ||
|
||
* $UPSTREAM is the public, visible version of upstream. | ||
* $RELEASE is a letter ([a-z]) indicating minor releases between official versions (sometimes, upstream is updated without relating the changes to an specific version). | ||
|
||
## API, Protocol documentation | ||
|
||
Telegram API manuals: https://core.telegram.org/api | ||
|
||
MTproto protocol manuals: https://core.telegram.org/mtproto | ||
|
||
## Building | ||
|
||
**NOTE: Building on Windows is, unfortunately, not supported. | ||
Consider using a Linux VM or dual booting.** | ||
![WindowsSupport](/tgfoss-build-under-win.gif?raw=true) | ||
|
||
**Important:** | ||
|
||
1. You need the Android NDK, Go(Golang) and [Ninja](https://ninja-build.org/) to build the apk. | ||
|
||
2. Don't forget to include the submodules when you clone: | ||
- `git clone --recursive https://github.com/Telegram-FOSS-Team/Telegram-FOSS.git` | ||
|
||
3. Build native FFmpeg and BoringSSL dependencies: | ||
- Go to the `TMessagesProj/jni` folder and execute the following (define the paths to your NDK and Ninja): | ||
|
||
``` | ||
export NDK=[PATH_TO_NDK] | ||
export NINJA_PATH=[PATH_TO_NINJA] | ||
./build_libvpx_clang.sh | ||
./build_ffmpeg_clang.sh | ||
./patch_ffmpeg.sh | ||
./patch_boringssl.sh | ||
./build_boringssl.sh | ||
``` | ||
4. If you want to publish a modified version of Telegram: | ||
- You should get **your own API key** here: https://core.telegram.org/api/obtaining_api_id and create a file called `API_KEYS` in the source root directory. | ||
The contents should look like this: | ||
``` | ||
APP_ID = 12345 | ||
APP_HASH = aaaaaaaabbbbbbccccccfffffff001122 | ||
``` | ||
- Do not use the name Telegram and the standard logo (white paper plane in a blue circle) for your app — or make sure your users understand that it is unofficial | ||
- Take good care of your users' data and privacy | ||
- **Please remember to publish your code too in order to comply with the licenses** | ||
The project can be built with Android Studio or from the command line with gradle: | ||
`./gradlew assembleAfatRelease` | ||
# DIGITAL RESISTANCE | ||
![DIGITALRESISTANCE](/DigitalResistance.jpg?raw=true "DIGITALRESISTANCE") | ||
You can obtain releases from the [releases](https://github.com/AmanoTeam/Goregram/releases) page. |