Telegram Web A is a full‐featured web client implementation for Telegram, built from scratch as a lightweight, modern single-page application. It uses a custom front-end framework (called “Teact”) that re-implements React-style paradigms and pairs them with a custom version of the MTProto library (based on GramJS) to interact with Telegram’s backend infrastructure. The project achieved recognition (winning first prize in the Telegram Lightweight Client Contest) and serves as the code base behind the official web client available at web.telegram.org/a. The architecture takes advantage of advanced browser capabilities: WebSockets for real-time messaging, Web Workers and WebAssembly for performance-critical tasks, multi-level caching and PWA features for offline or near-offline usability, voice recording and media streaming, raw binary data handling and cryptographic operations. It also handles rich UI/UX elements such as CSS/Canvas/SVG animations, reactive data streams, etc.
Features
- Real-time chat interface built on MTProto via a custom GramJS worker implementation
- Progressive Web App (PWA) support with offline-caching, service workers and multi-level caching layers
- Voice recording, media streaming and full support for Telegram’s modern media API
- Custom “Teact” framework implementing React-style component model optimized for this app
- Desktop packaging via Tauri/Electron for native-app style deployments on multiple OSs
- GPL v3 open-source license enabling inspection and contribution (with copyleft obligations)