# adharvkt/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/adharvkt/portfolio
- Repository: https://github.com/adharvkt/portfolio

## Overview

This repository is a static personal portfolio. A visitor views the portfolio; its browser-side script adds navigation, visual interactions, and a Medium-post feed fetched from an external RSS conversion API. The sampled script also contains portfolio enhancements such as counters, scroll tracking, a lightbox, and a command-style interface. Typed.js is a separate typing-animation library; the excerpts do not establish how the page loads or configures it, so no connection is asserted. Evidence is limited to the README and sampled excerpts.

Main entry points: [`js/script.js`](https://github.com/adharvkt/portfolio/blob/main/js/script.js) (Blog feed), [`index.html`](https://github.com/adharvkt/portfolio/blob/main/index.html) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio site"]
  node_portfolio["Portfolio page<br/>[index.html]"]
end

subgraph group_behavior["Browser behavior"]
  node_interactions["Navigation and controls<br/>[script.js]"]
  node_visuals["Visual effects<br/>[script.js]"]
  node_blog["Blog feed<br/>[script.js]"]
end

subgraph group_library["Animation library"]
  node_typed["Typed.js<br/>[typed.js]"]
end

node_visitor(("Visitor"))
node_medium["RSS conversion API"]

node_visitor -->|"views"| node_portfolio
node_blog -->|"fetches posts"| node_medium

click node_portfolio "https://github.com/adharvkt/portfolio/blob/main/index.html"
click node_interactions "https://github.com/adharvkt/portfolio/blob/main/js/script.js"
click node_visuals "https://github.com/adharvkt/portfolio/blob/main/js/script.js"
click node_blog "https://github.com/adharvkt/portfolio/blob/main/js/script.js"
click node_typed "https://github.com/adharvkt/portfolio/blob/main/js/typed.js/typed.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_portfolio toneBlue
class node_interactions,node_visuals,node_blog toneAmber
class node_typed,node_medium toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio site

- [Portfolio page](https://github.com/adharvkt/portfolio/blob/main/index.html): `index.html`

### Browser behavior

- [Navigation and controls](https://github.com/adharvkt/portfolio/blob/main/js/script.js): `js/script.js`
- [Visual effects](https://github.com/adharvkt/portfolio/blob/main/js/script.js): `js/script.js`
- [Blog feed](https://github.com/adharvkt/portfolio/blob/main/js/script.js): `js/script.js`

### Animation library

- [Typed.js](https://github.com/adharvkt/portfolio/blob/main/js/typed.js/typed.js): `js/typed.js/typed.js`

### Other components

- **Visitor**
- **RSS conversion API**

## Connections

- Visitor → Portfolio page: views (evidence: `README.md`)
- Blog feed → RSS conversion API: fetches posts (evidence: `js/script.js`)
