TexFolio
AI-Powered LaTeX Resume Builder SaaS
A modern SaaS that combines real LaTeX PDF rendering with LLM intelligence. Features a LangGraph multi-agent resume coach (ATS scoring), LinkedIn PDF import via Llama 3.3, FAANG-ready templates, drag-and-drop editor, Organizations with RBAC (Owner → Admin → Editor → Viewer), BullMQ async PDF generation with progress tracking, distributed Redis rate limiting, Razorpay payments, and GDPR compliance (data export + PII anonymization).
The Problem
Most resume builders generate messy HTML-to-PDF exports that fail ATS parsers. LaTeX produces perfect typography but has a steep learning curve. Existing tools lack AI feedback, team collaboration, and enterprise features like RBAC and GDPR compliance.
The Solution
Created a "No-Code LaTeX" SaaS with a Hono backend that injects user data into .tex templates via Mustache and compiles them using a Dockerized pdflatex environment. Integrated a LangGraph multi-agent pipeline (4 stages: Content, Impact, Format, ATS) for intelligent resume coaching. Added Organizations with full RBAC hierarchy, BullMQ async PDF generation with progress tracking, distributed Redis rate limiting, and GDPR-compliant data export/deletion.
Key Challenges
- 1Building a LangGraph multi-agent pipeline with circuit breaker failover (NVIDIA NIM → Groq) that scores resumes across 4 dimensions and provides actionable feedback.
- 2Implementing Organizations with RBAC — ownership transfer, org-scoped resume visibility, branding overrides (locked templates, company fonts, colors) applied during PDF generation.
- 3Designing BullMQ async PDF generation with progress tracking (10% → 30% → 100%), automatic retries with exponential backoff, and rate-limited worker concurrency.
- 4Sandboxing LaTeX compilation using spawn (not exec) to prevent shell injection while supporting custom templates.
Tech Stack
Frontend
React 19, Vite (Rolldown), TypeScript, Tailwind CSS v4, Zustand, React Query, React Hook Form, dnd-kit, Clerk Auth
Backend
Hono v4 (Node.js), MongoDB (Mongoose), BullMQ + Redis, Razorpay, Brevo (email), Clerk JWT
AI
LangChain + LangGraph (multi-agent), NVIDIA NIM, Google Gemini, Groq (failover chain)
PDF Engine
pdflatex (Docker container), Mustache templating, spawn-based compilation
Infrastructure
npm workspaces monorepo, Docker Compose, Vercel, Render, GitHub Actions CI/CD