# anisha-2905/anishaos architecture

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

- Interactive diagram: https://gitdiagram.com/anisha-2905/anishaos
- Repository: https://github.com/anisha-2905/anishaos

## Overview

AnishaOS is a personal portfolio presented as a space-themed desktop. Visitors pass through a boot screen, then open desktop icons into managed windows to explore profile, education, projects, skills, missions, and constellation content; the taskbar also provides profile links. The graph captures the desktop composition, window-management layer, and documented content dependencies. Some window implementations were not excerpted, so their internal behavior and any additional connections are omitted.

Main entry points: [`src/layouts/Desktop.tsx`](https://github.com/anisha-2905/anishaos/blob/main/src/layouts/Desktop.tsx) (Desktop Layout), [`src/windows/WindowLayer.tsx`](https://github.com/anisha-2905/anishaos/blob/main/src/windows/WindowLayer.tsx) (Window Layer), [`src/App.tsx`](https://github.com/anisha-2905/anishaos/blob/main/src/App.tsx) (App Shell), [`src/context/WindowManagerContext.tsx`](https://github.com/anisha-2905/anishaos/blob/main/src/context/WindowManagerContext.tsx) (Window Manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App Entry"]
  node_app["App Shell<br/>[App.tsx]"]
  node_boot["Boot Screen<br/>[BootScreen.tsx]"]
end

subgraph group_desktop["Desktop Interface"]
  node_desktop["Desktop Layout<br/>[Desktop.tsx]"]
  node_wallpaper["Wallpaper<br/>[Wallpaper.tsx]"]
  node_starfield["Interactive Starfield"]
  node_icons["Desktop Icons<br/>[DesktopIcon.tsx]"]
  node_iconconfig["Icon Configuration<br/>[desktopIcons.ts]"]
  node_taskbar["Taskbar<br/>[Taskbar.tsx]"]
  node_taskbarlinks["Profile Links<br/>[taskbarLinks.ts]"]
end

subgraph group_windows["Window Management"]
  node_manager["Window Manager"]
  node_contextvalue["Manager Context"]
  node_windowhook["Window Hook"]
  node_layer["Window Layer<br/>[WindowLayer.tsx]"]
  node_windowframe["Window Frame<br/>[Window.tsx]"]
end

subgraph group_content["Portfolio Content"]
  node_about["About Window<br/>[AboutMeWindow.tsx]"]
  node_education["Education Window"]
  node_projects["Projects Window<br/>[ProjectsWindow.tsx]"]
  node_projectdata["Project Data<br/>[projects.ts]"]
  node_skills["Skills Window<br/>[SkillsWindow.tsx]"]
  node_skilldata["Skills Data<br/>[skills.ts]"]
  node_mission["Mission Window<br/>[MissionWindow.tsx]"]
  node_missiondata["Mission Data<br/>[missions.ts]"]
  node_constellation["Constellation Window"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"shows"| node_boot
node_app -->|"renders"| node_desktop
node_app -->|"provides context"| node_manager
node_desktop -->|"renders"| node_wallpaper
node_desktop -->|"renders"| node_starfield
node_desktop -->|"renders"| node_icons
node_desktop -->|"reads"| node_iconconfig
node_desktop -->|"renders"| node_taskbar
node_desktop -->|"renders"| node_layer
node_desktop -->|"uses"| node_windowhook
node_desktop -->|"opens windows"| node_manager
node_taskbar -->|"reads"| node_taskbarlinks
node_manager -->|"provides"| node_contextvalue
node_windowhook -->|"reads"| node_contextvalue
node_layer -->|"uses"| node_windowhook
node_layer -->|"renders"| node_windowframe
node_layer -->|"renders"| node_about
node_layer -->|"renders"| node_education
node_layer -->|"renders"| node_projects
node_layer -->|"renders"| node_skills
node_layer -->|"renders"| node_mission
node_layer -->|"renders"| node_constellation
node_projects -->|"reads"| node_projectdata
node_skills -->|"reads"| node_skilldata
node_mission -->|"reads"| node_missiondata

click node_app "https://github.com/anisha-2905/anishaos/blob/main/src/App.tsx"
click node_boot "https://github.com/anisha-2905/anishaos/blob/main/src/components/BootScreen.tsx"
click node_desktop "https://github.com/anisha-2905/anishaos/blob/main/src/layouts/Desktop.tsx"
click node_wallpaper "https://github.com/anisha-2905/anishaos/blob/main/src/components/Wallpaper.tsx"
click node_starfield "https://github.com/anisha-2905/anishaos/blob/main/src/components/InteractiveStarfield.tsx"
click node_icons "https://github.com/anisha-2905/anishaos/blob/main/src/components/DesktopIcon.tsx"
click node_iconconfig "https://github.com/anisha-2905/anishaos/blob/main/src/data/desktopIcons.ts"
click node_taskbar "https://github.com/anisha-2905/anishaos/blob/main/src/components/Taskbar.tsx"
click node_taskbarlinks "https://github.com/anisha-2905/anishaos/blob/main/src/data/taskbarLinks.ts"
click node_manager "https://github.com/anisha-2905/anishaos/blob/main/src/context/WindowManagerContext.tsx"
click node_contextvalue "https://github.com/anisha-2905/anishaos/blob/main/src/context/windowManagerContextValue.ts"
click node_windowhook "https://github.com/anisha-2905/anishaos/blob/main/src/hooks/useWindowManager.ts"
click node_layer "https://github.com/anisha-2905/anishaos/blob/main/src/windows/WindowLayer.tsx"
click node_windowframe "https://github.com/anisha-2905/anishaos/blob/main/src/components/Window.tsx"
click node_about "https://github.com/anisha-2905/anishaos/blob/main/src/windows/AboutMeWindow.tsx"
click node_education "https://github.com/anisha-2905/anishaos/blob/main/src/windows/EducationWindow.tsx"
click node_projects "https://github.com/anisha-2905/anishaos/blob/main/src/windows/ProjectsWindow.tsx"
click node_projectdata "https://github.com/anisha-2905/anishaos/blob/main/src/data/projects.ts"
click node_skills "https://github.com/anisha-2905/anishaos/blob/main/src/windows/SkillsWindow.tsx"
click node_skilldata "https://github.com/anisha-2905/anishaos/blob/main/src/data/skills.ts"
click node_mission "https://github.com/anisha-2905/anishaos/blob/main/src/windows/MissionWindow.tsx"
click node_missiondata "https://github.com/anisha-2905/anishaos/blob/main/src/data/missions.ts"
click node_constellation "https://github.com/anisha-2905/anishaos/blob/main/src/windows/ConstellationWindow.tsx"

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_app,node_boot toneBlue
class node_desktop,node_wallpaper,node_starfield,node_icons,node_iconconfig,node_taskbar,node_taskbarlinks toneAmber
class node_manager,node_contextvalue,node_windowhook,node_layer,node_windowframe toneMint
class node_about,node_education,node_projects,node_projectdata,node_skills,node_skilldata,node_mission,node_missiondata,node_constellation toneRose
class node_visitor toneIndigo
```

## Components

### App Entry

- [App Shell](https://github.com/anisha-2905/anishaos/blob/main/src/App.tsx): `src/App.tsx`
- [Boot Screen](https://github.com/anisha-2905/anishaos/blob/main/src/components/BootScreen.tsx): `src/components/BootScreen.tsx`

### Desktop Interface

- [Desktop Layout](https://github.com/anisha-2905/anishaos/blob/main/src/layouts/Desktop.tsx): `src/layouts/Desktop.tsx`
- [Wallpaper](https://github.com/anisha-2905/anishaos/blob/main/src/components/Wallpaper.tsx): `src/components/Wallpaper.tsx`
- [Interactive Starfield](https://github.com/anisha-2905/anishaos/blob/main/src/components/InteractiveStarfield.tsx): `src/components/InteractiveStarfield.tsx`
- [Desktop Icons](https://github.com/anisha-2905/anishaos/blob/main/src/components/DesktopIcon.tsx): `src/components/DesktopIcon.tsx`
- [Icon Configuration](https://github.com/anisha-2905/anishaos/blob/main/src/data/desktopIcons.ts): `src/data/desktopIcons.ts`
- [Taskbar](https://github.com/anisha-2905/anishaos/blob/main/src/components/Taskbar.tsx): `src/components/Taskbar.tsx`
- [Profile Links](https://github.com/anisha-2905/anishaos/blob/main/src/data/taskbarLinks.ts): `src/data/taskbarLinks.ts`

### Window Management

- [Window Manager](https://github.com/anisha-2905/anishaos/blob/main/src/context/WindowManagerContext.tsx): `src/context/WindowManagerContext.tsx`
- [Manager Context](https://github.com/anisha-2905/anishaos/blob/main/src/context/windowManagerContextValue.ts): `src/context/windowManagerContextValue.ts`
- [Window Hook](https://github.com/anisha-2905/anishaos/blob/main/src/hooks/useWindowManager.ts): `src/hooks/useWindowManager.ts`
- [Window Layer](https://github.com/anisha-2905/anishaos/blob/main/src/windows/WindowLayer.tsx): `src/windows/WindowLayer.tsx`
- [Window Frame](https://github.com/anisha-2905/anishaos/blob/main/src/components/Window.tsx): `src/components/Window.tsx`

### Portfolio Content

- [About Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/AboutMeWindow.tsx): `src/windows/AboutMeWindow.tsx`
- [Education Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/EducationWindow.tsx): `src/windows/EducationWindow.tsx`
- [Projects Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/ProjectsWindow.tsx): `src/windows/ProjectsWindow.tsx`
- [Project Data](https://github.com/anisha-2905/anishaos/blob/main/src/data/projects.ts): `src/data/projects.ts`
- [Skills Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/SkillsWindow.tsx): `src/windows/SkillsWindow.tsx`
- [Skills Data](https://github.com/anisha-2905/anishaos/blob/main/src/data/skills.ts): `src/data/skills.ts`
- [Mission Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/MissionWindow.tsx): `src/windows/MissionWindow.tsx`
- [Mission Data](https://github.com/anisha-2905/anishaos/blob/main/src/data/missions.ts): `src/data/missions.ts`
- [Constellation Window](https://github.com/anisha-2905/anishaos/blob/main/src/windows/ConstellationWindow.tsx): `src/windows/ConstellationWindow.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → App Shell: opens
- App Shell → Boot Screen: shows (evidence: `src/App.tsx`)
- App Shell → Desktop Layout: renders (evidence: `src/App.tsx`)
- App Shell → Window Manager: provides context (evidence: `src/App.tsx`)
- Desktop Layout → Wallpaper: renders (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Interactive Starfield: renders (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Desktop Icons: renders (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Icon Configuration: reads (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Taskbar: renders (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Window Layer: renders (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Window Hook: uses (evidence: `src/layouts/Desktop.tsx`)
- Desktop Layout → Window Manager: opens windows (evidence: `src/layouts/Desktop.tsx`)
- Taskbar → Profile Links: reads (evidence: `src/components/Taskbar.tsx`)
- Window Manager → Manager Context: provides (evidence: `src/context/WindowManagerContext.tsx`)
- Window Hook → Manager Context: reads (evidence: `src/hooks/useWindowManager.ts`)
- Window Layer → Window Hook: uses (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Window Frame: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → About Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Education Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Projects Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Skills Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Mission Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Window Layer → Constellation Window: renders (evidence: `src/windows/WindowLayer.tsx`)
- Projects Window → Project Data: reads (evidence: `src/windows/ProjectsWindow.tsx`)
- Skills Window → Skills Data: reads (evidence: `src/windows/SkillsWindow.tsx`)
- Mission Window → Mission Data: reads (evidence: `src/windows/MissionWindow.tsx`)
