How silicap/d0b0-chat works
FluffyChat is a Flutter Matrix instant-messaging client. Users sign in, find or join conversations, and exchange messages and media; the app also supports calls, notifications, moderation, spaces, encryption, and encrypted backup. The tree shows dedicated UI areas and platform notification handlers, while the README documents the broader capabilities. Since the sampled source is mostly desktop launch and plugin-registration code, runtime links between Dart subsystems are not verified here; documented links are cited to the README.
Main entry points: chat.dart Conversation UI · push_helper.dart Push notifications · client_manager.dart Client management · main.dart App entry
Components 21
Application and UI
- App entry
lib/main.dart - App shell
lib/widgets/fluffy_chat_app.dart - Chat navigation
lib/pages/chat_list/chat_list.dart - User settings
lib/pages/settings/settings.dart - Client management
lib/utils/client_manager.dart
Messaging and discovery
- Conversation UI
lib/pages/chat/chat.dart - Message rendering
lib/pages/chat/events/message_content.dart - Chat search
lib/pages/chat_search/chat_search_page.dart - Group moderation
lib/pages/chat_permissions_settings/chat_permissions_settings.dart - Spaces
lib/pages/chat_list/space_view.dart - Voice and video calls
lib/pages/call/call_view_model.dart
Identity and protection
- Sign-in flow
lib/pages/sign_in/view_model/sign_in_view_model.dart - End-to-end encryption
lib/pages/chat_encryption_settings/chat_encryption_settings.dart - Key verification
lib/pages/key_verification/key_verification_dialog.dart - Encrypted backup
lib/pages/bootstrap/bootstrap_page.dart - Encrypted local store
lib/utils/matrix_sdk_extensions/flutter_matrix_dart_sdk_database/builder.dart
Platform services
- Push notifications
lib/utils/push_helper.dart - Android push handler
android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt - iOS notification service
ios/Notification Service Extension/NotificationService.swift
Other components
- User
- Matrix homeserver
Connections 24
- User → App entry: opens app
README.md - App entry → App shell: starts UI
- User → Sign-in flow: signs in
README.md - Sign-in flow → Matrix homeserver: authenticates with
- User → Chat navigation: chooses chats
README.md - User → Conversation UI: sends messages
README.md - Conversation UI → Matrix homeserver: exchanges messages
README.md - Conversation UI → Message rendering: renders content
- User → Chat search: discovers chats
README.md - Chat search → Matrix homeserver: searches groups
- User → Group moderation: moderates groups
README.md - Group moderation → Matrix homeserver: updates permissions
- User → Spaces: uses spaces
README.md - User → Voice and video calls: starts calls
README.md - Voice and video calls → Matrix homeserver: uses Matrix RTC
README.md - User → End-to-end encryption: secures chats
README.md - User → Key verification: verifies devices
README.md - User → Encrypted backup: backs up chats
README.md - User → User settings: configures app
- Matrix homeserver → Push notifications: delivers notifications
- Push notifications → Android push handler: routes push
- Push notifications → iOS notification service: routes push
- Client management → Matrix homeserver: manages sessions
- Client management → Encrypted local store: uses storage