GithubHelp home page GithubHelp logo

cv.typ-example-repo's Introduction

cv.typ Example Setup

This is an example setup for the cv.typ template in Typst. This repository shows how to use the template to easily create a CV and multiple résumés with easily maintainable content, consistent formatting, and minimal effort. All one has to do is to input the data in the YAML files, and the template will take care of the rest.

The data for each CV/résumé iteration is stored in a separate YAML file, and the template is written in Typst, a modern alternative typestting language to $\LaTeX$.

Installation

Prerequisites

  • Typst is installed and available in the PATH.
    • Windows: Download the .exe binary from the latest release in the releases page or install ut using winget: winget install --id Typst.Typst.
    • macOS: Download it from the latest release in the releases page or install it using Homebrew: brew install typst.
    • Linux: Download it from the latest release in the releases page or install it using Cargo: cargo install --git https://github.com/typst/typst.
    • GitHub Codespace: Typst-LSP extension for syntax highlighting and preview. Install Typst (e.g. using Cargo, Homebrew, or from Typst's releases page) if you want to compile the Typst files via the terminal.
  • Optional:
    • This is for the GitHub Actions workflow for automatically compiling the CV and résumés PDF and uploading them to Cloudflare R2 for easy URL access.
      • GitHub Actions is enabled for the repository.
      • Cloudflare R2 credentials are available in the repository secrets, see the compile.yml file.

Setup

  1. Fork and clone this repository. Initialize the repository if you are not cloning it.
  2. Run make setup to setup the repository.1
  3. And you are done! You can now start editing the Typst and YAML files to create your CV and résumés.
  4. Run make all to have Typst compile all the files to PDF and save them in the docs directory.

Usage

Compiling

Assuming that your file for the cv is cv.typ, to compile the CV use the make cv command in the root of the repository. This will compile the CV and save it in the docs directory.

To compile all the *.typ files in the root of the repository, use the make all command. This will compile all the files to PDF and save them in the docs directory.

GitHub Actions

The repository is setup with a GitHub Actions workflow that automatically compiles the Typst files and uploads them to Cloudflare R2 (S3-compatible storage). The workflow is triggered manually by default, but can be configured to run on every push to the repository.

Footnotes

  1. Run this if the template folder is not there yet. This will initialize the template submodule.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.