# CV generator with automated A4 PDF

> Generator που από ένα αρχείο περιεχομένου βγάζει online CV, σελίδα εκτύπωσης σε πραγματικό A4 και κατεβαζόμενο PDF.

- Canonical HTML: https://www.digiminds.gr/work/cv-generator-a4-pdf
- Markdown representation: https://www.digiminds.gr/ai/el/work/cv-generator-a4-pdf.md
- Language: el-GR
- Alternate language HTML: https://www.digiminds.gr/en/work/cv-generator-a4-pdf
- Alternate language Markdown: https://www.digiminds.gr/ai/en/work/cv-generator-a4-pdf.md
- Έτος project: 2022
- Live project: https://geofeid.github.io/Online_CV/

## Επισκόπηση

One content source builds the online CV, a true-A4 print page and the downloadable PDF, so the PDF cannot go stale.

## Το πρόβλημα

Keeping an online CV and a PDF in sync by hand fails quietly: the page gets edited, the PDF does not, and the version people receive stops matching the one on the web.

## Στόχος

Generate every output from one content source, and make the printed page a real A4 document rather than a browser page squeezed onto paper.

## Ρόλος

Sole author: the content model and its validation, the SCSS and print stylesheet, the Node build, the tests and the CI pipeline.

## Η λύση

- Content lives in plain key/value files and is validated against per-field length limits, failing the build when copy would break the layout.
- Print stylesheet renders real 210mm A4 rather than relying on the browser's shrink-to-fit.
- The PDF is generated by headless Chrome during the build and published with the site.

## Στοιχεία

- **team:** Solo
- **status:** Live and maintained

## Τεχνολογίες

- Node.js
- SCSS
- Headless Chrome
- node:test
- GitHub Actions

## Source notes

This Markdown representation is generated from the same project data used by the DigiMinds case-study page. It does not add performance metrics, client claims, or outcomes that are not present in the project source.
