| 6 | - Telegram Update Channel: <https://t.me/nagram_channel> |
| 7 | - Releases: <https://github.com/NextAlone/Nagram/releases> |
| 8 | - Issues here: <https://github.com/NextAlone/Nagram/issues> |
| 9 |
| 10 | ## Additional feature over Nagram |
| 11 |
| 12 | 1. Nice icon (thanks to MaitungTM) |
| 13 | 2. Combine message |
| 14 | 3. Editable text style |
| 15 | 4. Forced copy |
| 16 | 5. Invert reply |
| 17 | 6. Quick reply in longClick menu (thanks to @blxueya) |
| 18 | 7. Undo and Redo |
| 19 | 8. Scrollable chat preview (thanks to TeleTux) |
| 20 | 9. Noise suppress and voice enhance (thanks to ) |
| 21 |
| 22 | ---- |
| 23 |
| 24 | ## NekoX Changes |
| 25 |
| 26 | - Most of Nekogram's features |
| 27 | - Unlimited login accounts |
| 28 | - **Proxy** |
| 29 | - Built-in VMess, Shadowsocks, SSR, Trojan-GFW proxies support (No longer maintained) |
| 30 | - Built-in public proxy (WebSocket relay via Cloudflare CDN), [documentation and for PC](https://github.com/arm64v8a/NekoXProxy) |
| 31 | - Proxy subscription support |
| 32 | - Ipv6 MTProxy support |
| 33 | - Able to parse all proxy subscription format: SIP008, ssr, v2rayN, vmess1, shit ios app formats, clash config and more |
| 34 | - Proxies import and export, remarks, speed measurement, sorting, delete unusable nodes, etc |
| 35 | - Scan the QR code (any link, can add a proxy) |
| 36 | - The ( vmess / vmess1 / ss / ssr / trojan ) proxy link in the message can be clicked |
| 37 | - Allow auto-disabling proxy when VPN is enabled |
| 38 | - Proxy automatic switcher |
| 39 | - Don't alert "Proxy unavailable" for non-current account |
| 40 | - **Stickers** |
| 41 | - Custom [Emoji packs](https://github.com/NekoX-Dev/NekoX/wiki/emoji) |
| 42 | - Add stickers without sticker pack |
| 43 | - Sticker set list backup / restore / share |
| 44 | - **Internationalization** |
| 45 | - OpenCC Chinese Convert |
| 46 | - Full InstantView translation support |
| 47 | - Translation support for selected text on input and in messages |
| 48 | - Google Cloud Translate / Yandex.Translate support |
| 49 | - Force English emoji keywords to be loaded |
| 50 | - Persian calendar support |
| 51 | - **Additional Options** |
| 52 | - Option to disable vibration |
| 53 | - Dialog sorting is optional "Unread and can be prioritized for reminding" etc |
| 54 | - Option to skip "regret within five seconds" |
| 55 | - Option to not send comment first when forwarding |
| 56 | - Option to use nekox chat input menu: replace record button with a menu which contains an switch to control link preview (enabled by default) |
| 57 | - Option to disable link preview by default: to prevent the server from knowing that the link is shared through Telegram. |
| 58 | - Option to ignore Android-only content restrictions (except for the Play Store version). |
| 59 | - Custom cache directory (supports external storage) |
| 60 | - Custom server (official, test DC) |
| 61 | - Option to block others from starting a secret chat with you |
| 62 | - Option to disable trending |
| 63 | - **Additional Actions** |
| 64 | - Allow clicking on links in self profile |
| 65 | - Delete all messages in group |
| 66 | - Unblock all users support |
| 67 | - Login via QR code |
| 68 | - Scan and confirm the login QR code directly |
| 69 | - Allow clearing app data |
| 70 | - Proxies, groups, channels, sticker packs are able to be shared as QR codes |
| 71 | - Add "@Name" when long-pressing @user option |
| 72 | - Allow creating a group without inviting anyone |
| 73 | - Allow upgrading a group to a supergroup |
| 74 | - Mark dialogs as read using tab menu |
| 75 | - Enabled set auto delete timer option for private chats and private groups |
| 76 | - Support saving multiple selected messages to Saved Messages |
| 77 | - Support unpinning multiple selected messages |
| 78 | - View stats option for messages |
| 79 | - **Optimization** |
| 80 | - Keep the original file name when downloading files |
| 81 | - View the data center you belong to when you don't have an avatar |
| 82 | - Enhanced notification service, optional version without Google Services |
| 83 | - Improved session dialog |
| 84 | - Improved link long click menu |
| 85 | - Improved hide messages from blocked users feature |
| 86 | - Don't process cleanup draft events after opening chat |
| 87 | - **Others** |
| 88 | - OpenKeychain client (sign / verify / decrypt / import) |
| 89 | - Text replacer |
| 90 | - **UI** |
| 91 | - Telegram X style menu for unpinning messages |
| 92 | - Built-in Material Design themes / Telegram X style icons |
| 93 | - And more :) |
| 94 |
| 95 | ## API and Protocol documentation |
| 96 |
| 97 | Telegram API manuals: <https://core.telegram.org/api> |
| 98 |
| 99 | MTproto protocol manuals: <https://core.telegram.org/mtproto> |
| 100 |
| 101 | ## Compilation Guide(By NekoX-dev) |
| 102 |
| 103 | **NOTE: Building on Windows is, unfortunately, not supported. |
| 104 | Consider using a Linux VM or dual booting.** |
| 105 |
| 106 | **Important:** |
| 107 |
| 108 | 1. Checkout all submodules |
| 109 |
| 110 | ``` |
| 111 | git submodule update --init --recursive |
| 112 | ``` |
| 113 |
| 114 | 2. Install Android SDK and NDK (default location is $HOME/Android/SDK, otherwise you need to specify $ANDROID_HOME for it) |
| 115 |
| 116 | It is recommended to use [AndroidStudio](https://developer.android.com/studio) to install. |
| 117 |
| 118 | 3. Install golang and yasm |
| 119 |
| 120 | ```shell |
| 121 | apt install -y golang-1.16 yasm |
| 122 | ``` |
| 123 |
| 124 | 4. Install Rust and its stdlib for Android ABIs, and add environment variables for it. |
| 125 |
| 126 | It is recommended to use the official script, otherwise you may not find rustup. |
| 127 |
| 128 | ```shell |
| 129 | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y |
| 130 | echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env |
| 131 |
| 132 | rustup install $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain) |
| 133 | rustup default $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain) |
| 134 | rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android |
| 135 | ``` |
| 136 |
| 137 | This step can be skipped if you want to build a `mini` release. |
| 138 |
| 139 | 5. Build native dependencies: `./run init libs` |
| 140 | 6. Build external libraries and native code: |
| 141 |
| 142 | For full release: |
| 143 |
| 144 | uncomment lines in settings.gradle |
| 145 |
| 146 | `./run libs update` |
| 147 |
| 148 | For mini release: |
| 149 |
| 150 | ``` |
| 151 | ./run libs v2ray |
| 152 | ./run libs native # libtmessages.so |
| 153 | ``` |
| 154 |
| 155 | 1. Fill out `TELEGRAM_APP_ID` and `TELEGRAM_APP_HASH` in `local.properties` |
| 156 | 2. Replace TMessagesProj/google-services.json if you want fcm to work. |
| 157 | 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. |
| 158 |
| 159 | `./gradlew assemble<Full/Mini><Debug/Release/ReleaseNoGcm>` |
| 160 |
| 161 | ---- |
| 162 |
| 163 | ## Localization |
| 164 |
| 165 | Nagram is forked from Telegram, thus most locales follows the translations of Telegram for Android, checkout <https://translations.telegram.org/en/android/>. |
| 166 |
| 167 | Is Nagram not in your language, or the translation is incorrect or incomplete? Get involved in the translations on our [Weblate](https://hosted.weblate.org/engage/nekox/). |
| 168 |
| 169 | ## Thanks |
| 170 |
| 171 | - [NekoX](https://github.com/NekoX-Dev/NekoX) |
| 172 | - [Nekogram](https://gitlab.com/Nekogram/Nekogram) |
| 173 | - [Pigeongram](https://gitlab.com/JasonKhew96/Nekogram) |
| 174 | - [Nullgram](https://github.com/qwq233/Nullgram) |
| 175 | - [TeleTux](https://github.com/TeleTux/TeleTux) |
| 176 | - [OwlGram](https://github.com/OwlGramDev/OwlGram) |
| 177 |
| 178 |