2020-06-26 04:54:48 +00:00
# NekoX
2014-10-23 15:30:35 +00:00
2020-12-08 14:05:46 +00:00
NekoX is an **open source** third-party Telegram client, based on Telegram-FOSS with features added.
2014-10-23 15:30:35 +00:00
2021-01-07 10:20:15 +00:00
- [Google Play Store ](https://play.google.com/store/apps/details?id=nekox.messenger )
- [Update News Telegram ](https://t.me/NekogramX )
- [GitHub Feedback ](https://github.com/NekoX-Dev/NekoX/issues )
- [Group Chat (English / Chinese) ](https://t.me/NekoXChat )
- [Group Chat (Persian) ](https://t.me/NekogramX_Persian )
2020-12-08 14:05:46 +00:00
The play store version is outdated [due to ](https://developer.android.com/distribute/best-practices/develop/target-sdk ) 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).
2020-06-26 04:54:48 +00:00
## NekoX Changes
2020-12-08 14:05:46 +00:00
- Most of Nekogram's features
2020-12-17 18:16:15 +00:00
- OpenCC Chinese Convert
2020-12-08 14:05:46 +00:00
- Built-in Vmess, Shadowsocks, SSR proxies support
2020-12-17 18:16:15 +00:00
- Built-in public proxy list / Proxy subscription support.
2020-06-26 04:54:48 +00:00
- 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
2020-07-27 04:49:42 +00:00
- Proxy automatic switcher
2020-06-26 04:54:48 +00:00
- Add stickers without sticker pack
2020-07-27 04:49:42 +00:00
- Allow disable vibration
2020-06-26 04:54:48 +00:00
- 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
2020-12-08 14:05:46 +00:00
- 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).
2020-07-27 04:49:42 +00:00
- OpenKaychain client ( sign / verify / decrypt / import )
2020-06-26 04:54:48 +00:00
- 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.
2020-12-08 14:05:46 +00:00
- Don't alert "Proxy unavailable" for non-current account
- Tgx style message unpin menu
2020-06-26 04:54:48 +00:00
- Built-in Material Design themes / Telegram X style icons
2020-01-09 21:04:13 +00:00
## Compilation Guide
2013-10-25 15:55:11 +00:00
2020-11-04 12:43:49 +00:00
**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 )
2021-01-07 10:20:15 +00:00
It is recommended to use [AndroidStudio ](https://developer.android.com/studio ) to install. [here is how to install AndroidStudio ](https://developer.android.com/studio/install ).
2020-11-04 12:43:49 +00:00
2020-12-08 14:05:46 +00:00
2. Install golang ( >= 1.15.4 ), and add GOPATH to the PATH variable.
2020-11-04 12:43:49 +00:00
It is recommended to use gvm for the installation. if you are using the system package manager, don't forget to add environment variable.
2021-01-07 10:20:15 +00:00
(Run one command at a time)
2020-11-04 12:43:49 +00:00
```shell
apt install -y bison gcc make
2021-01-07 10:20:15 +00:00
2020-11-04 12:43:49 +00:00
bash < < (curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
2021-01-07 10:20:15 +00:00
2020-11-04 12:43:49 +00:00
source "$HOME/.bashrc"
2020-12-08 14:05:46 +00:00
gvm install go1.15.4 -B
2021-01-07 10:20:15 +00:00
2020-12-08 14:05:46 +00:00
gvm use go1.15.4 --default
2020-11-04 12:43:49 +00:00
```
3. 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.
```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2021-01-07 10:20:15 +00:00
2020-11-04 12:43:49 +00:00
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env
2021-01-07 10:20:15 +00:00
2020-12-30 05:41:58 +00:00
rustup toolchain install nightly-2020-12-20
2021-01-07 10:20:15 +00:00
2020-12-30 05:41:58 +00:00
rustup override set nightly-2020-12-20
2021-01-07 10:20:15 +00:00
2020-11-04 12:43:49 +00:00
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
```
4. Build native dependencies: `bin/native_libs.sh`
5. Build external libraries and native code: `bin/update_libs.sh`
2020-12-08 14:05:46 +00:00
6. Fill out `TELEGRAM_APP_ID` and `TELEGRAM_APP_HASH` in `local.properties`
7. Replace TMessagesProj/google-services.json if you want fcm to work.
8. Replace release.keystore with yours and fill out `ALIAS_NAME` , `KEYSTORE_PASS` and `ALIAS_PASS` in `local.properties`
2020-11-04 12:43:49 +00:00
2020-12-30 05:41:58 +00:00
`./gradlew assemble<Full/Mini><Debug/Release/ReleaseNoGcm>`
2020-06-26 04:54:48 +00:00
2021-01-07 10:20:15 +00:00
## FAQ
2020-06-26 04:54:48 +00:00
2020-12-08 14:05:46 +00:00
#### What is the relationship between NekoX and Nekogram?
2020-06-26 04:54:48 +00:00
2020-12-08 14:05:46 +00:00
More features, **without** [additional trackers ](https://gitlab.com/search?utf8=%E2%9C%93&snippets=false&scope=&repository_ref=master&search=AnalyticsHelper&group_id=10273976&project_id=22804922 ).
2020-06-26 04:54:48 +00:00
2020-12-08 14:05:46 +00:00
#### What is the difference between Full and Mini version?
2020-06-26 04:54:48 +00:00
2021-01-07 10:20:15 +00:00
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. Don't complain about imperfect functions or ask to add other rare proxy types, you can use their clients directly.
2020-06-26 04:54:48 +00:00
2021-01-07 10:20:15 +00:00
#### What if I don't need a proxy?
2020-06-26 04:54:48 +00:00
2021-01-07 10:20:15 +00:00
Then it is recommended to use the `Mini` version.
2020-06-26 04:54:48 +00:00
2021-01-07 10:20:15 +00:00
#### How can I help with Localization?
2020-01-09 21:04:13 +00:00
2021-01-07 10:20:15 +00:00
Join the project at https://nekox.crowdin.com/nekox.
2014-03-13 18:21:38 +00:00
2020-06-26 04:54:48 +00:00
## Credits
2014-03-13 18:21:38 +00:00
2020-06-26 04:54:48 +00:00
< ul >
< li > Telegram-FOSS: < a href = "https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/LICENSE" > GPLv2< / a > < / li >
2020-12-08 14:05:46 +00:00
< li > Nekogram: < a href = "https://gitlab.com/Nekogram/Nekogram/-/blob/master/LICENSE" > GPLv2< / a > < / li >
2020-06-26 04:54:48 +00:00
< li > v2rayNG: < a href = "https://github.com/2dust/v2rayNG/blob/master/LICENSE" > GPLv3< / a > < / li >
< li > AndroidLibV2rayLite: < a href = "https://github.com/2dust/AndroidLibV2rayLite/blob/master/LICENSE" > LGPLv3< / a > < / li >
< li > shadowsocks-android: < a href = "https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE" > GPLv3< / a > < / li >
< li > shadowsocksRb-android: < a href = "https://github.com/shadowsocksRb/shadowsocksRb-android/blob/master/LICENSE" > GPLv3< / a > < / li >
2020-12-17 18:16:15 +00:00
< li > HanLP: < a href = "https://github.com/hankcs/HanLP/blob/1.x/LICENSE" > Apache License 2.0< / a > < / li >
< li > OpenCC: < a href = "https://github.com/BYVoid/OpenCC/blob/master/LICENSE" > Apache License 2.0< / a > < / li >
< li > opencc-data: < a href = "https://github.com/nk2028/opencc-data" > Apache License 2.0< / a > < / li >
2021-01-07 10:20:15 +00:00
< / ul >