Feat/resume ai extraction - #95
Open
AnkitaKumariii wants to merge 2 commits into
Open
AnkitaKumariii wants to merge 2 commits into
AnkitaKumariii wants to merge 2 commits into
Conversation
- Add ResumeUpload component with drag-and-drop UI and 4-step progress bar - PDF text-layer extraction via pdfjs-dist (local worker, no CDN) - Tesseract.js OCR fallback for scanned/image-based PDFs - DOCX parsing via mammoth.js - Gemini AI extraction API route (gemini-2.5-flash-lite with 3-model fallback chain) - Tech normalization utility: AI names → badge URL strings - GitHub username sanitizer strips full URLs to handle-only - Manual username input fallback in review step - Add Upload Resume CTA on HomePage alongside existing flow - Add bulkEditData action to MobX store - Add .env.local.example for API key setup
- Add GeminiKeyInput component (localStorage-based, masked display) - Show/Hide/Change/Forget key controls - Key passed as x-user-gemini-key header to API route - API route prefers user key over server env key - Clear error when no key is configured on either side - Key never logged or stored server-side
|
@AnkitaKumariii is attempting to deploy a commit to the vishwagauravin's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR adds
Adds a Resume Upload feature as a second CTA on the HomePage, allowing users to auto-fill their GitHub profile README by uploading a PDF/DOCX resume.
Flow
Resume Upload → PDF/DOCX/OCR Parser → Raw Text → Gemini AI → Structured JSON → MobX Store → README Generator
Features
pdfjs-dist(local worker, no CDN dependency)mammoth.jsgemini-2.5-flash-litewith 3-model fallback chain for 503/429 errors)New files
components/slides/ResumeUpload.jscomponents/elements/GeminiKeyInput.jspages/api/extract-resume.jsutils/normalizeTech.js.env.local.exampleModified files
components/slides/HomePage.js— added Upload Resume CTAcomponents/mobx/gprmStore.js— addedbulkEditData()action