CV build using latex
- vscode-pdf
- LaTeX Workshop
- Overleaf (online templates)
Run
pdflatex <.tex filename>If you want to bulk generate all the tex files starts with cv or cl
Run simply (already compiled and executable on Mac)
➜ ./generate-pdf
Otherwise compile it with rustc generate-pdf.rs then run ./generate-pdf
Refer the settings
This project uses a Rust Cargo project with the AWS SDK to generate PDFs and push them to S3 buckets. The rust script also does the following:
create_bucket_if_not_exists(&client).await?;
set_bucket_policy(&client).await?;
enable_bucket_versioning(&client).await?;- Creates in the bucket is not exists (in future creating new ones becomes easier)
- Set the bucket policy to allow public to read the assets (CVs)
"Statement": [ {{ "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<bucket_name>/<folder_name>/*" }} ]
- Enables bucket versioning every time CVs are pushed
GitHub Actions and AWS connected using OpenID and using dedicated role That can operate only on main branch of this repo to avoid copying the AWS secrets to GitHub repo or settings.
In addition to pushing the assets to S3, one of GitHub Action will create Pull request with generated PDFs