# osamasayed5/markazi-app architecture

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

- Interactive diagram: https://gitdiagram.com/osamasayed5/markazi-app
- Repository: https://github.com/osamasayed5/markazi-app

## Overview

Markazi is documented as an offline-first Arabic Android organizer for daily tasks, follow-ups, dues and expenses, and ideas. Its intended user workflow is to capture and manage those details locally, use daily notifications to stay on top of them, and preserve data through JSON backup and restore. The README also documents APK update checking and downloading over HTTPS. A separate React landing page presents the product and its identity. Android implementation files are absent from the supplied tree, so those runtime links are shown as unverified; the landing-page links are based on excerpted imports and calls.

Main entry points: [`app`](https://github.com/osamasayed5/markazi-app/tree/main/app) (Android App), [`markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx) (Home Page), [`markazi-landing-and-identity/landing-page/client/src/App.tsx`](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/App.tsx) (Web App Router), [`markazi-landing-and-identity/landing-page/client/src/main.tsx`](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/main.tsx) (Web Entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_android["Android Organizer"]
  node_android_app["Android App"]
  node_daily_tasks["Daily Tasks"]
  node_followups["Follow-ups"]
  node_finances["Dues and Expenses"]
  node_ideas["Ideas"]
end

subgraph group_state["Local Data and Reminders"]
  node_room[("Room Store")]
  node_json_backup["JSON Backup"]
  node_daily_notifications["Daily Notifications"]
end

subgraph group_updates["App Updates"]
  node_update_check["Update Check"]
  node_apk_download["APK Download"]
end

subgraph group_web["Landing Page and Identity"]
  node_web_entry["Web Entry<br/>[main.tsx]"]
  node_web_app["Web App Router<br/>[App.tsx]"]
  node_home_page["Home Page<br/>[Home.tsx]"]
  node_product_shell["Product Showcase<br/>[ProductShell.tsx]"]
  node_flow_states["Flow States<br/>[FlowStates.tsx]"]
  node_comparison["Comparison Board"]
  node_landing_content["Landing Content<br/>[landing.ts]"]
  node_theme["Theme Provider<br/>[ThemeContext.tsx]"]
  node_error_boundary["Error Boundary<br/>[ErrorBoundary.tsx]"]
  node_identity_tokens["Brand Tokens"]
end

node_person(("User"))
node_https_host["HTTPS Update Host"]
node_web_user(("Landing Page Visitor"))

node_person -->|"uses"| node_android_app
node_android_app -.->|"manages"| node_daily_tasks
node_android_app -.->|"manages"| node_followups
node_android_app -.->|"tracks"| node_finances
node_android_app -.->|"manages"| node_ideas
node_android_app -.->|"persists locally"| node_room
node_android_app -.->|"backs up"| node_json_backup
node_json_backup -.->|"restores data"| node_room
node_android_app -.->|"schedules"| node_daily_notifications
node_android_app -.->|"checks updates"| node_update_check
node_update_check -.->|"checks manifest"| node_https_host
node_update_check -.->|"downloads APK"| node_apk_download
node_apk_download -.->|"fetches APK"| node_https_host
node_web_user -->|"opens"| node_web_entry
node_web_entry -->|"renders"| node_web_app
node_web_app -->|"routes to"| node_home_page
node_web_app -->|"wraps with"| node_theme
node_web_app -->|"wraps with"| node_error_boundary
node_home_page -->|"renders"| node_product_shell
node_home_page -->|"renders"| node_flow_states
node_home_page -->|"renders"| node_comparison
node_home_page -->|"reads"| node_landing_content

click node_android_app "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_daily_tasks "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_followups "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_finances "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_ideas "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_room "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_json_backup "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_daily_notifications "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_update_check "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_apk_download "https://github.com/osamasayed5/markazi-app/tree/main/app"
click node_web_entry "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/main.tsx"
click node_web_app "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/App.tsx"
click node_home_page "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx"
click node_product_shell "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/ProductShell.tsx"
click node_flow_states "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/FlowStates.tsx"
click node_comparison "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/ComparisonBoard.tsx"
click node_landing_content "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/content/landing.ts"
click node_theme "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/contexts/ThemeContext.tsx"
click node_error_boundary "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/ErrorBoundary.tsx"
click node_identity_tokens "https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/brand/MarkaziLandingIdentity.kt"

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_android_app,node_daily_tasks,node_followups,node_finances,node_ideas,node_person toneBlue
class node_room,node_json_backup,node_daily_notifications toneAmber
class node_update_check,node_apk_download toneMint
class node_web_entry,node_web_app,node_home_page,node_product_shell,node_flow_states,node_comparison,node_landing_content,node_theme,node_error_boundary,node_identity_tokens toneRose
class node_https_host,node_web_user toneIndigo
```

## Components

### Android Organizer

- [Android App](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [Daily Tasks](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [Follow-ups](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [Dues and Expenses](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [Ideas](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`

### Local Data and Reminders

- [Room Store](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [JSON Backup](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [Daily Notifications](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`

### App Updates

- [Update Check](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`
- [APK Download](https://github.com/osamasayed5/markazi-app/tree/main/app): `app`

### Landing Page and Identity

- [Web Entry](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/main.tsx): `markazi-landing-and-identity/landing-page/client/src/main.tsx`
- [Web App Router](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/App.tsx): `markazi-landing-and-identity/landing-page/client/src/App.tsx`
- [Home Page](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx): `markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`
- [Product Showcase](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/ProductShell.tsx): `markazi-landing-and-identity/landing-page/client/src/components/markazi/ProductShell.tsx`
- [Flow States](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/FlowStates.tsx): `markazi-landing-and-identity/landing-page/client/src/components/markazi/FlowStates.tsx`
- [Comparison Board](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/markazi/ComparisonBoard.tsx): `markazi-landing-and-identity/landing-page/client/src/components/markazi/ComparisonBoard.tsx`
- [Landing Content](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/content/landing.ts): `markazi-landing-and-identity/landing-page/client/src/content/landing.ts`
- [Theme Provider](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/contexts/ThemeContext.tsx): `markazi-landing-and-identity/landing-page/client/src/contexts/ThemeContext.tsx`
- [Error Boundary](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/landing-page/client/src/components/ErrorBoundary.tsx): `markazi-landing-and-identity/landing-page/client/src/components/ErrorBoundary.tsx`
- [Brand Tokens](https://github.com/osamasayed5/markazi-app/blob/main/markazi-landing-and-identity/brand/MarkaziLandingIdentity.kt): `markazi-landing-and-identity/brand/MarkaziLandingIdentity.kt`

### Other components

- **User**
- **HTTPS Update Host**
- **Landing Page Visitor**

## Connections

- User → Android App: uses
- Android App → Daily Tasks: manages
- Android App → Follow-ups: manages
- Android App → Dues and Expenses: tracks
- Android App → Ideas: manages
- Android App → Room Store: persists locally
- Android App → JSON Backup: backs up
- JSON Backup → Room Store: restores data
- Android App → Daily Notifications: schedules
- Android App → Update Check: checks updates
- Update Check → HTTPS Update Host: checks manifest
- Update Check → APK Download: downloads APK
- APK Download → HTTPS Update Host: fetches APK
- Landing Page Visitor → Web Entry: opens (evidence: `markazi-landing-and-identity/landing-page/client/src/main.tsx`)
- Web Entry → Web App Router: renders (evidence: `markazi-landing-and-identity/landing-page/client/src/main.tsx`)
- Web App Router → Home Page: routes to (evidence: `markazi-landing-and-identity/landing-page/client/src/App.tsx`)
- Web App Router → Theme Provider: wraps with (evidence: `markazi-landing-and-identity/landing-page/client/src/App.tsx`)
- Web App Router → Error Boundary: wraps with (evidence: `markazi-landing-and-identity/landing-page/client/src/App.tsx`)
- Home Page → Product Showcase: renders (evidence: `markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`)
- Home Page → Flow States: renders (evidence: `markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`)
- Home Page → Comparison Board: renders (evidence: `markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`)
- Home Page → Landing Content: reads (evidence: `markazi-landing-and-identity/landing-page/client/src/pages/Home.tsx`)
