Updating one's resume is such a pain in the ass. Long ago, I figured out it would be best to have a YAML file with the important bits with a separate template. Separation of concerns and everything...
Anyhoozle... this mini-project is mainly a way to investigate better ways to create PDFs from the command line. Every company out there likes documents, and thus creating documents is a frequent feature request. If you're the type who's wondering why PDF instead of some other evil format bequested from Satan himself (i.e. Microsoft Word), here's some fun YouTube videos:
- PDF, What is it FOR? - Computerphile
- PDF Workflow - Computerphile
- Typesetters in the '80s - Computerphile
Simply run grunt
to build the latest resume PDF.
How I do it:
npm start $RESUME_YML
- Load
build/resume.html
in your favorite browser - Sort it out
- Paged.js - The newest way of rendering PDFs. I'm especially really happy with how they do content in margin boxes. No other HTML->PDF library that I've found has worked as well and been as flexible as Paged.js.
- Generating PDF from HTML and Node.js and Puppeteer - How the resume used to be generated