aboutsummaryrefslogtreecommitdiff

JSON Resume

My CV in JSON format based on https://jsonresume.org/.

Preview of resume online

Where does it end up?

  1. On [cv.alifeee.co.uk]
  2. On the json-resume registry (via the gist)
  3. PDF on the releases page or website

Changing the theme

A list of themes can be found at https://jsonresume.org/themes/. A lot of these are broken. Some themes that look nice, and work well on mobile are:

Theme Works locally Works on registry
Even ✅ ❌
Kendall ✅ ✅
Paper ✅ ❌
Eloquent ✅ ❌
Elegant ❌² ✅
OnePage ❌² ✅

² - not installed locally as very outdated and full of npm vulnerabilities

Changing theme remotely

The easiest way to experiment with themes is to update the resume gist (push to main) and visit the JSON resume registry. The theme can be changed via the theme query parameter, e.g.:

https://registry.jsonresume.org/alifeee?theme=even

Changing theme locally

Alternatively, the theme can be changed locally - see development.

Development

Prerequisites

Requirement Version
Node 19.8.1
npm 9.5.1

Install dependencies

npm install

Validate JSON

npm run test

Build HTML

npm run build-html

Build HTML with theme "even"

npm install jsonresume-theme-even
npm run build-html -- even

Run with watch

npm run dev

Open resume.html using the VSCode Live Server extension.

Context menu for live server in VSCode

Build PDF

npm run build-pdf

GitHub Actions

See the files themselves for more details.

Action Description
[test.yml] Runs on pull request and push to main. Verifies that the resume.json conforms to the json-resume schema
[publish.yml] Runs on release (or tag). Builds the HTML and PDF, then pushes to: releases page; and publish branch (viewable on my GitHub pages).
[update-gist.yml] Runs on release (or tag). Updates the resume gist if resume.json has changed.