# tirthpatel-au/tirthpatel-au.github.io architecture

> Architecture diagram of the GitHub repository tirthpatel-au/tirthpatel-au.github.io, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tirthpatel-au/tirthpatel-au.github.io
- Repository: https://github.com/tirthpatel-au/tirthpatel-au.github.io

## Overview

This is a browser-based Ubuntu-themed portfolio: visitors enter a simulated desktop, launch apps, and explore profile content or contact the owner. The graph follows the documented page-to-desktop flow and sampled UI wiring. About, education, skills, projects, resume, and contact are documented capabilities; their full implementations were not all sampled, so their internal links are omitted. The EmailJS and mail-app alternatives are documented, not source-verified here.

Main entry points: [`apps.config.js`](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/apps.config.js) (App Registry), [`components/screen/desktop.js`](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/desktop.js) (Desktop Controller), [`components/ubuntu.js`](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/ubuntu.js) (OS State Manager), [`pages/index.js`](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/pages/index.js) (Portfolio Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Site Entry"]
  node_page["Portfolio Page<br/>[index.js]"]
  node_meta["SEO Metadata<br/>[Meta.js]"]
end

subgraph group_desktop["Desktop Shell"]
  node_ubuntu["OS State Manager<br/>[ubuntu.js]"]
  node_boot["Boot Screen<br/>[booting_screen.js]"]
  node_lock["Lock Screen<br/>[lock_screen.js]"]
  node_desktopview["Desktop Controller<br/>[desktop.js]"]
  node_registry["App Registry<br/>[apps.config.js]"]
  node_window["Window Manager<br/>[window.js]"]
  node_appicon["App Launcher Icon<br/>[ubuntu_app.js]"]
  node_launcher["Side Launcher<br/>[side_bar.js]"]
  node_appgrid["Application Search"]
  node_menus["Desktop Menus"]
  node_background["Wallpaper"]
end

subgraph group_apps["Desktop Apps"]
  node_about["About Portfolio<br/>[tirth.js]"]
  node_terminal["Terminal App<br/>[terminal.js]"]
  node_calc["Calculator App<br/>[calc.js]"]
  node_chrome["Browser App<br/>[chrome.js]"]
  node_gedit["Contact App<br/>[gedit.js]"]
  node_settings["Settings App<br/>[settings.js]"]
  node_trash["Trash App<br/>[trash.js]"]
  node_otherapps["Other App Screens"]
end

subgraph group_system["System UI"]
  node_navbar["Top Status Bar<br/>[navbar.js]"]
  node_clock["Clock Display<br/>[clock.js]"]
  node_statuscard["Status Controls<br/>[status_card.js]"]
end

node_visitor(("Visitor"))
node_contactservice{{"EmailJS Service"}}
node_mailapp["Visitor Mail App"]

node_visitor -->|"opens"| node_page
node_page -->|"renders"| node_meta
node_page -->|"renders"| node_ubuntu
node_ubuntu -->|"renders"| node_boot
node_ubuntu -->|"renders"| node_lock
node_ubuntu -->|"renders"| node_desktopview
node_ubuntu -->|"renders"| node_navbar
node_desktopview -->|"loads apps"| node_registry
node_desktopview -->|"renders"| node_launcher
node_desktopview -->|"renders"| node_window
node_desktopview -->|"renders"| node_appicon
node_desktopview -->|"renders"| node_appgrid
node_desktopview -->|"renders"| node_menus
node_desktopview -->|"renders"| node_background
node_appgrid -->|"renders"| node_appicon
node_appicon -->|"opens app"| node_desktopview
node_registry -->|"registers"| node_about
node_registry -->|"registers"| node_terminal
node_registry -->|"registers"| node_calc
node_registry -->|"registers"| node_chrome
node_registry -->|"registers"| node_gedit
node_registry -->|"registers"| node_settings
node_registry -->|"registers"| node_trash
node_registry -->|"registers"| node_otherapps
node_window -->|"renders"| node_settings
node_window -->|"renders"| node_terminal
node_navbar -->|"renders"| node_clock
node_navbar -->|"renders"| node_statuscard
node_about -.->|"sends message"| node_contactservice
node_about -.->|"opens fallback"| node_mailapp

click node_page "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/pages/index.js"
click node_meta "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/SEO/Meta.js"
click node_ubuntu "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/ubuntu.js"
click node_boot "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/booting_screen.js"
click node_lock "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/lock_screen.js"
click node_desktopview "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/desktop.js"
click node_registry "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/apps.config.js"
click node_window "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/base/window.js"
click node_appicon "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/base/ubuntu_app.js"
click node_launcher "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/side_bar.js"
click node_appgrid "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/all-applications.js"
click node_menus "https://github.com/tirthpatel-au/tirthpatel-au.github.io/tree/main/components/context%20menus"
click node_background "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/background-image.js"
click node_about "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/tirth.js"
click node_terminal "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/terminal.js"
click node_calc "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/calc.js"
click node_chrome "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/chrome.js"
click node_gedit "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/gedit.js"
click node_settings "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/settings.js"
click node_trash "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/trash.js"
click node_otherapps "https://github.com/tirthpatel-au/tirthpatel-au.github.io/tree/main/components/apps"
click node_navbar "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/navbar.js"
click node_clock "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/clock.js"
click node_statuscard "https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/status_card.js"

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_page,node_meta toneBlue
class node_ubuntu,node_boot,node_lock,node_desktopview,node_registry,node_window,node_appicon,node_launcher,node_appgrid,node_menus,node_background toneAmber
class node_about,node_terminal,node_calc,node_chrome,node_gedit,node_settings,node_trash,node_otherapps toneMint
class node_navbar,node_clock,node_statuscard toneRose
class node_visitor,node_contactservice,node_mailapp toneIndigo
```

## Components

### Site Entry

- [Portfolio Page](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/pages/index.js): `pages/index.js`
- [SEO Metadata](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/SEO/Meta.js): `components/SEO/Meta.js`

### Desktop Shell

- [OS State Manager](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/ubuntu.js): `components/ubuntu.js`
- [Boot Screen](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/booting_screen.js): `components/screen/booting_screen.js`
- [Lock Screen](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/lock_screen.js): `components/screen/lock_screen.js`
- [Desktop Controller](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/desktop.js): `components/screen/desktop.js`
- [App Registry](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/apps.config.js): `apps.config.js`
- [Window Manager](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/base/window.js): `components/base/window.js`
- [App Launcher Icon](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/base/ubuntu_app.js): `components/base/ubuntu_app.js`
- [Side Launcher](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/side_bar.js): `components/screen/side_bar.js`
- [Application Search](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/all-applications.js): `components/screen/all-applications.js`
- [Desktop Menus](https://github.com/tirthpatel-au/tirthpatel-au.github.io/tree/main/components/context%20menus): `components/context menus`
- [Wallpaper](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/background-image.js): `components/util components/background-image.js`

### Desktop Apps

- [About Portfolio](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/tirth.js): `components/apps/tirth.js`
- [Terminal App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/terminal.js): `components/apps/terminal.js`
- [Calculator App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/calc.js): `components/apps/calc.js`
- [Browser App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/chrome.js): `components/apps/chrome.js`
- [Contact App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/gedit.js): `components/apps/gedit.js`
- [Settings App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/settings.js): `components/apps/settings.js`
- [Trash App](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/apps/trash.js): `components/apps/trash.js`
- [Other App Screens](https://github.com/tirthpatel-au/tirthpatel-au.github.io/tree/main/components/apps): `components/apps`

### System UI

- [Top Status Bar](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/screen/navbar.js): `components/screen/navbar.js`
- [Clock Display](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/clock.js): `components/util components/clock.js`
- [Status Controls](https://github.com/tirthpatel-au/tirthpatel-au.github.io/blob/main/components/util%20components/status_card.js): `components/util components/status_card.js`

### Other components

- **Visitor**
- **EmailJS Service**
- **Visitor Mail App**

## Connections

- Visitor → Portfolio Page: opens (evidence: `pages/index.js`)
- Portfolio Page → SEO Metadata: renders (evidence: `pages/index.js`)
- Portfolio Page → OS State Manager: renders (evidence: `pages/index.js`)
- OS State Manager → Boot Screen: renders (evidence: `components/ubuntu.js`)
- OS State Manager → Lock Screen: renders (evidence: `components/ubuntu.js`)
- OS State Manager → Desktop Controller: renders (evidence: `components/ubuntu.js`)
- OS State Manager → Top Status Bar: renders (evidence: `components/ubuntu.js`)
- Desktop Controller → App Registry: loads apps (evidence: `components/screen/desktop.js`)
- Desktop Controller → Side Launcher: renders (evidence: `components/screen/desktop.js`)
- Desktop Controller → Window Manager: renders (evidence: `components/screen/desktop.js`)
- Desktop Controller → App Launcher Icon: renders (evidence: `components/screen/desktop.js`)
- Desktop Controller → Application Search: renders (evidence: `components/screen/desktop.js`)
- Desktop Controller → Desktop Menus: renders (evidence: `components/screen/desktop.js`)
- Desktop Controller → Wallpaper: renders (evidence: `components/screen/desktop.js`)
- Application Search → App Launcher Icon: renders (evidence: `components/screen/all-applications.js`)
- App Launcher Icon → Desktop Controller: opens app (evidence: `components/base/ubuntu_app.js`)
- App Registry → About Portfolio: registers (evidence: `apps.config.js`)
- App Registry → Terminal App: registers (evidence: `apps.config.js`)
- App Registry → Calculator App: registers (evidence: `apps.config.js`)
- App Registry → Browser App: registers (evidence: `apps.config.js`)
- App Registry → Contact App: registers (evidence: `apps.config.js`)
- App Registry → Settings App: registers (evidence: `apps.config.js`)
- App Registry → Trash App: registers (evidence: `apps.config.js`)
- App Registry → Other App Screens: registers (evidence: `apps.config.js`)
- Window Manager → Settings App: renders (evidence: `components/base/window.js`)
- Window Manager → Terminal App: renders (evidence: `components/base/window.js`)
- Top Status Bar → Clock Display: renders (evidence: `components/screen/navbar.js`)
- Top Status Bar → Status Controls: renders (evidence: `components/screen/navbar.js`)
- About Portfolio → EmailJS Service: sends message (evidence: `README.md`)
- About Portfolio → Visitor Mail App: opens fallback (evidence: `README.md`)
