# beatz-maaraz/cuqter architecture

> Architecture diagram of the GitHub repository beatz-maaraz/cuqter, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/beatz-maaraz/cuqter
- Repository: https://github.com/beatz-maaraz/cuqter

## Overview

Cuqter is a Flutter messaging and social app. The documented user journey runs from launch through authentication or signup, then app-lock checks into a responsive home where users access chats, calls, statuses, and profile/settings. Chat supports media, message actions, and AI assistance; calls use WebRTC signaling. The available tree omits the documented Dart application sources, so these components and relationships are based on the README rather than inspected implementation. Platform runners and bundled JDK headers are not core product stages.

Main entry points: [`lib/Screen/home`](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/home) (Main navigation), [`lib/Screen/chat`](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/chat) (Chat rooms), [`lib/Account`](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Account) (Authentication and onboarding), [`lib/Screen/calls`](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/calls) (Call interfaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and layout"]
  node_auth["Authentication and onboarding"]
  node_lock["App lock"]
  node_responsive["Responsive layout"]
  node_home["Main navigation"]
end

subgraph group_social["Messaging and social"]
  node_chat["Chat rooms"]
  node_media["Media sharing"]
  node_status["Status updates"]
  node_profile["Profile and settings"]
end

subgraph group_communication["Calls and notifications"]
  node_calls["Call interfaces"]
  node_notifications["Notifications"]
end

subgraph group_state["State and services"]
  node_providers["App state"]
  node_services["Core services"]
end

subgraph group_external["External services"]
  node_firebase[("Firebase")]
  node_cloudinary["Cloudinary"]
  node_webrtc["WebRTC"]
  node_ai["Generative AI"]
end

node_user(("User"))

node_user -->|"signs in"| node_auth
node_auth -->|"authenticates"| node_lock
node_user -->|"unlocks"| node_lock
node_lock -->|"opens"| node_responsive
node_responsive -->|"presents"| node_home
node_home -->|"opens"| node_chat
node_home -->|"opens"| node_calls
node_home -->|"opens"| node_status
node_home -->|"opens"| node_profile
node_chat -->|"syncs messages"| node_firebase
node_chat -->|"shares media"| node_media
node_media -->|"uploads files"| node_cloudinary
node_chat -->|"requests assistance"| node_ai
node_calls -->|"communicates"| node_webrtc
node_calls -->|"uses signaling"| node_services
node_status -->|"shares updates"| node_firebase
node_profile -->|"uses security services"| node_services
node_auth -->|"uses authentication"| node_firebase
node_notifications -->|"receives push events"| node_firebase
node_providers -->|"supplies state"| node_responsive

click node_auth "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Account"
click node_lock "https://github.com/beatz-maaraz/cuqter/blob/master/lib/services/biometric_service.dart"
click node_responsive "https://github.com/beatz-maaraz/cuqter/tree/master/lib/responsive"
click node_home "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/home"
click node_chat "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/chat"
click node_media "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/media"
click node_status "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/status"
click node_profile "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/profile"
click node_calls "https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/calls"
click node_notifications "https://github.com/beatz-maaraz/cuqter/blob/master/lib/services/notification_service.dart"
click node_providers "https://github.com/beatz-maaraz/cuqter/tree/master/lib/providers"
click node_services "https://github.com/beatz-maaraz/cuqter/tree/master/lib/services"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth,node_lock,node_responsive,node_home,node_user toneBlue
class node_chat,node_media,node_status,node_profile toneAmber
class node_calls,node_notifications toneMint
class node_providers,node_services toneRose
class node_firebase,node_cloudinary,node_webrtc,node_ai toneIndigo
```

## Components

### Entry and layout

- [Authentication and onboarding](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Account): `lib/Account`
- [App lock](https://github.com/beatz-maaraz/cuqter/blob/master/lib/services/biometric_service.dart): `lib/services/biometric_service.dart`
- [Responsive layout](https://github.com/beatz-maaraz/cuqter/tree/master/lib/responsive): `lib/responsive`
- [Main navigation](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/home): `lib/Screen/home`

### Messaging and social

- [Chat rooms](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/chat): `lib/Screen/chat`
- [Media sharing](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/media): `lib/Screen/media`
- [Status updates](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/status): `lib/Screen/status`
- [Profile and settings](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/profile): `lib/Screen/profile`

### Calls and notifications

- [Call interfaces](https://github.com/beatz-maaraz/cuqter/tree/master/lib/Screen/calls): `lib/Screen/calls`
- [Notifications](https://github.com/beatz-maaraz/cuqter/blob/master/lib/services/notification_service.dart): `lib/services/notification_service.dart`

### State and services

- [App state](https://github.com/beatz-maaraz/cuqter/tree/master/lib/providers): `lib/providers`
- [Core services](https://github.com/beatz-maaraz/cuqter/tree/master/lib/services): `lib/services`

### External services

- **Firebase**
- **Cloudinary**
- **WebRTC**
- **Generative AI**

### Other components

- **User**

## Connections

- User → Authentication and onboarding: signs in (evidence: `README.md`)
- Authentication and onboarding → App lock: authenticates (evidence: `README.md`)
- User → App lock: unlocks (evidence: `README.md`)
- App lock → Responsive layout: opens (evidence: `README.md`)
- Responsive layout → Main navigation: presents (evidence: `README.md`)
- Main navigation → Chat rooms: opens (evidence: `README.md`)
- Main navigation → Call interfaces: opens (evidence: `README.md`)
- Main navigation → Status updates: opens (evidence: `README.md`)
- Main navigation → Profile and settings: opens (evidence: `README.md`)
- Chat rooms → Firebase: syncs messages (evidence: `README.md`)
- Chat rooms → Media sharing: shares media (evidence: `README.md`)
- Media sharing → Cloudinary: uploads files (evidence: `README.md`)
- Chat rooms → Generative AI: requests assistance (evidence: `README.md`)
- Call interfaces → WebRTC: communicates (evidence: `README.md`)
- Call interfaces → Core services: uses signaling (evidence: `README.md`)
- Status updates → Firebase: shares updates (evidence: `README.md`)
- Profile and settings → Core services: uses security services (evidence: `README.md`)
- Authentication and onboarding → Firebase: uses authentication (evidence: `README.md`)
- Notifications → Firebase: receives push events (evidence: `README.md`)
- App state → Responsive layout: supplies state (evidence: `README.md`)
