TG WS Proxy
Telegram MTProto WebSocket Bridge Proxy
Android · v2.5.6 · Ivan Utenkov
About TG WS 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: @tg ws proxy_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
More communication for Android
WhatsApp Messenger
Free messaging, voice and video calls with end-to-end encryption.
Communication
Share photos, videos, Reels and Stories with friends and followers.
Communication
Keep up with friends, groups, pages and events.
Communication
Messenger
Text, voice and video chat with your Facebook contacts.
Communication
Telegram
Fast, cloud-based messaging with groups, channels and large file sharing.
Communication
Snapchat
Send disappearing photos and videos with lenses and filters.
Communication
X
Follow news, trends and conversations in real time.
Communication
Threads
Share text updates and join public conversations.
Communication
Discord
Voice, video and text chat for communities and friends.
Communication