1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-17 04:19:25 +01:00
Go to file
2020-12-29 22:40:15 +08:00
.github Refinds 2020-08-10 10:23:50 +00:00
bin Bump version 2020-11-28 02:18:29 +08:00
gradle/wrapper Minor fixes 2020-11-22 02:57:43 +00:00
openpgp-api Fix crash 2020-12-17 00:36:50 +08:00
ss-rust Fix crash 2020-12-17 00:36:50 +08:00
ssr-libev Update dependencies 2020-11-04 14:23:45 +00:00
TMessagesProj Revert okhttp usages 2020-12-29 22:40:15 +08:00
Tools Some new features and bug fixes 2014-06-17 18:45:21 +04:00
.gitignore Add gitignore submodules 2020-10-25 15:16:26 +00:00
.gitmodules Add gitignore submodules 2020-10-25 15:16:26 +00:00
apkdiff.py Fix apkdiff not checking entire files 2020-01-06 23:22:05 -08:00
build.gradle Update to 7.3.0 (2195) 2020-12-23 11:48:30 +04:00
crowdin.yml Fix strings 2020-11-11 10:29:42 +00:00
Dockerfile Update to 7.3.0 (2196) 2020-12-24 09:36:01 +04:00
gradle.properties Revert old stuff 2020-12-17 13:45:19 +08:00
gradlew Remove web translators & Fixes 2020-06-26 05:43:17 +00:00
gradlew.bat Make it NekoX 2020-06-25 13:59:03 +00:00
LICENSE Remove web translators & Fixes 2020-06-26 05:43:17 +00:00
README.md Update README 2020-12-18 02:16:15 +08:00
settings.gradle Add message sign with openkeychain 2020-07-26 23:27:38 +00:00

NekoX

NekoX is an open source third-party Telegram client, based on Telegram-FOSS with features added.

The play store version is outdated due to the target api level 29 is not supported yet. Otherwise, the play version won't be able to read photos and files (like other 3rd apps do).

NekoX Changes

  • Most of Nekogram's features
  • OpenCC Chinese Convert
  • Built-in Vmess, Shadowsocks, SSR proxies support
  • Built-in public proxy list / Proxy subscription support.
  • Proxies import and export, remarks, speed measurement, sorting, delete unusable nodes, etc.
  • Scan the qrcode (any link, can add a proxy).
  • The ( vemss / vmess1 / ss / ssr / rb ) proxy link in the message can be clicked.
  • Allow auto disable proxy when VPN is enabled
  • Proxy automatic switcher
  • Add stickers without sticker pack
  • Allow disable vibration
  • Sticker set list backup / restore / share
  • Full InstantView translation support
  • Translation support for selected text on input and in messages
  • Delete all messages in group
  • Dialog sorting is optional "Unread and can be prioritized for reminding" etc.
  • Allow to skip "regret within five seconds"
  • Unblock all users support
  • Login via QR code
  • Scan and confirm the login QR code directly
  • Allow clear application data
  • Option to not send comment first when forwarding
  • 0ption to use nekox chat input menu: replace record button with a menu which contains an switch to control link preview (enabled by default)
  • Option to disable link preview by default: to prevent the server from knowing that the link is shared through Telegram.
  • Option to ignore Android-only content restrictions (except for the Play Store version).
  • OpenKaychain client ( sign / verify / decrypt / import )
  • Google Cloud Translate / Yandex.Translate support
  • Custom cache directory (supports external storage)
  • Custom AppId and Hash (optional NekoX / Andorid / Android X or Manual input)
  • Custom server (official, test DC or Manual input)
  • Keep the original file name when downloading files
  • View the data center you belong to when you don't have an avatar
  • Proxies, groups, channels, sticker packs are able to shared as QRCodes.
  • Force English emoji keywords to be loaded
  • Add "@Name" when long press @ user option
  • Enhanced notification service, optional version without Google Services.
  • Don't alert "Proxy unavailable" for non-current account
  • Tgx style message unpin menu
  • Built-in Material Design themes / Telegram X style icons

Compilation Guide

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

Important:

  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 ( >= 1.15.4 ), and add GOPATH to the PATH variable.

It is recommended to use gvm for the installation. if you are using the system package manager, don't forget to add environment variable.

apt install -y bison gcc make
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source "$HOME/.bashrc"

gvm install go1.15.4 -B
gvm use go1.15.4 --default
  1. Install rust and its stdlib for android abis, 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
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android

(One command at a time)

  1. Build native dependencies: bin/native_libs.sh
  2. Build external libraries and native code: bin/update_libs.sh
  3. Fill out TELEGRAM_APP_ID and TELEGRAM_APP_HASH in local.properties
  4. Replace TMessagesProj/google-services.json if you want fcm to work.
  5. Replace release.keystore with yours and fill out ALIAS_NAME, KEYSTORE_PASS and ALIAS_PASS in local.properties

./gradlew assemble<Full/Mini>[AppleEmoji|TwitterEmoji|NoEmoji]<Debug/Release/ReleaseNoGcm>

Faq

What is the relationship between NekoX and Nekogram?

More features, without additional trackers.

What is the difference between Full and Mini version?

The full version comes with built-in proxy support for v2ray, shadowsocks, and shadowsocksr, which is usually provided to advanced users to help friends who have no computer knowledge in mainland China to bypass censorship, so don't complain about imperfect functions or ask to add other rare proxy types, you can use their clients directly.

Proxy? I don't need

It is recommended that use the Mini version.

Localization

Join project at https://nekox.crowdin.com/nekox.

Credits