feat: add AI Cover Letter Generator from Resume (#411)#415
Open
sanju234-san wants to merge 1 commit intoMuneerali199:mainfrom
Open
feat: add AI Cover Letter Generator from Resume (#411)#415sanju234-san wants to merge 1 commit intoMuneerali199:mainfrom
sanju234-san wants to merge 1 commit intoMuneerali199:mainfrom
Conversation
- Add API route at /api/generate/cover-letter-from-resume - Add CoverLetterFromResume UI component with resume, JD, and tone inputs - Add page at /letter/cover-letter-from-resume - Reuses existing lib/gemini.ts client, no new dependencies
|
@sanju234-san is attempting to deploy a commit to the muneerali199's projects Team on Vercel. A member of the Team first needs to authorize it. |
👷 Deploy request for docmagic1 pending review.Visit the deploys page to approve it
|
👷 Deploy request for docmagic-muneer pending review.Visit the deploys page to approve 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.
Description
Adds an AI-powered "Cover Letter from Resume" flow that takes a user's existing
resume and a job description as inputs, then generates a tailored,
keyword-matched cover letter using the existing Gemini AI client in a single
API call.
Fixes #411
Type of Change
Changes Made
app/api/generate/cover-letter-from-resume/route.ts— accepts
resume,jobDescription, and optionaltone, calls the existingGemini client, and returns the generated letter as JSON.
components/letter/CoverLetterFromResume.tsx— two text inputs (Resume + Job Description), an optional Tone field,
a Generate button, and a polished output area.
app/letter/cover-letter-from-resume/page.tsx— exposes the feature at the
/letter/cover-letter-from-resumerouteby rendering the above component.
Dependencies
lib/gemini.tsGemini AI client via dynamic import— no version updates or configuration changes required.
Screenshots
Checklist
npm run dev)