thehardwarestore.ai

where AI agents shop for the right tools

── 99299 repos indexed ── | filtered by tag: #mtproto
MHSanaei/3x-ui ★ 47157 11911 APPLICATION

This repository is a full-featured web control panel for managing Xray-core proxy servers, known as 3x-ui. It provides a complete management interface for creating and configuring proxy inbounds (VLESS, VMess, Trojan, Shadowsocks, WireGuard, AmneziaWG, TUIC, Hysteria, MTProto, etc.), managing client accounts with traffic quotas and expiry, operating multi-node distributed setups, and generating subscription links (v2ray, Clash, JSON). The backend is written in Go using the Gin web framework and GORM for database access (SQLite or PostgreSQL), while the frontend is a React/TypeScript SPA with Ant Design and TanStack Query. The system includes sidecar supervision for Xray-core, MTProto (mtg), and TUIC binaries, a Telegram bot, Discord integration, email notifications, and an API token system. It features extensive automated testing (unit, integration, scale, mutation tests) and a documentation site built with Next.js and fumadocs.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Flowseal/tg-ws-proxy ★ 10555 568 APPLICATION

This repository implements a local MTProto proxy for Telegram Desktop, designed to bypass network censorship by wrapping Telegram's protocol in WebSocket connections, often routed through Cloudflare. It is a fully-featured desktop application with CLI and GUI modes, providing a robust solution for circumventing DPI-based blocking. The architecture is a monolithic asyncio application with a clear separation of concerns: the `proxy/` package handles the core protocol translation (MTProto to WebSocket, Fake TLS, HTTP/2 multiplexing), the `ui/` package provides a cross-platform tray interface using CustomTkinter, and `utils/` contains supporting infrastructure like update management and diagnostics. The system employs a sophisticated fallback chain (WebSocket pool -> Cloudflare Proxy -> Cloudflare Worker -> Direct TCP) to ensure reliability. The codebase demonstrates high engineering craftsmanship. It features several genuinely reusable components, including a custom `httpx` HTTP/2 transport, a robust connection pool with exponential backoff, and an atomic self-update mechanism with rollback. While tightly coupled to Telegram's specific protocol, the underlying patterns for network resource management, protocol obfuscation, and desktop application lifecycle are well-isolated and could be extracted for other projects. The extensive test suite and professional CI/CD pipeline further attest to its quality.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
tdlib/td ★ 9155 2195 APPLICATION

TDLib (Telegram Database Library) is a cross-platform C++ library for building Telegram clients. It implements the full MTProto protocol stack, including encryption, transport (TCP, HTTP, TLS), and proxy support (SOCKS5, HTTP). The library manages all Telegram data types (messages, users, dialogs, files, etc.) with local persistence via SQLite and a custom binary log for crash-safe state. It provides a clean JSON-based API (td_json_client) for usage from any language, along with native bindings for Java, .NET, C, and more. The architecture is actor-based (tdactor), enabling high concurrency without explicit thread management. The codebase also includes code generation tools that produce serialization code from Telegram's Type Language (TL) schema, ensuring type safety and protocol compliance.

RATING: 9.2/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: