安装包图标

TG WS Proxy

Telegram MTProto WebSocket Bridge Proxy
Telegram MTProto WebSocket Bridge Proxy — a Rust vibecoded port of
Flowseal/tg-ws-proxy.
Listens for Telegram Desktop's MTProto connections on a local port and
tunnels them through WebSocket (TLS) connections to Telegram's DC servers.
Telegram channel: @tgwsproxy_rs.
Telegram Desktop → MTProto (TCP 1443) → tg-ws-proxy-rs → WS (TLS 443) → Telegram DC
↘ CF proxy (kws{N}.{cf-domain}) → Telegram DC (WS via Cloudflare)
↘ CF Worker (*.workers.dev) → Telegram DC (TCP tunnel via Cloudflare)
↘ upstream MTProto proxy → Telegram DC (WS fallback)
↘ direct TCP :443 → Telegram DC (last resort)

Android app
A minimal Jetpack Compose wrapper around the same core the CLI runs. Type the
flags you would pass to tg-ws-proxy, tap Start, and when the tg://proxy
link appears tap it (or let the app open it) to add the proxy in Telegram.
The listen address should be 127.0.0.1 so Telegram on the same phone can
connect.
Add --secret <32 hex chars> if you want the link to stay the same across
restarts. --log-file is ignored; logs go to the on-screen view and logcat
(tg-ws-proxy).
The default arguments carry --quiet, so the on-screen Log panel stays
empty until you remove it. That is the default and not a failed start: drop
--quiet (or swap it for --verbose) before tapping Start to see log
lines. The tg:// link appears either way — it reaches the UI from the listen
callback rather than by scraping the log, so --quiet never hides it.

版本

尽管下面提供了 APK 安装包的下载选项,但你应该注意,以这种方式安装将不会收到更新通知,这是一种不太安全的下载方式。 我们建议你安装使用 F-Droid 客户端。

下载 F-Droid
  • 版本 2.5.0 (205003) 推荐 更新于 2026-10-02

    x86_64

    该版本需要 Android 8.0 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“specialUse”类型的前台服务
      允许该应用使用“specialUse”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 显示通知
      允许该应用显示通知
    • io.github.valnesfjord.tgwsproxyrs.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 5.5 MiB PGP 签名 | 构建日志

  • 版本 2.5.0 (205002) - 更新于 2026-10-02

    arm64-v8a

    该版本需要 Android 8.0 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“specialUse”类型的前台服务
      允许该应用使用“specialUse”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 显示通知
      允许该应用显示通知
    • io.github.valnesfjord.tgwsproxyrs.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 5.0 MiB PGP 签名 | 构建日志

  • 版本 2.5.0 (205001) - 更新于 2026-10-02

    armeabi-v7a

    该版本需要 Android 8.0 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“specialUse”类型的前台服务
      允许该应用使用“specialUse”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 显示通知
      允许该应用显示通知
    • io.github.valnesfjord.tgwsproxyrs.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 3.8 MiB PGP 签名 | 构建日志