4 ms·
Here's my attempt at creating a Resume/CV with HTML/CSS: https://github.com/andyfangdz/resume https://github.com/andyfangdz/resume, or https://cv.andyfang.me ht
by yzmtf2008 9y ago
Here's my attempt at creating a Resume/CV with HTML/CSS: https://github.com/andyfangdz/resume https://github.com/andyfangdz/resume, or https://cv.andyfang.me https://cv.andyfang.me
A few properties:
* There's no separate CV and Resume. A resume is just the highlighted elements in a CV.
* The "PDF" version is created by print-to-pdf in Chrome.
* `cv` and `resume` pages are statically pre-rendered (google-friendly), with a switch (visible on desktop browsers) to toggle between them.
* Elements are represented in JSON objects, so the entire CV's data can be exported to one JSON string. I also only need to edit the JSON files for changing stuff in my resume.
* Each commit to Github triggers a build in Travis CI, which 1) updates the JS bundles, 2) renders the static pages and 3) updates the rendered PDFs.
Story:
Couple years ago I was doing a re-design on my resume. I started with LaTeX, but in the end did not continue: I wanted my resume to look good on both the Web and on paper, and I couldn't find a LaTeX -> HTML renderer that can be properly indexed by Google.
Then I realized, perhaps I've been doing this backwards: instead of rendering HTML from LaTeX, why don't I just use Chrome's print-to-pdf function to create a PDF from HTML directly? I also wanted to learn React.js, so that was my chance.
Now, if I want to change something in my resume/CV, I can just edit the JSON files, and Travis CI takes care of all the updates, instead of me manually updating multiple versions. I use nightmare.js to capture the PDFs and pre-rendered static HTMLs, and the workflow has been greatly simplified.
Want to hide something in the resume and only show it on the CV? Easy, just change `featured` property to `false`. The "Publication" section even recognizes my frequent co-authors, and render their names as links to their homepages. The possibilities are endless. I have been satisfied ever since.
- vista980622 9y agoPretty cool!