34downloads
1this week
FreeFreeware
0reviews
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: @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 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.
License: MIT
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 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.
License: MIT
| Release info | Update on Nov 04, 2026 |
|---|---|
| Release notes | HTTP/2 media through Cloudflare Media sessions now prefer HTTP/2 POST requests to /api in the cfproxy tier, sharing one TLS connection per DC/domain across clients. This reduces socket and TLS-handshake overhead for parallel media downloads. Ordinary traffic, direct WebSockets, Worker tunnels and the configured tier order are unchanged. • Enabled by default; --no-h2 / TG_NO_H2=true restores WebSocket media. Plaintext Cloudflare mode (--cf-disable-tls) continues to use WebSocket. • Uses the shared outbound connector and honors preferred Cloudflare IPs, domain balancing and certificate verification. • Failed HTTP/2 setup falls back to WebSocket. Failures during a session close that client connection so Telegram can reconnect. Recent small encrypted requests have bounded replay for delayed HTTP replies. • Bounds packet sizes, in-flight requests and buffered payloads. HTTP framing still needs complete packets in memory, so multiplexing trades some buffering for fewer sockets; it does not promise higher throughput on every network. |
| Listing data | F-Droid |
Reviews
No reviews yet. Be the first to review TG WS Proxy.
Used TG WS Proxy? Tell other visitors what you thought.
Log in to write a reviewOther products by this publisher
- "No Distractions" for YouTube 4.10 ----
- #Bible 11.6 "Incredible App - My sister shared this app with me a few weeks ago and it is truly incredible.
- #filmphotography 1.4.2 So, you decided to shoot on film?
- $quirrel 1.5.1 $quirrel Budget & Finance helps you plan each paycheck, track spending, manage debt, and see what is safe to spend before the next payday.
- % Percentage Calculator Pro 1.41 This is the Pro version of % Percentage Calculator.
Most viewed Android Connectivity
- 1 XrayFA 1.7.4 XrayFA is a fast, secure, and user-friendly Android client for Xray-core.
- 2 Device Connect 0.12.1 Yet another tool to connect Android phone with desktop
-
3
Pulse 0.99.0-pulse
Garmin watch companion — your data stays on your phone
-
4
Airplane Scheduler 3.0
Automatically switch airplane mode on a schedule
- 5 Inkcast 0.0.1 The companion app for Xteink X4 CrossPoint Reader
-
6
AwakeOnLANMobile 1.0.2
Send WakeOnLAN packets (IPv4/IPv6) over the internet, includes a CIDR scanner
-
7
FocusMastodon 2.12.0.20240624
FocusMastodon is a bright and colourful Mastodon client
- 8 getgovroam 2.3.2(2696) Configure the govroam Wi-Fi network securely and correctly
- 9 JMP SIM Manager jmp-v1.7.2 Companion app for the JMP eSIM Adapter
- 10 Flashbyte 3.1.4 A fast cross-platform file sharing app.
Most downloaded Android Connectivity
- 1 DCC++Throttle 1.5.2065 Application to drive DCC-EX command station via Bluetooth
- 2 Pixel 5G 3.1.1 Change the 5G NR mode and enable VoLTE on rooted Pixel phones
-
3
xlog2 0.6.10
Peer-to-peer amateur-radio field logbook that syncs with the xlog2 desktop
-
4
RemotePhone 2.2.0
Mirror and control your Android phone from Linux over WiFi
- 5 Flashbyte 3.1.4 A fast cross-platform file sharing app.
-
6
Network Survey 2.0
Survey cellular, Wi-Fi, Bluetooth and GNSS, then log, stream or upload the data
-
7
ekklesia — Direct Democracy 1.0.37
Anonymous civic participation for Greek citizens
-
8
WolLight 1.0.8
Wake-on-LAN app with device list, LAN scan and stale-IP recovery. LAN-only.
-
9
Fread 1.10.5
A fediverse microblogging client supporting Mastodon, Bluesky, and RSS.
- 10 KabelWacht 174 A simple, free WireGuard VPN client: scan, import, and manage tunnels.