# hisiddharth/hisiddharth.github.io architecture

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

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

## Overview

SidOS is a browser-based portfolio presented as a desktop OS. The main user journey is to explore the desktop, launch an app or open a file, and view or work with its contents. The graph includes README-documented desktop capabilities and sampled link routing, plus the Matrix wallpaper renderer. Some subsystem paths and relationships are documented but their implementations were not sampled; those links are identified as documented rather than inferred from imports.

Main entry points: [`hooks/useLinkHandler.ts`](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/hooks/useLinkHandler.ts) (Link Router), [`components/system/Desktop/index.tsx`](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Desktop/index.tsx) (Desktop), [`components/system/Files/FileManager/index.tsx`](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Files/FileManager/index.tsx) (File Manager), [`public/System/Matrix/js/regl/main.js`](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/regl/main.js) (Matrix Renderer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop Shell"]
  node_desktop_ui["Desktop<br/>[index.tsx]"]
  node_taskbar["Taskbar<br/>[index.tsx]"]
  node_start_menu["Start Menu<br/>[index.tsx]"]
  node_windowing["Window Manager<br/>[index.tsx]"]
  node_app_host["App Host<br/>[AppContainer.tsx]"]
end

subgraph group_state["OS Services"]
  node_processes["Process State"]
  node_sessions["Session State"]
end

subgraph group_files["Files and Links"]
  node_filesystem[("Virtual File System")]
  node_file_manager["File Manager<br/>[index.tsx]"]
  node_file_entry["File Entry<br/>[useFile.ts]"]
  node_link_routing["Link Router<br/>[useLinkHandler.ts]"]
end

subgraph group_apps["Built-in Apps"]
  node_browser["Browser<br/>[index.tsx]"]
  node_terminal["Terminal"]
  node_monaco["Monaco Editor<br/>[index.tsx]"]
  node_webamp["Webamp Player<br/>[index.tsx]"]
  node_marked["Markdown Viewer<br/>[index.tsx]"]
  node_pdf["PDF Viewer<br/>[index.tsx]"]
  node_paint["Paint<br/>[index.tsx]"]
  node_video["Video Player<br/>[index.tsx]"]
end

subgraph group_wallpaper["Wallpaper Rendering"]
  node_matrix["Matrix Renderer<br/>[main.js]"]
  node_matrix_passes["Render Passes"]
  node_matrix_utils["Render Utilities<br/>[utils.js]"]
  node_color_rgb["Color Conversion<br/>[colorToRGB.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"explores"| node_desktop_ui
node_desktop_ui -.->|"shows"| node_taskbar
node_visitor -->|"launches apps"| node_start_menu
node_start_menu -.->|"opens apps"| node_processes
node_processes -.->|"loads processes"| node_app_host
node_app_host -.->|"hosts windows"| node_windowing
node_visitor -->|"browses files"| node_file_manager
node_file_manager -->|"reads and writes"| node_filesystem
node_file_manager -.->|"renders entries"| node_file_entry
node_file_entry -->|"routes links"| node_link_routing
node_link_routing -->|"opens app"| node_processes
node_link_routing -->|"updates recents"| node_sessions
node_link_routing -->|"opens YouTube"| node_video
node_link_routing -->|"opens web links"| node_browser
node_visitor -->|"runs commands"| node_terminal
node_visitor -->|"edits code"| node_monaco
node_visitor -->|"plays audio"| node_webamp
node_visitor -->|"views documents"| node_marked
node_visitor -->|"views resume"| node_pdf
node_visitor -.->|"creates images"| node_paint
node_desktop_ui -.->|"renders wallpaper"| node_matrix
node_matrix -->|"dispatches passes"| node_matrix_passes
node_matrix -->|"builds pipeline"| node_matrix_utils
node_matrix_passes -->|"uses utilities"| node_matrix_utils
node_matrix_passes -->|"converts colors"| node_color_rgb

click node_desktop_ui "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Desktop/index.tsx"
click node_taskbar "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Taskbar/index.tsx"
click node_start_menu "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/StartMenu/index.tsx"
click node_windowing "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Window/index.tsx"
click node_app_host "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Apps/AppContainer.tsx"
click node_processes "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/process/useProcessContextState.ts"
click node_sessions "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/session/useSessionContextState.ts"
click node_filesystem "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/fileSystem/useFileSystemContextState.ts"
click node_file_manager "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Files/FileManager/index.tsx"
click node_file_entry "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Files/FileEntry/useFile.ts"
click node_link_routing "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/hooks/useLinkHandler.ts"
click node_browser "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Browser/index.tsx"
click node_terminal "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Terminal/useCommandInterpreter.ts"
click node_monaco "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/MonacoEditor/index.tsx"
click node_webamp "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Webamp/index.tsx"
click node_marked "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Marked/index.tsx"
click node_pdf "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/PDF/index.tsx"
click node_paint "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Paint/index.tsx"
click node_video "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/VideoPlayer/index.tsx"
click node_matrix "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/regl/main.js"
click node_matrix_passes "https://github.com/hisiddharth/hisiddharth.github.io/tree/main/public/System/Matrix/js/regl"
click node_matrix_utils "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/regl/utils.js"
click node_color_rgb "https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/colorToRGB.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_desktop_ui,node_taskbar,node_start_menu,node_windowing,node_app_host toneBlue
class node_processes,node_sessions toneAmber
class node_filesystem,node_file_manager,node_file_entry,node_link_routing toneMint
class node_browser,node_terminal,node_monaco,node_webamp,node_marked,node_pdf,node_paint,node_video toneRose
class node_matrix,node_matrix_passes,node_matrix_utils,node_color_rgb,node_visitor toneIndigo
```

## Components

### Desktop Shell

- [Desktop](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Desktop/index.tsx): `components/system/Desktop/index.tsx`
- [Taskbar](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Taskbar/index.tsx): `components/system/Taskbar/index.tsx`
- [Start Menu](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/StartMenu/index.tsx): `components/system/StartMenu/index.tsx`
- [Window Manager](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Window/index.tsx): `components/system/Window/index.tsx`
- [App Host](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Apps/AppContainer.tsx): `components/system/Apps/AppContainer.tsx`

### OS Services

- [Process State](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/process/useProcessContextState.ts): `contexts/process/useProcessContextState.ts`
- [Session State](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/session/useSessionContextState.ts): `contexts/session/useSessionContextState.ts`

### Files and Links

- [Virtual File System](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/contexts/fileSystem/useFileSystemContextState.ts): `contexts/fileSystem/useFileSystemContextState.ts`
- [File Manager](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Files/FileManager/index.tsx): `components/system/Files/FileManager/index.tsx`
- [File Entry](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/system/Files/FileEntry/useFile.ts): `components/system/Files/FileEntry/useFile.ts`
- [Link Router](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/hooks/useLinkHandler.ts): `hooks/useLinkHandler.ts`

### Built-in Apps

- [Browser](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Browser/index.tsx): `components/apps/Browser/index.tsx`
- [Terminal](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Terminal/useCommandInterpreter.ts): `components/apps/Terminal/useCommandInterpreter.ts`
- [Monaco Editor](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/MonacoEditor/index.tsx): `components/apps/MonacoEditor/index.tsx`
- [Webamp Player](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Webamp/index.tsx): `components/apps/Webamp/index.tsx`
- [Markdown Viewer](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Marked/index.tsx): `components/apps/Marked/index.tsx`
- [PDF Viewer](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/PDF/index.tsx): `components/apps/PDF/index.tsx`
- [Paint](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/Paint/index.tsx): `components/apps/Paint/index.tsx`
- [Video Player](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/components/apps/VideoPlayer/index.tsx): `components/apps/VideoPlayer/index.tsx`

### Wallpaper Rendering

- [Matrix Renderer](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/regl/main.js): `public/System/Matrix/js/regl/main.js`
- [Render Passes](https://github.com/hisiddharth/hisiddharth.github.io/tree/main/public/System/Matrix/js/regl): `public/System/Matrix/js/regl`
- [Render Utilities](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/regl/utils.js): `public/System/Matrix/js/regl/utils.js`
- [Color Conversion](https://github.com/hisiddharth/hisiddharth.github.io/blob/main/public/System/Matrix/js/colorToRGB.js): `public/System/Matrix/js/colorToRGB.js`

### Other components

- **Visitor**

## Connections

- Visitor → Desktop: explores
- Desktop → Taskbar: shows
- Visitor → Start Menu: launches apps
- Start Menu → Process State: opens apps
- Process State → App Host: loads processes
- App Host → Window Manager: hosts windows
- Visitor → File Manager: browses files
- File Manager → Virtual File System: reads and writes
- File Manager → File Entry: renders entries
- File Entry → Link Router: routes links (evidence: `hooks/useLinkHandler.ts`)
- Link Router → Process State: opens app (evidence: `hooks/useLinkHandler.ts`)
- Link Router → Session State: updates recents (evidence: `hooks/useLinkHandler.ts`)
- Link Router → Video Player: opens YouTube (evidence: `hooks/useLinkHandler.ts`)
- Link Router → Browser: opens web links (evidence: `hooks/useLinkHandler.ts`)
- Visitor → Terminal: runs commands
- Visitor → Monaco Editor: edits code
- Visitor → Webamp Player: plays audio
- Visitor → Markdown Viewer: views documents
- Visitor → PDF Viewer: views resume
- Visitor → Paint: creates images
- Desktop → Matrix Renderer: renders wallpaper
- Matrix Renderer → Render Passes: dispatches passes (evidence: `public/System/Matrix/js/regl/main.js`)
- Matrix Renderer → Render Utilities: builds pipeline (evidence: `public/System/Matrix/js/regl/main.js`)
- Render Passes → Render Utilities: uses utilities (evidence: `public/System/Matrix/js/regl/palettePass.js`)
- Render Passes → Color Conversion: converts colors (evidence: `public/System/Matrix/js/regl/palettePass.js`)
