xtao/nagramCodeIssuesChange requestsActionsDiscussionsCommitsBranchesReleasesSearchContributorsCompare Nagram
Nagram is a third-party Telegram client based on NekoX with some modifications.
Additional feature over Nagram
- Nice icon (thanks to MaitungTM)
- Combine message
- Editable text style
- Forced copy
- Invert reply
- Quick reply in longClick menu (thanks to @blxueya)
- Undo and Redo
- Scrollable chat preview (thanks to TeleTux)
- Noise suppress and voice enhance (thanks to )
NekoX Changes
- Most of Nekogram's features
- Unlimited login accounts
- Proxy
Built-in VMess, Shadowsocks, SSR, Trojan-GFW proxies support (No longer maintained)Proxy subscription supportIpv6 MTProxy supportAble to parse all proxy subscription format: SIP008, ssr, v2rayN, vmess1, shit ios app formats, clash config and moreProxies import and export, remarks, speed measurement, sorting, delete unusable nodes, etcScan the QR code (any link, can add a proxy)The ( vmess / vmess1 / ss / ssr / trojan ) proxy link in the message can be clickedAllow auto-disabling proxy when VPN is enabledProxy automatic switcherDon't alert "Proxy unavailable" for non-current accountStickers
- Custom Emoji packs
- Add stickers without sticker pack
- Sticker set list backup / restore / share
Internationalization
- OpenCC Chinese Convert
- Full InstantView translation support
- Translation support for selected text on input and in messages
- Google Cloud Translate / Yandex.Translate support
- Force English emoji keywords to be loaded
- Persian calendar support
Additional Options
- Option to disable vibration
- Dialog sorting is optional "Unread and can be prioritized for reminding" etc
- Option to skip "regret within five seconds"
- Option to not send comment first when forwarding
- Option 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).
- Custom cache directory (supports external storage)
- Custom server (official, test DC)
- Option to block others from starting a secret chat with you
- Option to disable trending
Additional Actions
- Allow clicking on links in self profile
- Delete all messages in group
- Unblock all users support
- Login via QR code
- Scan and confirm the login QR code directly
- Allow clearing app data
- Proxies, groups, channels, sticker packs are able to be shared as QR codes
- Add "@Name" when long-pressing @user option
- Allow creating a group without inviting anyone
- Allow upgrading a group to a supergroup
- Mark dialogs as read using tab menu
- Enabled set auto delete timer option for private chats and private groups
- Support saving multiple selected messages to Saved Messages
- Support unpinning multiple selected messages
- View stats option for messages
Optimization
- Keep the original file name when downloading files
- View the data center you belong to when you don't have an avatar
- Enhanced notification service, optional version without Google Services
- Improved session dialog
- Improved link long click menu
- Improved hide messages from blocked users feature
- Don't process cleanup draft events after opening chat
Others
- OpenKeychain client (sign / verify / decrypt / import)
- Text replacer
UI
- Telegram X style menu for unpinning messages
- Built-in Material Design themes / Telegram X style icons
And more :)API and Protocol documentation
Compilation Guide(By NekoX-dev)
NOTE: Building on Windows is, unfortunately, not supported.
Consider using a Linux VM or dual booting.
git submodule update --init --recursive
- Install Android SDK and NDK (default location is $HOME/Android/SDK, otherwise you need to specify $ANDROID_HOME for it)
apt install -y golang-1.16 yasm
- 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.
- Build native dependencies:
./run init libs
- Build external libraries and native code:
uncomment lines in settings.gradle
./run libs v2ray
./run libs native # libtmessages.so
- Fill out
TELEGRAM_APP_ID and TELEGRAM_APP_HASH in local.properties
- Replace TMessagesProj/google-services.json if you want fcm to work.
- 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
Is Nagram not in your language, or the translation is incorrect or incomplete? Get involved in the translations on our Weblate.
Thanks