This is a template based cv generator made with rust, comrak, wkhtmltopdf. It converts a json file to a pdf version
- Nodes: intro, description, rightImage, techStack, space, extra (html), social
- Rest API to generate CV
- JSON to pdf
Expose as Rest APIMore than 1 pdf output- Graphic interface
- More Nodes
Configure in the .env file the port and the host
- docker build -t web:latest .
- docker run -d --name cv-gen -e "PORT=8765" -p 8081:8765 web:latest
http://localhost:8081/generate_cv
[
{
"type": "config",
"data": {
"title": "Hector CV",
"theme": "default"
}
},
{
"type": "intro",
"data": "Hello, Hector Pulido is Here! π"
},
{
"type": "description",
"data": "`Third Clarke law; Any suffici..."
},
{
"type": "rightImage",
"data": {
"image": "https://github.com/HectorPulido/HectorPulido/raw/master/img/pequesoft.png",
"link": "https://twitter.com/Hector_Pulido_"
}
},
{
"type": "techStack",
"data": {
"title": "Tech Stack β¨",
"tech": [
"Python and Flask, Django β",
...
"ASM for Pics"
]
}
},
{
"type": "space",
"data": {}
},
{
"type": "extra",
"data": "<p align=\"center\">\n<a href=\"#user-30538313-pinned-items-reorder-form\">\n<img align=\"center\" src=\"https://github-readme-stats.vercel.app/api?username=HectorPulido&bg_color=30,e96443,904e95&title_color=fff&text_color=fff\" alt=\"Hector's Github Stats\"/>\n</a>\n</p>"
},
{
"type": "social",
"data": {
"title": "@<div align=\"center\">\n<h3 align=\"center\">Let's connect π</h3>\n</div>",
"social": [
{
"alt": "Hector's LinkedIn",
"url": "https://www.linkedin.com/in/hector-pulido-17547369/",
"image": "https://www.vectorlogo.zone/logos/linkedin/linkedin-icon.svg"
},
...
]
}
}
]