Skip to content

[Feature] Add PDF parsing support #96

Description

@alexNJF

Problem

We need the app to parse uploaded PDF CVs so we can extract resume content (sections, text) and convert it into the app's CV format. Right now there is PR #95 that adds PDF upload support (size validation and texture?), but it does not parse PDF contents into structured CV data.

Proposed solution

Add PDF parsing after upload to extract text and structure (headings, sections, contact info, work/education entries) and map the extracted data to our CV model. Consider using a server-side library (e.g., pdf-parse, pdfjs-dist, or a lightweight OCR fallback for image PDFs) and add unit/integration tests for common resume formats. Ensure parsing runs safely (timeout, size limits) and falls back to manual input when parsing fails.

Alternatives considered

  • Keep uploads as attachments and require users to fill the form manually (current behavior).
  • Use a third-party parsing API (privacy and cost implications).

Additional context

Related PR: #95 (opens PDF upload support). Assigning this issue to @alexNJF who authored the PR.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions