Minimal Python CLI that selects relevant resume content via OpenAI and renders a LaTeX PDF.
main.py: Orchestrates selection and renderinggenerate.py: Renders LaTeX and compiles PDFlatex.txt: LaTeX template with placeholdersdata/jobs.json,data/projects.json: Source contentdata/personal.json: Personal info (name, contact, education) used across all resumes
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt- Edit
data/jobs.jsonanddata/projects.jsonto include your roles and projects. IDs must be unique. - Edit
data/personal.jsonwith your name, contact information, and education. This will be used consistently across all generated resumes.
python main.py \
--output resume.pdf \
--input job_description.txt \
--key $OPENAI_API_KEYPersonal info (name, contact, education) is automatically loaded from data/personal.json. You can override with --name, --contact, or --education flags if needed.
The system will use tectonic (if installed) or fall back to pdflatex for PDF generation. If neither is available, a .tex file will be created.
%%NAME%%%%CONTACT_LINE%%%%SKILLS_BLOCKS%%%%EXPERIENCE_BLOCKS%%%%PROJECT_BLOCKS%%%%EDUCATION_BLOCKS%%