A resume generator
起初,我是在hacknical上写简历的,在线预览看着效果不错,很简洁,但是下载的PDF简历有问题,所以就想着自己写个工具。主要思路:用pug
编写简历模版,读取resume.json
里定义的简历数据并渲染进模版,scss
(CSS
预处理器)编写简历样式。生成PDF简历调用了Puppeteer的API。项目参考了张秋怡的部分实现(原仓库已删除)。
Node.js >= 8.9.0
npm install --global gulp-cli
# 安装依赖
npm install
简历数据存储在resume.json
,可自行修改
# 本地预览
gulp dev
# 生成PDF简历
gulp pdf