Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Flowseal/tg-ws-proxy/llms.txt

Use this file to discover all available pages before exploring further.

TG WS Proxy is a local MTProto proxy that routes Telegram Desktop traffic over WebSocket connections. On macOS it ships as a native menubar application, supporting both Apple Silicon and Intel Macs in a single universal binary — no Homebrew, no Python installation, and no terminal required.

Download

Download TgWsProxy_macos_universal.dmg from the releases page. The DMG contains a universal binary that runs natively on both Apple Silicon and Intel processors. Minimum supported macOS versions:
ArchitectureMinimum version
IntelmacOS 10.15 Catalina
Apple SiliconmacOS 11.0 Big Sur

Installation

1

Open the DMG

Double-click TgWsProxy_macos_universal.dmg to mount the disk image. A Finder window opens showing the app and an Applications shortcut.
2

Drag to Applications

Drag TG WS Proxy.app onto the Applications folder shortcut inside the disk image window.
3

Handle macOS Gatekeeper on first launch

Because the app is not notarised through the Mac App Store, macOS Gatekeeper may block it on the first run with a message such as “cannot be opened because the developer cannot be verified.” To allow it:
  1. Open System Settings (or System Preferences on older macOS) and go to Privacy & Security.
  2. Scroll down to the Security section where you will see a message about TG WS Proxy being blocked.
  3. Click Open Anyway, then confirm in the dialog that follows.
You will only need to do this once.
TG WS Proxy runs as a menubar app — you will not see it in the Dock. Look for the proxy icon in the menu bar at the top of your screen after launch.
Click the TG WS Proxy icon in the macOS menu bar to access all controls:
ItemDescription
Open in TelegramOpens Telegram Desktop and automatically applies the proxy via a tg://proxy link
Copy LinkCopies the tg://proxy connection link to the clipboard
Restart ProxyRestarts the proxy process without quitting the menubar app
Settings…Opens a settings dialog (via osascript) to manage the host, port, secret, and DC IP mappings
Open LogsOpens the log file in your default text editor
ExitStops the proxy and removes the icon from the menu bar

Connect Telegram Desktop

Automatic

Click the menubar icon and choose Open in Telegram. Telegram Desktop will open and prompt you to confirm the proxy — click Enable. If Telegram does not respond to the link automatically, use the fallback:
1

Copy the link

Click the menubar icon and choose Copy Link.
2

Send to Saved Messages

In Telegram Desktop, open your Saved Messages chat, paste the link, and send it.
3

Activate the proxy

Click the link in Saved Messages. Telegram will ask you to enable the proxy — confirm to connect.

Manual

1

Open Telegram proxy settings

In Telegram Desktop go to Settings → Advanced → Connection type, then select Use custom proxy.
2

Add a new proxy

Click Add proxy and fill in the fields:
  • Type: MTProto
  • Server: 127.0.0.1
  • Port: 1443
  • Secret: copy from the Settings dialog or the log file
3

Save and connect

Click Save, select the new proxy entry, and click Enable.
If you customised the host or port in Settings, use those values instead of the defaults above.

Build docs developers (and LLMs) love