tg-ws-proxy-rs app icon

tg-ws-proxy-rs APK

tg-ws-proxy-rs is a Telegram MTProto proxy that tunnels Telegram Desktop’s connection through WebSocket (TLS) to get around network blocks. It’s a Rus

tg-ws-proxy-rs is a Telegram MTProto proxy that tunnels Telegram Desktop's connection through WebSocket (TLS) to get around network blocks. It's a Rust rewrite of the original Python tg-ws-proxy, built to run as a tiny static binary on routers, servers, or an Android phone.

Developer: valnesfjord · License: MIT (open source) · Price: Free

Before you start: no special setup is needed to install the app itself. To actually use the proxy with Telegram Desktop, after starting the proxy on a device, go into Telegram Desktop's Settings → Advanced → Connection type → Use custom proxy, and add an MTProto proxy with Server 127.0.0.1, Port 1443 (or your chosen –port), and the secret shown in the proxy's startup log. You can also just open the tg://proxy?… link that the proxy prints on startup.

⬇️ Download tg-ws-proxy-rs v2.7.2 APK (14 MB)

Official file from the developer's release · Nov 20, 2026 · SHA-256 494a7bdcdb404cb9…

Screenshots

tg-ws-proxy-rs screenshot 1

Key features

  • Listens for Telegram Desktop's MTProto connections locally and tunnels them over WebSocket (TLS), with fallback routes through Cloudflare proxy, Cloudflare Worker, an upstream MTProto proxy, or direct TCP
  • Single static binary using about 3-5 MB of memory, versus roughly 30-50 MB for the Python original, with no Python runtime needed
  • Android app built with Jetpack Compose that runs the same proxy core as a library, lets you paste CLI flags, start or stop the proxy, and open the tg://proxy link
  • Optional SOCKS5 input (–socks-enabled) for routing supported Telegram TCP transports separately, alongside the usual MTProto listener
  • Also installs on OpenWrt (with a LuCI package) and Entware-based routers like Keenetic, using the same static binary

Why isn’t tg-ws-proxy-rs on Google Play?

This is a developer tool published on GitHub, with the app also distributed on F-Droid. It is not listed on Google Play.

Is tg-ws-proxy-rs safe?

The project is open source under the MIT license. Download the APK directly from the GitHub Releases page or get it from F-Droid; choose the universal APK unless you know your phone's ABI (arm64-v8a, armeabi-v7a or x86_64 builds are smaller). Android 8.0 or newer is required. tg-ws-proxy-rs comes straight from its developer rather than through Google Play, so it hasn’t gone through Google’s app review. As with any app, check the permissions it asks for and install it if you’re comfortable with them.

How to install

  1. Tap the download button above: the APK file downloads straight to your phone.
  2. When Android asks, allow your browser to install unknown apps.
  3. Open the file and tap Install.

FAQ

Is tg-ws-proxy-rs free?

Yes. It is open source under the MIT license and the code, releases and Android APK are free to download from GitHub (and F-Droid).

How do I install the Android app?

Download the APK from the project's GitHub Releases page or install it from F-Droid (package io.github.valnesfjord.tgwsproxyrs). Pick the universal APK unless you know your phone's CPU architecture, in which case the smaller arm64-v8a, armeabi-v7a or x86_64 build works too. Android 8.0 is the minimum supported version.

How is this different from the original tg-ws-proxy?

tg-ws-proxy-rs is a Rust port of the Python project Flowseal/tg-ws-proxy. According to the README it runs as a single static binary needing no Python install, uses about 3-5 MB of memory compared to roughly 30-50 MB for the Python version, and uses less CPU since it's compiled rather than interpreted.

More free apps you won’t find on Google Play: Open Source Apps · Best Android apps not on the Google Play Store.

Frequently Asked Questions

Is tg-ws-proxy-rs free?

Yes. It is open source under the MIT license and the code, releases and Android APK are free to download from GitHub (and F-Droid).

How do I install the Android app?

Download the APK from the project's GitHub Releases page or install it from F-Droid (package io.github.valnesfjord.tgwsproxyrs). Pick the universal APK unless you know your phone's CPU architecture, in which case the smaller arm64-v8a, armeabi-v7a or x86_64 build works too. Android 8.0 is the minimum supported version.

How is this different from the original tg-ws-proxy?

tg-ws-proxy-rs is a Rust port of the Python project Flowseal/tg-ws-proxy. According to the README it runs as a single static binary needing no Python install, uses about 3-5 MB of memory compared to roughly 30-50 MB for the Python version, and uses less CPU since it's compiled rather than interpreted.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.