# orangex4/chinese-resume-in-typst architecture

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

- Interactive diagram: https://gitdiagram.com/orangex4/chinese-resume-in-typst
- Repository: https://github.com/orangex4/chinese-resume-in-typst

## Overview

This repository provides Typst resume authoring templates rather than a software service. The main workflow is editing a resume document, applying its reusable layout, and exporting a PDF; a separate simpler document uses native Typst styling. The README documents the template options and example resume sections. No source excerpts were provided, so relationships below are based on README statements and examples, not inspected implementation details.

Main entry points: [`resume.typ`](https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.typ) (Main resume), [`simple-resume.typ`](https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.typ) (Simple resume), [`template.typ`](https://github.com/orangex4/chinese-resume-in-typst/blob/main/template.typ) (Resume template), [`resume.pdf`](https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.pdf) (Resume PDF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Resume authoring"]
  node_main_doc["Main resume<br/>[resume.typ]"]
  node_resume_content["Resume sections<br/>[resume.typ]"]
  node_simple_doc["Simple resume<br/>[simple-resume.typ]"]
end

subgraph group_layout["Template and styling"]
  node_template["Resume template<br/>[template.typ]"]
  node_photo_layout["Photo and header options<br/>[template.typ]"]
  node_simple_style["Native Typst styling<br/>[simple-resume.typ]"]
end

subgraph group_outputs["PDF outputs"]
  node_main_pdf["Resume PDF<br/>[resume.pdf]"]
  node_simple_pdf["Simple resume PDF<br/>[simple-resume.pdf]"]
end

node_author(("Resume author"))

node_author -->|"edits"| node_main_doc
node_main_doc -->|"uses layout"| node_template
node_main_doc -->|"includes sections"| node_resume_content
node_template -->|"configures"| node_photo_layout
node_main_doc -->|"exports PDF"| node_main_pdf
node_author -->|"edits"| node_simple_doc
node_simple_doc -->|"defines styling"| node_simple_style
node_simple_doc -->|"exports PDF"| node_simple_pdf

click node_main_doc "https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.typ"
click node_resume_content "https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.typ"
click node_template "https://github.com/orangex4/chinese-resume-in-typst/blob/main/template.typ"
click node_photo_layout "https://github.com/orangex4/chinese-resume-in-typst/blob/main/template.typ"
click node_simple_doc "https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.typ"
click node_simple_style "https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.typ"
click node_main_pdf "https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.pdf"
click node_simple_pdf "https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.pdf"

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_main_doc,node_resume_content,node_simple_doc toneBlue
class node_template,node_photo_layout,node_simple_style toneAmber
class node_main_pdf,node_simple_pdf toneMint
class node_author toneIndigo
```

## Components

### Resume authoring

- [Main resume](https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.typ): `resume.typ`
- [Resume sections](https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.typ): `resume.typ`
- [Simple resume](https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.typ): `simple-resume.typ`

### Template and styling

- [Resume template](https://github.com/orangex4/chinese-resume-in-typst/blob/main/template.typ): `template.typ`
- [Photo and header options](https://github.com/orangex4/chinese-resume-in-typst/blob/main/template.typ): `template.typ`
- [Native Typst styling](https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.typ): `simple-resume.typ`

### PDF outputs

- [Resume PDF](https://github.com/orangex4/chinese-resume-in-typst/blob/main/resume.pdf): `resume.pdf`
- [Simple resume PDF](https://github.com/orangex4/chinese-resume-in-typst/blob/main/simple-resume.pdf): `simple-resume.pdf`

### Other components

- **Resume author**

## Connections

- Resume author → Main resume: edits (evidence: `README.md`)
- Main resume → Resume template: uses layout (evidence: `README.md`)
- Main resume → Resume sections: includes sections (evidence: `README.md`)
- Resume template → Photo and header options: configures (evidence: `README.md`)
- Main resume → Resume PDF: exports PDF (evidence: `README.md`)
- Resume author → Simple resume: edits (evidence: `README.md`)
- Simple resume → Native Typst styling: defines styling (evidence: `README.md`)
- Simple resume → Simple resume PDF: exports PDF (evidence: `README.md`)
