{"id":15150822,"url":"https://github.com/vmysak/modern-cv-typst","last_synced_at":"2026-01-20T04:31:57.917Z","repository":{"id":257182889,"uuid":"857533235","full_name":"vmysak/modern-cv-typst","owner":"vmysak","description":"Generate beautiful CV in minutes. Written in typst, inspired by LaTeX 'moderncv' package","archived":false,"fork":false,"pushed_at":"2024-09-15T00:35:23.000Z","size":1749,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T12:24:19.934Z","etag":null,"topics":["beautiful","builder","cv","docker","generator","latex","modern","moderncv","template","templates","typst"],"latest_commit_sha":null,"homepage":"","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmysak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T22:33:39.000Z","updated_at":"2024-09-15T00:35:26.000Z","dependencies_parsed_at":"2024-09-15T07:09:28.714Z","dependency_job_id":"4221ae2a-23a7-4fb7-8bd8-0809fec55b37","html_url":"https://github.com/vmysak/modern-cv-typst","commit_stats":null,"previous_names":["vmysak/modern-cv-typst"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmysak%2Fmodern-cv-typst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmysak%2Fmodern-cv-typst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmysak%2Fmodern-cv-typst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmysak%2Fmodern-cv-typst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmysak","download_url":"https://codeload.github.com/vmysak/modern-cv-typst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623006,"owners_count":20968574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautiful","builder","cv","docker","generator","latex","modern","moderncv","template","templates","typst"],"created_at":"2024-09-26T14:43:05.368Z","updated_at":"2026-01-20T04:31:57.912Z","avatar_url":"https://github.com/vmysak.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# modern-cv-typst\n\n### Template Description\n\n- Generate beautiful CV in minutes\n- Written in typst, inspired by LaTeX 'moderncv' package\n- Easy to modify, seconds to build\n- Color theme and visual style customization\n\n### Template Structure\n- ```/src/definitions``` - template itself\n- ```/src/resources``` - images, fonts, etc\n\n### CV Structure\n- ```/src/my-config.typ``` - configuration file\n- ```/src/my-cv.typ``` - CV body file\n- ```/target/*.pdf``` - CV pdf file\n\n### Samples\n\u003cimg src=\"https://github.com/user-attachments/assets/b69cd33d-0fd4-4f67-a771-a19b70619439\" width=\"30%\"\u003e\u003c/img\u003e \u003cimg src=\"https://github.com/user-attachments/assets/19f5f0cd-63f9-42b9-b187-348772b162a5\" width=\"30%\"\u003e\u003c/img\u003e \u003cimg src=\"https://github.com/user-attachments/assets/af15dc3e-4dba-4eac-854d-37aa89fc1310\" width=\"30%\"\u003e\u003c/img\u003e \n\n## Usage\n\n### Docker Build\n\n- Build Image\n  \n    ```bash\n    docker build -t cv-builder .\n    ```\n    (!) First build may take some time because of cargo indexing\n\n- #### Build CV\n  \n    ```\n    docker run -it --rm \\\n    -v ./src:/opt/cv/src -v ./target:/opt/cv/target \\\n    -e CV_NAME=CV_John_Doe \\\n    cv-builder\n    ```\n\n### IDE (Optional)\n\n- Install ```rust``` version manager:\n    \n    ```bash\n    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n    rustup-init\n    ```\n    (!) Remove existing rust system installations if any;\n\n- Install ```typst```: \n\n    ```bash\n    cargo install typst-cli\n    cargo install typstyle\n    ```\n\n- Install VSCode Plugins\n    ```\n    Tinymist Typst\n    PDF Preview\n    ```\n- Configure VSCode Typst plugin:\n\n  1. Set typstyle as formatter\n  2. Disable on-save PDF builds \n\n- #### Hot reload builds:\n  \n    ```bash\n    export TYPST_CV_NAME=\"CV_John_Doe\" \\\n    typst watch \\\n       ./src/my-cv.typ \\\n    ./target/$TYPST_CV_NAME.pdf\n    ```\n\n- #### PDF to JPEG\n    ```bash\n    pdftoppm -jpeg -r 300 ./target/CV_John_Doe_1.pdf ./target CV_John_Doe_1\n    ```\n\n## Troubleshooting\n\n### Fonts\n\n- When changing fonts and font sizes, try to adjust ```*-padding``` variables in the configuration for better results \n\n- If [local build](#hot-reload-builds): fonts are taken from your host OS. Run following command to see fonts installed\n    ```\n    typst fonts\n    ```\n- If [docker build](#docker-build): fonts are taken from the Docker container. Run following command to see fonts installed inside the container\n    ```\n    docker run -it --rm --entrypoint \"typst\" cv-builder fonts\n    ```\n\n# Links\n- [Typst Docs](https://typst.app/docs/reference/foundations/)\n- [Typst Package Repository](https://typst.app/universe/)\n- [Some hacks](https://sitandr.github.io/typst-examples-book/book/typstonomicon)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmysak%2Fmodern-cv-typst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmysak%2Fmodern-cv-typst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmysak%2Fmodern-cv-typst/lists"}