# kaushikghorai/kaushikghorai architecture

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

- Interactive diagram: https://gitdiagram.com/kaushikghorai/kaushikghorai
- Repository: https://github.com/kaushikghorai/kaushikghorai

## Overview

This repository is a personal profile site: visitors browse the author’s background, skills, activities, and contact links. The README documents those profile sections and external stats/social links; the sampled JavaScript implements browser interactions such as navigation highlighting, theme persistence, and copying an email address. The three sampled scripts appear equivalent, but the available evidence does not establish which page loads them. Other page and style files are present in the tree but were not sampled.

Main entry points: [`script.js`](https://github.com/kaushikghorai/kaushikghorai/blob/main/script.js) (Page interactions), [`script/script.js`](https://github.com/kaushikghorai/kaushikghorai/blob/main/script/script.js) (Page interactions), [`styles/script.js`](https://github.com/kaushikghorai/kaushikghorai/blob/main/styles/script.js) (Page interactions), [`index.html`](https://github.com/kaushikghorai/kaushikghorai/blob/main/index.html) (Profile page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_profile["Profile content"]
  node_profile_content["Profile sections<br/>[README.md]"]
  node_site_page["Profile page<br/>[index.html]"]
end

subgraph group_interaction["Browser interactions"]
  node_main_script["Page interactions<br/>[script.js]"]
  node_script_dir["Page interactions<br/>[script.js]"]
  node_styles_script["Page interactions<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_browser["Browser APIs"]
node_local_storage[("Theme storage")]

node_visitor -->|"views"| node_site_page
node_site_page -->|"presents"| node_profile_content
node_main_script -->|"uses DOM and clipboard"| node_browser
node_main_script -->|"reads and writes theme"| node_local_storage
node_script_dir -->|"uses DOM and clipboard"| node_browser
node_script_dir -->|"reads and writes theme"| node_local_storage
node_styles_script -->|"uses DOM and clipboard"| node_browser
node_styles_script -->|"reads and writes theme"| node_local_storage

click node_profile_content "https://github.com/kaushikghorai/kaushikghorai/blob/main/README.md"
click node_site_page "https://github.com/kaushikghorai/kaushikghorai/blob/main/index.html"
click node_main_script "https://github.com/kaushikghorai/kaushikghorai/blob/main/script.js"
click node_script_dir "https://github.com/kaushikghorai/kaushikghorai/blob/main/script/script.js"
click node_styles_script "https://github.com/kaushikghorai/kaushikghorai/blob/main/styles/script.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_profile_content,node_site_page,node_browser toneBlue
class node_main_script,node_script_dir,node_styles_script,node_local_storage toneAmber
class node_visitor toneIndigo
```

## Components

### Profile content

- [Profile sections](https://github.com/kaushikghorai/kaushikghorai/blob/main/README.md): `README.md`
- [Profile page](https://github.com/kaushikghorai/kaushikghorai/blob/main/index.html): `index.html`

### Browser interactions

- [Page interactions](https://github.com/kaushikghorai/kaushikghorai/blob/main/script.js): `script.js`
- [Page interactions](https://github.com/kaushikghorai/kaushikghorai/blob/main/script/script.js): `script/script.js`
- [Page interactions](https://github.com/kaushikghorai/kaushikghorai/blob/main/styles/script.js): `styles/script.js`

### Other components

- **Visitor**
- **Browser APIs**
- **Theme storage**

## Connections

- Visitor → Profile page: views (evidence: `README.md`)
- Profile page → Profile sections: presents (evidence: `README.md`)
- Page interactions → Browser APIs: uses DOM and clipboard (evidence: `script.js`)
- Page interactions → Theme storage: reads and writes theme (evidence: `script.js`)
- Page interactions → Browser APIs: uses DOM and clipboard (evidence: `script/script.js`)
- Page interactions → Theme storage: reads and writes theme (evidence: `script/script.js`)
- Page interactions → Browser APIs: uses DOM and clipboard (evidence: `styles/script.js`)
- Page interactions → Theme storage: reads and writes theme (evidence: `styles/script.js`)
