LineSupportAbide/tgwsproxyPublic

AI summary: High-performance WebSocket proxy for Telegram MTProto connections.

Stars
n/a
Forks
n/a
Watchers
n/a
Open issues
n/a
Open PRs
n/a
Contributors
n/a
Commits
n/a
Branches
n/a

No licenseCreated n/aLast push NaNy ago

Quick answers

What is tgwsproxy?
High-performance WebSocket proxy for Telegram MTProto connections.
What does tgwsproxy do?
Tgwsproxy acts as a specialized intermediary, wrapping Telegram's proprietary MTProto protocol inside standard WebSocket connections. It enables web-based Telegram clients to communicate directly with Telegram's backend servers without relying on intermediary HTTP polling or third-party APIs. The proxy is built in Rust for maximum concurrency and minimal memory footprint, efficiently handling thousands of simultaneous user connections. This infrastructure is critical for developers building responsive, browser-based Telegram clients or bots.
Who is tgwsproxy for?
Backend engineers and developers building web-based Telegram clients or infrastructure. It requires experience with Rust, WebSockets, and network proxy deployment.
How do I get started with tgwsproxy?
cargo build --release && ./target/release/tgwsproxy
How popular is tgwsproxy on GitHub?
LineSupportAbide/tgwsproxy has n/a stars and n/a forks on GitHub.

Star history

Star history is still being collected for this repository.

Signals and awards

derived from tracked data
  • Top 10% tracked

    Rank 1 of 1243

What tgwsproxy does

Tgwsproxy acts as a specialized intermediary, wrapping Telegram's proprietary MTProto protocol inside standard WebSocket connections. It enables web-based Telegram clients to communicate directly with Telegram's backend servers without relying on intermediary HTTP polling or third-party APIs. The proxy is built in Rust for maximum concurrency and minimal memory footprint, efficiently handling thousands of simultaneous user connections. This infrastructure is critical for developers building responsive, browser-based Telegram clients or bots.

Backend engineers and developers building web-based Telegram clients or infrastructure. It requires experience with Rust, WebSockets, and network proxy deployment.

  • Protocol wrapping: Encapsulates MTProto binary streams securely within standard WebSocket frames.
  • High concurrency: Built in Rust using asynchronous I/O to handle thousands of simultaneous connections.
  • Low latency: Minimizes overhead to provide near real-time messaging performance for web clients.
  • Secure termination: Handles TLS termination efficiently before forwarding traffic to Telegram datacenters.
  • Resource efficient: Maintains a minimal memory footprint even under heavy sustained load.

Where teams use it

Web client infrastructure

Deploy the proxy to serve as the backend connection layer for a custom browser-based Telegram client.

Network restriction bypass

Route Telegram traffic through standard WebSockets to bypass restrictive corporate firewalls.

Bot hosting

Provide a reliable, high-performance connection layer for web-hosted Telegram automation bots.

Protocol translation

Translate legacy TCP MTProto traffic into WebSockets for integration with modern edge networks.

Getting started: cargo build --release && ./target/release/tgwsproxy

Recent activity

commits and pull requests

No recent activity was recorded for this repository.

DateListRankStars gained
Jul 10, 2026daily#15+3