Skip to content

josholiv/boring-cv

Repository files navigation

Boring CV

An Astro template for a bare-bones, printable webpage for an academic CV in json format. The idea is to have a single editable file that can be both shared as a webpage and easily printed or exported as a PDF. This template is designed to be "boring" on purpose, to resemble a relatively standard academic CV, with no unnecessary bells and whistles. Just drop your CV data into the json and get a structured CV for web and print.

Boring CV desktop webpage page preview

Boring CV desktop print preview

Features

  • JSON-driven content (cv.json)
  • Pure CSS styling (no frameworks)
  • Customizable sections and format
  • Auto-formatted links for publications/presentations
  • Looks like a piece of paper
  • Responsive design for desktop and mobile viewing
  • "Print" button :)
  • Built using Astro

How It Works

  • Content is stored in /data/cv.json
  • Layout/Rendering is handled by /src/pages/index.astro
  • Styling is defined in /styles/cv.css

The Astro page dynamically maps through your JSON data and renders sections. Some features are mapped conditionally, for example:

  • "Courses" under the Education section and "Duties" under the Research Experience section only appear if defined
  • Publications and Presentations bold your name
  • The “Print” button triggers browser print, but hides itself during printing

Installation

Clone the repo

git clone https://github.com/josholiv/boring-cv.git
cd boring-cv

Install dependencies

npm install

Run the dev server

npm run dev

Customization

Add your CV info in cv.json

Update src/data/cv.json with your CV info (your name, education, publications, etc.)

Change styles in cv.css

Modify src/styles/cv.css to change fonts, layout, colors, etc.

Add or remove sections in cv.json and index.astro

You can add new sections in index.astro by following the existing map patterns. Add sections to cv.json, then add them to the const list in the frontmatter of index.astro. Then, insert the section in the location you'd like it to appear on the CV in the respective location in the main code of index.astro and code it to be formatted however you like.

About

A template for a bare-bones, printable webpage for an academic CV in json format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published