# himanshu-kushwaha0/resume-site architecture

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

- Interactive diagram: https://gitdiagram.com/himanshu-kushwaha0/resume-site
- Repository: https://github.com/himanshu-kushwaha0/resume-site

## Overview

This repository provides a résumé in two formats: a browser-printable HTML version and an AltaCV LaTeX version. The HTML print button calls the browser’s print function; the README documents saving that output as PDF. The README also documents compiling the LaTeX source in Overleaf or locally. Source evidence is limited to the print-button script, so other HTML wiring is not inferred.

Main entry points: [`latex/main.tex`](https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/main.tex) (LaTeX résumé), [`script.js`](https://github.com/himanshu-kushwaha0/resume-site/blob/main/script.js) (Print button), [`index.html`](https://github.com/himanshu-kushwaha0/resume-site/blob/main/index.html) (HTML résumé), [`latex/altacv.cls`](https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/altacv.cls) (AltaCV class)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_html["HTML résumé"]
  node_html_resume["HTML résumé<br/>[index.html]"]
  node_print_script["Print button<br/>[script.js]"]
end

subgraph group_latex["LaTeX résumé"]
  node_latex_resume["LaTeX résumé<br/>[main.tex]"]
  node_altacv["AltaCV class<br/>[altacv.cls]"]
end

node_user(("Résumé author"))
node_browser["Chrome / Edge"]
node_pdf["PDF résumé"]
node_latex_tool["Overleaf / XeLaTeX"]

node_user -->|"opens"| node_html_resume
node_browser -->|"renders"| node_html_resume
node_browser -->|"runs"| node_print_script
node_print_script -->|"calls print"| node_browser
node_browser -->|"saves as"| node_pdf
node_user -->|"opens"| node_latex_resume
node_latex_resume -->|"uses class"| node_altacv
node_user -->|"compiles with"| node_latex_tool
node_latex_tool -->|"compiles"| node_latex_resume
node_latex_tool -->|"produces"| node_pdf

click node_html_resume "https://github.com/himanshu-kushwaha0/resume-site/blob/main/index.html"
click node_print_script "https://github.com/himanshu-kushwaha0/resume-site/blob/main/script.js"
click node_latex_resume "https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/main.tex"
click node_altacv "https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/altacv.cls"

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_html_resume,node_print_script toneBlue
class node_latex_resume,node_altacv toneAmber
class node_user,node_browser,node_pdf,node_latex_tool toneIndigo
```

## Components

### HTML résumé

- [HTML résumé](https://github.com/himanshu-kushwaha0/resume-site/blob/main/index.html): `index.html`
- [Print button](https://github.com/himanshu-kushwaha0/resume-site/blob/main/script.js): `script.js`

### LaTeX résumé

- [LaTeX résumé](https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/main.tex): `latex/main.tex`
- [AltaCV class](https://github.com/himanshu-kushwaha0/resume-site/blob/main/latex/altacv.cls): `latex/altacv.cls`

### Other components

- **Résumé author**
- **Chrome / Edge**
- **PDF résumé**
- **Overleaf / XeLaTeX**

## Connections

- Résumé author → HTML résumé: opens
- Chrome / Edge → HTML résumé: renders
- Chrome / Edge → Print button: runs
- Print button → Chrome / Edge: calls print
- Chrome / Edge → PDF résumé: saves as
- Résumé author → LaTeX résumé: opens
- LaTeX résumé → AltaCV class: uses class
- Résumé author → Overleaf / XeLaTeX: compiles with
- Overleaf / XeLaTeX → LaTeX résumé: compiles
- Overleaf / XeLaTeX → PDF résumé: produces
