# thedevhublab/resume architecture

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

- Interactive diagram: https://gitdiagram.com/thedevhublab/resume
- Repository: https://github.com/thedevhublab/resume

## Overview

This is a browser-based resume builder. Users enter resume details, customize language and template, review a live A4 preview, then save or export the result. Its main runtime is concentrated in script.js; the README documents additional capabilities whose implementation details were not included in the source excerpt. Edges for those capabilities cite the README, so their internal call structure is not asserted.

Main entry points: [`script.js`](https://github.com/thedevhublab/resume/blob/main/script.js) (Resume editor), [`index.html`](https://github.com/thedevhublab/resume/blob/main/index.html) (Builder page), [`style_resume_builder_layout.css`](https://github.com/thedevhublab/resume/blob/main/style_resume_builder_layout.css) (Resume layout), [`style.css`](https://github.com/thedevhublab/resume/blob/main/style.css) (App styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_editing["Resume editing"]
  node_editor["Resume editor<br/>[script.js]"]
  node_resume_state["Resume state<br/>[script.js]"]
  node_dynamic_entries["Dynamic entries<br/>[script.js]"]
  node_avatar["Profile image<br/>[script.js]"]
end

subgraph group_presentation["Preview and appearance"]
  node_language["English and Korean<br/>[script.js]"]
  node_templates["Resume templates<br/>[script.js]"]
  node_preview["Live preview<br/>[script.js]"]
  node_layout_css["Resume layout"]
  node_app_css["App styling<br/>[style.css]"]
end

subgraph group_persistence["Data and backup"]
  node_local_storage[("Browser storage")]
  node_backup["JSON backup<br/>[script.js]"]
end

subgraph group_output["Resume output"]
  node_pdf["PDF export<br/>[script.js]"]
  node_pdf_library["html2pdf.js"]
  node_printing["Print output<br/>[script.js]"]
end

node_user(("Resume creator"))
node_page["Builder page<br/>[index.html]"]

node_user -->|"opens"| node_page
node_page -->|"uses"| node_editor
node_user -->|"enters details"| node_editor
node_editor -->|"updates"| node_resume_state
node_editor -->|"manages"| node_dynamic_entries
node_editor -->|"uploads"| node_avatar
node_editor -->|"selects"| node_language
node_editor -->|"selects"| node_templates
node_editor -->|"renders"| node_preview
node_preview -->|"uses layout"| node_layout_css
node_page -->|"uses styling"| node_app_css
node_editor -->|"saves and loads"| node_local_storage
node_editor -->|"imports and exports"| node_backup
node_editor -->|"exports"| node_pdf
node_pdf -.->|"uses"| node_pdf_library
node_editor -->|"prints"| node_printing

click node_page "https://github.com/thedevhublab/resume/blob/main/index.html"
click node_editor "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_resume_state "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_dynamic_entries "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_avatar "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_backup "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_language "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_templates "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_preview "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_layout_css "https://github.com/thedevhublab/resume/blob/main/style_resume_builder_layout.css"
click node_app_css "https://github.com/thedevhublab/resume/blob/main/style.css"
click node_pdf "https://github.com/thedevhublab/resume/blob/main/script.js"
click node_printing "https://github.com/thedevhublab/resume/blob/main/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_editor,node_resume_state,node_dynamic_entries,node_avatar toneBlue
class node_language,node_templates,node_preview,node_layout_css,node_app_css toneAmber
class node_local_storage,node_backup toneMint
class node_pdf,node_pdf_library,node_printing toneRose
class node_user toneIndigo
class node_page toneTeal
```

## Components

### Resume editing

- [Resume editor](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Resume state](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Dynamic entries](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Profile image](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`

### Preview and appearance

- [English and Korean](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Resume templates](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Live preview](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- [Resume layout](https://github.com/thedevhublab/resume/blob/main/style_resume_builder_layout.css): `style_resume_builder_layout.css`
- [App styling](https://github.com/thedevhublab/resume/blob/main/style.css): `style.css`

### Data and backup

- **Browser storage**
- [JSON backup](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`

### Resume output

- [PDF export](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`
- **html2pdf.js**
- [Print output](https://github.com/thedevhublab/resume/blob/main/script.js): `script.js`

### Other components

- **Resume creator**
- [Builder page](https://github.com/thedevhublab/resume/blob/main/index.html): `index.html`

## Connections

- Resume creator → Builder page: opens (evidence: `README.md`)
- Builder page → Resume editor: uses (evidence: `README.md`)
- Resume creator → Resume editor: enters details (evidence: `README.md`)
- Resume editor → Resume state: updates (evidence: `script.js`)
- Resume editor → Dynamic entries: manages (evidence: `README.md`)
- Resume editor → Profile image: uploads (evidence: `README.md`)
- Resume editor → English and Korean: selects (evidence: `README.md`)
- Resume editor → Resume templates: selects (evidence: `README.md`)
- Resume editor → Live preview: renders (evidence: `script.js`)
- Live preview → Resume layout: uses layout (evidence: `README.md`)
- Builder page → App styling: uses styling (evidence: `README.md`)
- Resume editor → Browser storage: saves and loads (evidence: `script.js`)
- Resume editor → JSON backup: imports and exports (evidence: `README.md`)
- Resume editor → PDF export: exports (evidence: `README.md`)
- PDF export → html2pdf.js: uses (evidence: `README.md`)
- Resume editor → Print output: prints (evidence: `README.md`)
