Go to file
NextAlone f0fe89f219
fix: scrollable chat preview
- swipe out of screen to toggle
2022-03-27 22:15:57 +08:00
.github ci: build test but not send 2022-03-24 19:25:25 +08:00
bin update Compilation Guide & add yasm checker 2022-02-28 21:40:41 +08:00
gradle/wrapper upgrade AGP to 7.0.3 and fix builds 2021-11-17 20:18:05 +08:00
metadata/en-US chore: change package name 2022-03-15 22:30:44 +08:00
openpgp-api Fix openPGP 2021-12-09 12:58:56 +08:00
ss-rust upgrade AGP to 7.0.3 and fix builds 2021-11-17 20:18:05 +08:00
ssr-libev Bump version 2021-03-16 21:10:33 +08:00
TMessagesProj fix: scrollable chat preview 2022-03-27 22:15:57 +08:00
Tools Some new features and bug fixes 2014-06-17 18:45:21 +04:00
v2ray@a697372e99 Update dependencies 2021-04-13 11:08:06 +08:00
.gitignore Add gitignore submodules 2020-10-25 15:16:26 +00:00
.gitmodules [TF][JNI] libvpx rebuild binaries 2021-12-23 23:52:51 +08:00
apkdiff.py Fix apkdiff not checking entire files 2020-01-06 23:22:05 -08:00
build.gradle fix play build 2021-11-17 23:33:31 +08:00
Dockerfile Update to 8.0.0 (2406) 2021-08-31 22:06:39 +03:00
gradle.properties Fix F-Droid build 2021-05-27 20:58:55 +08:00
gradlew Explicitly gradle distributionSha256Sum 2021-03-09 21:20:38 +08:00
gradlew.bat Explicitly gradle distributionSha256Sum 2021-03-09 21:20:38 +08:00
LICENSE Remove web translators & Fixes 2020-06-26 05:43:17 +00:00
README.md docs: update readme 2022-03-23 01:09:18 +08:00
README.NekoX.md docs: Add Readme 2022-03-23 01:09:08 +08:00
run Reduce max accounts to 16 2021-03-05 13:38:05 +08:00
settings.gradle chore: build full and mini versions 2022-03-23 01:09:13 +08:00

Nagram

Nagram is a third-party Telegram client based on NekoX with some modifications.

Additional feature over NekoX

  1. Nice icon
  2. Combine message
  3. Editable text style
  4. Forced copy
  5. Invert reply
  6. Quick reply in longClick menu
  7. Undo and Redo

API and Protocol documentation

Telegram API manuals: https://core.telegram.org/api

MTproto protocol manuals: https://core.telegram.org/mtproto

Compilation Guide(By NekoX-dev)

NOTE: Building on Windows is, unfortunately, not supported. Consider using a Linux VM or dual booting.

Important:

  1. Checkout all submodules
git submodule update --init --recursive
  1. Install Android SDK and NDK (default location is $HOME/Android/SDK, otherwise you need to specify $ANDROID_HOME for it)

It is recommended to use AndroidStudio to install.

  1. Install golang and yasm
apt install -y golang-1.16 yasm
  1. Install Rust and its stdlib for Android ABIs, and add environment variables for it.

It is recommended to use the official script, otherwise you may not find rustup.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env

rustup install $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
rustup default $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android

This step can be skipped if you want to build a mini release.

  1. Build native dependencies: ./run init libs
  2. Build external libraries and native code:

For full release:

uncomment lines in settings.gradle

./run libs update

For mini release:

./run libs v2ray
./run libs native # libtmessages.so
  1. Fill out TELEGRAM_APP_ID and TELEGRAM_APP_HASH in local.properties
  2. Replace TMessagesProj/google-services.json if you want fcm to work.
  3. Replace release.keystore with yours and fill out ALIAS_NAME, KEYSTORE_PASS and ALIAS_PASS in local.properties if you want a custom sign key.

./gradlew assemble<Full/Mini><Debug/Release/ReleaseNoGcm>


Localization

Nagram is forked from Telegram, thus most locales follows the translations of Telegram for Android, checkout https://translations.telegram.org/en/android/.

Is Nagram not in your language, or the translation is incorrect or incomplete? Get involved in the translations on our Weblate.

Thanks