A professional CV builder with live LaTeX preview and PDF export.
Built with Next.js 14, TypeScript, Tailwind CSS.
npm install
Ubuntu / Debian:
sudo apt-get install texlive-full
macOS:
brew install --cask mactex
Windows: Install MiKTeX or TeX Live
The
texlive-fullpackage includesnewtxtext,enumitem,titlesec, and all other packages your template needs.
A lighter alternative:texlive-latex-extra texlive-fonts-recommended— buttexlive-fullis safest.
npm run dev
pdflatexsrc/
├── app/
│ ├── api/compile/route.ts # LaTeX → PDF API endpoint
│ ├── globals.css # Global styles
│ ├── layout.tsx
│ └── page.tsx # Main builder UI
├── components/
│ ├── PersonalSection.tsx
│ ├── EducationSection.tsx
│ ├── ExperienceSection.tsx
│ ├── ProjectsSection.tsx
│ ├── SkillsSection.tsx
│ └── PDFPreview.tsx
└── lib/
├── types.ts # TypeScript types
├── latex.ts # LaTeX generation utility
└── defaults.ts # Default form data
The LaTeX class (sample.cls) is embedded in src/app/api/compile/route.ts.
To update the template, edit the CLS_CONTENT constant in that file.
npm run build
npm start