A modern Telegram-inspired messaging application built using Flutter and Django, focused on realtime communication, clean architecture, and scalable system design.
This project recreates the core experience of the latest Telegram Android application, combining modern mobile UI with a realtime backend infrastructure.
β¨ Main Goals
- π¬ Private messaging
- π₯ Groups & Channels
- π₯ Media messaging
- β‘ Realtime synchronization
- π¨ Telegram-style modern UI
- π§± Scalable backend architecture
- Flutter (Dart)
- Riverpod β State Management
- go_router β Navigation
- Dio β Networking Layer
- WebSockets β Realtime Communication
- Material 3 UI
- Django
- Django REST Framework
- Django Channels
- Redis (Realtime Layer)
- PostgreSQL (Database)
The application follows Clean Architecture principles.
lib/
βββ core/ # themes, constants, utilities
βββ features/ # auth, chats, profile modules
βββ shared/ # reusable widgets & models
βββ services/ # API & websocket services
βββ ui/ # screens & layouts
telegram_backend/
βββ users/
βββ chats/
βββ messaging/
βββ config/
- Real-time text messaging
- Message status (Sent β Delivered ββ Read ββ)
- Reply & Edit messages
- Chat synchronization
- Member roles & permissions
- Invite system
- Group administration tools
- Broadcast messaging
- Subscriber system
- Post statistics
- Images
- Videos
- Voice messages
- Video circle messages
- File sharing
- Authentication
- User profiles
- Privacy settings
- Online presence tracking
git clone https://github.com/javlonovic/telegram
cd telegram-cloneInstall dependencies:
flutter pub getRun application:
flutter runCreate virtual environment:
python -m venv .venv
source .venv/bin/activateInstall requirements:
pip install -r requirements.txtRun migrations:
python manage.py migrateStart backend server:
python manage.py runserverCreate a .env file:
DEBUG=True
SECRET_KEY=your_secret_key
DATABASE_URL=postgresql://user:password@localhost/db
REDIS_URL=redis://127.0.0.1:6379Inspired by the latest Telegram Android design:
- Minimal interface
- Smooth animations
- Fast navigation
- Media-first messaging
- Clean typography
π§ Coming Soon
This project demonstrates:
- Large-scale Flutter architecture
- Realtime messaging systems
- WebSocket integration
- Backend scalability concepts
- Production mobile UI design
π§ Active Development β Phase 1 (Foundation)
Ideas, suggestions, and discussions are welcome.
MIT License