Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Resume to LaTeX Converter

A simple, minimalist web application that converts PDF and DOCX resumes to LaTeX format using Gemini 3 Flash AI model.

Tech Stack

Backend

  • FastAPI: Modern, fast web framework
  • Gemini 3 Flash: AI model for conversion
  • PyPDF2: PDF text extraction
  • python-docx: DOCX text extraction
  • uv: Fast Python package manager

Frontend

  • React + Vite: Modern React development
  • Tailwind CSS: Utility-first CSS framework
  • Lucide Icons: Beautiful, consistent icon library
  • EventSource API: Server-Sent Events for streaming

Setup Instructions

Prerequisites

  • Python 3.12+
  • Node.js 18+
  • Gemini API key (Get one here)
  • uv (Python package manager) - Install with: pip install uv

Backend Setup

  1. Navigate to backend directory

    cd backend
  2. Install dependencies with uv

    uv sync
  3. Set up environment variables

    cp .env.example .env

    Edit .env and add your Gemini API key:

    GEMINI_API_KEY=your_actual_api_key_here
    
  4. Run FastAPI server

    uv run uvicorn main:app --reload --host 0.0.0.0 --port 8000

    The API will be available at http://localhost:8000

Frontend Setup

  1. Navigate to frontend directory

    cd frontend
  2. Install dependencies

    npm install
  3. Run development server

    npm run dev

    The frontend will be available at http://localhost:5173

Usage

  1. Open http://localhost:5173 in your browser
  2. Drag and drop your resume (PDF or DOCX, max 10MB)
  3. Watch the upload progress
  4. View the LaTeX code as it streams in
  5. Click "Copy" to copy the generated LaTeX

Customizing LaTeX Conversion

Edit backend/prompt.md to customize conversion guidelines. You can modify:

  • Document structure preferences
  • Section naming conventions
  • Formatting rules
  • Content preservation guidelines

About

Convert resumes to clean LaTeX format using AI

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages