{"id":22958146,"url":"https://github.com/gkevinb/cv","last_synced_at":"2025-04-02T01:52:10.107Z","repository":{"id":44008791,"uuid":"235458340","full_name":"gkevinb/cv","owner":"gkevinb","description":"Coding my CV","archived":false,"fork":false,"pushed_at":"2022-12-05T05:25:54.000Z","size":4440,"stargazers_count":0,"open_issues_count":20,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T16:48:26.724Z","etag":null,"topics":["cv","cv-builder","pdf-generation","pug"],"latest_commit_sha":null,"homepage":"https://gaborkevinbarta.com/cv/","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkevinb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-21T23:01:09.000Z","updated_at":"2021-02-05T22:43:31.000Z","dependencies_parsed_at":"2023-01-23T21:47:50.091Z","dependency_job_id":null,"html_url":"https://github.com/gkevinb/cv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkevinb%2Fcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkevinb%2Fcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkevinb%2Fcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkevinb%2Fcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkevinb","download_url":"https://codeload.github.com/gkevinb/cv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741186,"owners_count":20826063,"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":["cv","cv-builder","pdf-generation","pug"],"created_at":"2024-12-14T17:36:41.237Z","updated_at":"2025-04-02T01:52:10.084Z","avatar_url":"https://github.com/gkevinb.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CV\n\nCreating my CV using HTML, CSS, and JS\n\n\n## Structure\n\n`src/pages` : Source code for presentable version to go on Github Pages\n\n`src/pdf` : Source code for pdf exportable version\n\n`assets` : Source code for CV and other assets\n\n## Commands\n\nDeploy development server for presentable version\n```\nnpm run serve-pages\n```\nDeploy development server for pdf exportable version\n```\nnpm run serve-pdf\n```\nBuild presentable version for Github Pages\n```\nnpm run build\n```\nExport pdf\n```\nnpm run pdf-puppeteer\n```\n\n\n## Instructions\n\nRun `npm run serve-pdf` command to start up localhost, then run `npm run pdf` to take snapshot of the localhost and convert it into a pdf file. The pdf file is called `example.pdf` and exported to the `export` directory.\n\n## Converting to PDF \n\nUse puppeteer command\n\n## Converting to PDF (Old way)\n\nExporting my CV to a PDF using the following `wkhtmltopdf` command.\nhttps://wkhtmltopdf.org/\n\nPDF retains links same as in HTML.\n\n```\nwkhtmltopdf https://gaborkevinbarta.com/blog gabor.pdf\n```\n\nNote command can only be used on sites that are fully static, created using a static site generator. If there is anything dynaminc like `Vue.js` then the site won't be exported correctly.\n\nhttps://wkhtmltopdf.org/usage/wkhtmltopdf.txt\n\n### Old commands\n\n```\n    \"pdf-margin\": \"wkhtmltopdf http://localhost:3000/ export/margin.pdf\",\n    \"pdf\": \"wkhtmltopdf -T 0 -B 0 -L 0 -R 0 --javascript-delay 1000 http://localhost:3000/ export/example.pdf \u0026\u0026 open export/example.pdf\",\n    \"pdf-gabor\": \"wkhtmltopdf -T 0 -B 0 -L 0 -R 0 --javascript-delay 1000 http://localhost:3000/ export/GaborKevinBartaCV.pdf \u0026\u0026 open export/GaborKevinBartaCV.pdf\",\n```\n\n## Pug\n\n```\npug -w ./src -o ./dist -P             \n```\n-w : watch\n-o : output\n-P : pretty\n\n## Inject data into Pug using Gulp\n\nhttps://tusharghate.com/rendering-pug-templates-with-multiple-data-files\n\n## Things to look out for\n\n- CSS Grid and Flex does not work when exporting to PDF, seems like only classic CSS methods of positioning work\n- Careful using `overflow: auto; /* Collapsing Margins */` might render 'ghosting' margin\n\nhttps://stackoverflow.com/questions/42770774/wkhtmltopdf-same-configuration-different-output\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkevinb%2Fcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkevinb%2Fcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkevinb%2Fcv/lists"}