This project is an intelligent, user-friendly web application that generates professional resumes (CVs) using AI model Ollama ( DeepSeek). Users can fill out a form with their personal and professional details, and the system automatically produces a clean, formatted resume β which can be previewed live and downloaded in PDF or DOCX format.
- π Real-time preview of the generated resume (HTML)
- π§ AI-generated professional summary and content
- πΈ Upload and embed a profile photo
- π₯ Download resume as PDF or Word (.docx)
- π¬ Prompt templating for high-quality AI responses
- π Full-stack integration with React + Flask + Ollama
cv-generator/ βββ frontend/ β βββ public/ β βββ src/ β βββ App.jsx # React form β βββ main.jsx βββ backend/ β βββ app.py # Flask backend logic β βββ prompt_template.txt # Prompt for the LLM | |ββ preview.html # Template for parsing β βββ cv-template.docx # Word template with placeholders βββ README.md
Layer | Tech Stack |
---|---|
Frontend | React, TailwindCSS, Axios |
Backend | Python, Flask, Flask-CORS |
LLM | Ollama |
Resume Format | HTML (preview) + DOCX |
PDF Export | weasyprint |
Image Handling | Base64 & python-docx |
requirement.txt
User fills out a detailed form including personal data, skills, education, experience, and uploads a photo.
The frontend sends the data as FormData to the Flask backend.
The backend fills a prompt using prompt_template.txt and sends it to a large language model.
The LLM generates structured, professional CV content.
The content is injected into an HTML or DOCX template.
The result is returned to the frontend for live preview and can be downloaded as:
β PDF (rendered from HTML)
Anu Kumari |
GitHub Profile |
π License This project is open-source under the MIT License.