HushTelegram icon indicating copy to clipboard operation
HushTelegram copied to clipboard

:[Feature Request] Built-in Free MTProto Proxy Scraper & Auto-Ping / Lowest-Latency

Open egoaadi opened this issue 3 weeks ago • 5 comments

What should it do?

In regions where Telegram is blocked (such as Pakistan), users must rely on proxies to bypass censorship without routing entire device traffic through a VPN.

However, two major problems exist:

Finding working free proxies is tedious: Users have to search external websites, GitHub repositories, or channels to manually copy and paste proxy details. Speed & instability: Most free public MTProto proxies become congested or go offline within hours. The official Telegram client does not automatically rotate to the fastest working connection, leaving users on high-latency or dead servers.

Describe the solution you'd like Add a built-in, automated proxy management tab inside the app settings:

Auto-Fetch Free MTProto Proxies: A built-in aggregator that pulls public, free MTProto proxy lists from maintained community endpoints (e.g., GitHub raw feeds or public proxy APIs) without manual URL entry. Ping & Speed Sorting: An automatic latency tester that pings all imported free proxies in the background. A toggle to "Auto-connect to lowest ping" so the client always routes through the fastest available server. Smart Failover: If the current active proxy experiences packet loss or drops connection, automatically switch to the next fastest responding free proxy in the pool. First-Launch / Setup Access: Make the built-in proxy button accessible right from the phone number login screen so new users don't need a separate VPN to log in.

Describe alternatives you've considered

Manual Proxy Testing: Adding 20+ proxies manually and tapping through each one to find which has low ping, which becomes unusable when IPs get blocked every few days. System-wide VPNs: Often slow down device-wide network speeds, drain battery, and trigger fraud alerts on local banking apps. Third-Party Closed-Source Forks: Third-party Android APKs offering built-in proxies often contain intrusive ads or pose privacy risks. Having this open-source directly in the app ensures security and transparent routing.

Additional context Key criteria for this feature:

Strictly Free: Relies only on open/public community MTProto feeds (no paid subscriptions or complex setup required). Speed-Focused: Prioritizes latency testing and auto-switching so users never manually diagnose slow connections.

Where in Telegram?

Privacy and tracking

What happens today?

.

Why does it matter?

.

Before you send it

  • [x] I searched the open and closed feature requests and this isn't one of them.

egoaadi avatar Nov 11 '26 01:11 egoaadi

Added as Free proxies, shipping with the next update. It grabs public MTProto lists every 6 hours, pings them and keeps the 10 fastest in Telegram's proxy list, quickest on top. The sign-in screen always gets the proxy button now too.

SysAdminDoc avatar Nov 12 '26 01:11 SysAdminDoc

Is it autoapply sir or we have to manually add it?

egoaadi avatar Nov 12 '26 03:11 egoaadi

Automatic. With Free proxies on, Telegram connects through the fastest one and moves to another if it stops answering. If you're using a proxy of your own, it sticks with yours.

SysAdminDoc avatar Nov 12 '26 13:11 SysAdminDoc

Thnkx bro

egoaadi avatar Nov 12 '26 14:11 egoaadi

Free proxies is out in 0.0.25, so I'm marking this done. If it stops finding working proxies for you, say the word and I'll reopen.

SysAdminDoc avatar Nov 16 '26 14:11 SysAdminDoc