Screen.Recording.2026-04-13.at.8.17.49.PM.mov
TeleUI is a concept of a modern Telegram client for macOS built with SwiftUI.
Note: I have no plans to actively develop, maintain, or update this project. I simply dropped this repository as a proof-of-concept to demonstrate that the official Telegram app on macOS could have a much better, native UI/UX. This is purely for educational and demonstrational purposes.
- ✅ Authentication: Phone number, SMS code, and two-factor authentication support
- ✅ Chats: Full chat list with archive support, chat folders, and sorting
- ✅ Messages: Message sending/receiving with real-time updates
- ✅ Reactions: Add emoji reactions to messages
- ✅ User Profiles: View user profiles with online status
- ✅ Media: Photo, video, document, and voice message support
- ✅ Menu Bar: Quick access via macOS menu bar
- ✅ Dark Mode: Full dark mode support
- macOS 13.0 or later
- Xcode 15.0 or later
- Swift 5.9+
- Telegram API credentials from my.telegram.org
-
Clone the repository
git clone https://github.com/MazyLawzey/TeleUI.git cd TeleUI -
Get Telegram API Credentials
- Visit my.telegram.org
- Go to "API development tools"
- Copy your
api_idandapi_hash
-
Configure Credentials
- Open
AppSecrets.swift - Replace
apiIdandapiHashwith your credentials:
enum AppSecrets { static let apiId: Int = YOUR_API_ID // Your api_id static let apiHash: String = "YOUR_API_HASH" // Your api_hash }
- Open
-
Build and Run
open TeleUI.xcodeproj
- Select the TeleUI scheme
- Press ⌘R to run
TeleUI uses a clean MVVM architecture:
- Views: SwiftUI components for UI
- ViewModels: State management and business logic (
@StateObject,@Published,Combine) - Models: Data structures (TLChat, TLMessage, etc.)
- Services: API integration (TelegramService, TDLibClientBridge built on TDLibKit)
Mazy Lawzey
yo @overtake, just take a look
