# CV generator with automated A4 PDF

> A static-site generator that turns one content file into an online CV, a true-A4 print page and a downloadable PDF, so the published PDF can never drift from the site.

- Canonical HTML: https://www.digiminds.gr/en/work/cv-generator-a4-pdf
- Markdown representation: https://www.digiminds.gr/ai/en/work/cv-generator-a4-pdf.md
- Language: en-US
- Alternate language HTML: https://www.digiminds.gr/work/cv-generator-a4-pdf
- Alternate language Markdown: https://www.digiminds.gr/ai/el/work/cv-generator-a4-pdf.md
- Project year: 2022
- Live project: https://geofeid.github.io/Online_CV/

## Overview

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

## The problem

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.

## Goal

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

## Role

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

## The solution

- 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.

## Facts

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

## Technology

- 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.
