Wiki › Component

CV builder (chaipat.cc)

Article
From Chaipat's knowledge graph

The CV builder, scripts/build-cv.mjs, writes his one-page CV from the knowledge graph on Node.js at every deploy, so the CV and the site can never disagree. It takes his roles with their highlights, his studies, key work in the order he chose, the skills he lists, his languages and interests.

A GitHub Actions job then prints it to PDF with Playwright and a headless Chromium, shrinking the type until it fits one page, and commits the file whenever the graph changes. The result is served at /cv and as /cv.pdf.