Skip to content

kamilluyt/cv-gen

Repository files navigation

cv-gen

A pipeline for generating Resumes in pdf format.

Profile content is provided through environment variables. See .env.example for the required fields and naming format. Generated files in dist/ embed that profile data, so treat them as sensitive outputs and do not commit or publish them unless that is intentional.

How It Works

  • Build-time profile data is validated and written from .env.
  • Vite builds the HTML output.
  • A post-build step inlines assets so the final HTML is self-contained.
  • Puppeteer renders the final PDF.

Usage

  1. Copy .env.example to .env and fill in your details.
  2. Run npm ci.
  3. Run npm run build to generate the HTML output.
  4. Run npm run pdf to generate the PDF. On success, the command removes dist/index.html so the rendered profile data does not remain on disk.

Reuse

The code and GitHub Actions workflow are available under the MIT license, so you can reuse and adapt them for your own resume pipeline.