# daspinaki2005/portfolio_windows architecture

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

- Interactive diagram: https://gitdiagram.com/daspinaki2005/portfolio_windows
- Repository: https://github.com/daspinaki2005/portfolio_windows

## Overview

This repository is a portfolio presented as responsive desktop and Android-device simulations. On mobile, a visitor wakes and unlocks the device, uses its home screen to launch portfolio apps, and interacts with their rendered content; the shell also provides navigation, shade and recents. The desktop experience is implemented separately in a large Windows-style engine. A session welcome overlay selects its message by viewport width. The excerpts establish the mobile bootstrap and several module calls, but do not expose desktop wiring or all app integrations.

Main entry points: [`mobile/js/android.js`](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/android.js) (Mobile bootstrap), [`mobile/js/app-manager.js`](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/app-manager.js) (App lifecycle), [`mobile/js/shell.js`](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/shell.js) (Device shell), [`mobile/js/apps.js`](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/apps.js) (Portfolio apps)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mobile["Android simulation"]
  node_mobileboot["Mobile bootstrap<br/>[android.js]"]
  node_utilities["Shared utilities<br/>[core.js]"]
  node_device["Device shell<br/>[shell.js]"]
  node_lock["Lock screen<br/>[lock.js]"]
  node_home["Home screen<br/>[home.js]"]
  node_appmanager["App lifecycle<br/>[app-manager.js]"]
  node_recents["Recent apps<br/>[recents.js]"]
end

subgraph group_content["Portfolio content"]
  node_icons["Icon library<br/>[icons.js]"]
  node_portfolioapps["Portfolio apps<br/>[apps.js]"]
  node_media["Shade media player<br/>[media.js]"]
end

subgraph group_desktop["Desktop experience"]
  node_desktop["Windows portfolio<br/>[script.js]"]
  node_welcome["Welcome overlay<br/>[welcome-overlay.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens portfolio"| node_mobileboot
node_mobileboot -->|"builds shell"| node_device
node_mobileboot -->|"builds home"| node_home
node_mobileboot -->|"initializes manager"| node_appmanager
node_mobileboot -->|"initializes recents"| node_recents
node_mobileboot -->|"binds app actions"| node_portfolioapps
node_mobileboot -->|"locks device"| node_lock
node_visitor -->|"wakes and unlocks"| node_lock
node_home -->|"reads app registry"| node_portfolioapps
node_home -.->|"launches app"| node_appmanager
node_appmanager -->|"renders app"| node_portfolioapps
node_appmanager -->|"uses shell mounts"| node_device
node_appmanager -->|"closes overview"| node_recents
node_recents -->|"reads app details"| node_portfolioapps
node_recents -->|"focuses or closes"| node_appmanager
node_device -->|"renders system icons"| node_icons
node_device -->|"uses helpers"| node_utilities
node_portfolioapps -.->|"renders app icons"| node_icons
node_device -.->|"hosts shade player"| node_media
node_visitor -.->|"uses desktop experience"| node_desktop
node_visitor -->|"sees session welcome"| node_welcome

click node_mobileboot "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/android.js"
click node_utilities "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/core.js"
click node_device "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/shell.js"
click node_lock "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/lock.js"
click node_home "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/home.js"
click node_appmanager "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/app-manager.js"
click node_recents "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/recents.js"
click node_icons "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/icons.js"
click node_portfolioapps "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/apps.js"
click node_media "https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/media.js"
click node_desktop "https://github.com/daspinaki2005/portfolio_windows/blob/main/script.js"
click node_welcome "https://github.com/daspinaki2005/portfolio_windows/blob/main/welcome-overlay.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_mobileboot,node_utilities,node_device,node_lock,node_home,node_appmanager,node_recents toneBlue
class node_icons,node_portfolioapps,node_media toneAmber
class node_desktop,node_welcome toneMint
class node_visitor toneIndigo
```

## Components

### Android simulation

- [Mobile bootstrap](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/android.js): `mobile/js/android.js`
- [Shared utilities](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/core.js): `mobile/js/core.js`
- [Device shell](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/shell.js): `mobile/js/shell.js`
- [Lock screen](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/lock.js): `mobile/js/lock.js`
- [Home screen](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/home.js): `mobile/js/home.js`
- [App lifecycle](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/app-manager.js): `mobile/js/app-manager.js`
- [Recent apps](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/recents.js): `mobile/js/recents.js`

### Portfolio content

- [Icon library](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/icons.js): `mobile/js/icons.js`
- [Portfolio apps](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/apps.js): `mobile/js/apps.js`
- [Shade media player](https://github.com/daspinaki2005/portfolio_windows/blob/main/mobile/js/media.js): `mobile/js/media.js`

### Desktop experience

- [Windows portfolio](https://github.com/daspinaki2005/portfolio_windows/blob/main/script.js): `script.js`
- [Welcome overlay](https://github.com/daspinaki2005/portfolio_windows/blob/main/welcome-overlay.js): `welcome-overlay.js`

### Other components

- **Visitor**

## Connections

- Visitor → Mobile bootstrap: opens portfolio (evidence: `mobile/js/android.js`)
- Mobile bootstrap → Device shell: builds shell (evidence: `mobile/js/android.js`)
- Mobile bootstrap → Home screen: builds home (evidence: `mobile/js/android.js`)
- Mobile bootstrap → App lifecycle: initializes manager (evidence: `mobile/js/android.js`)
- Mobile bootstrap → Recent apps: initializes recents (evidence: `mobile/js/android.js`)
- Mobile bootstrap → Portfolio apps: binds app actions (evidence: `mobile/js/android.js`)
- Mobile bootstrap → Lock screen: locks device (evidence: `mobile/js/android.js`)
- Visitor → Lock screen: wakes and unlocks (evidence: `mobile/js/lock.js`)
- Home screen → Portfolio apps: reads app registry (evidence: `mobile/js/home.js`)
- Home screen → App lifecycle: launches app
- App lifecycle → Portfolio apps: renders app (evidence: `mobile/js/app-manager.js`)
- App lifecycle → Device shell: uses shell mounts (evidence: `mobile/js/app-manager.js`)
- App lifecycle → Recent apps: closes overview (evidence: `mobile/js/app-manager.js`)
- Recent apps → Portfolio apps: reads app details (evidence: `mobile/js/recents.js`)
- Recent apps → App lifecycle: focuses or closes (evidence: `mobile/js/recents.js`)
- Device shell → Icon library: renders system icons (evidence: `mobile/js/shell.js`)
- Device shell → Shared utilities: uses helpers (evidence: `mobile/js/shell.js`)
- Portfolio apps → Icon library: renders app icons
- Device shell → Shade media player: hosts shade player
- Visitor → Windows portfolio: uses desktop experience
- Visitor → Welcome overlay: sees session welcome (evidence: `welcome-overlay.js`)
