How jahnavim23/infosys-coverletter works
Resume Forge is a browser-based, resume-aware cover-letter generator. Users sign in locally, supply a resume and job description, review parsed resume health and skill alignment, choose a writing template, generate and optionally polish a draft, then edit and export it. The graph follows the sampled Generator orchestration and documented capabilities; parser/export implementation details beyond the excerpts are represented at their exact module paths.
Main entry points: Generator.tsx Generator workflow · Index.tsx Session gate · auth.ts Local auth · App.tsx App routing
Components 22
App and access
- App routing
src/App.tsx - Session gate
src/pages/Index.tsx - Sign-in form
src/components/AuthForm.tsx - Local auth
src/lib/auth.ts
Resume analysis
- Resume input
src/components/ResumeUpload.tsx - Resume parser
src/lib/resumeParser.ts - PDF/DOCX parsers
- Job skill extraction
src/lib/skillMatcher.ts - Skill matching
src/lib/skillMatcher.ts - Resume health
src/components/ResumeHealthDashboard.tsx - Skill analysis
src/components/SkillAnalysis.tsx
Letter creation
- Generator workflow
src/pages/Generator.tsx - Template selection
src/components/TemplateSelector.tsx - Letter generation
src/lib/coverLetterGenerator.ts - AI polishing
src/lib/coverLetterPolisher.ts - Letter editor
src/components/CoverLetterPreview.tsx - PDF/DOCX export
src/lib/exportUtils.ts
User experience
- Guided tutorial
src/components/InteractiveTutorial.tsx - Spotlight tour
src/components/SpotlightTour.tsx
Other components
- Applicant
- Browser storage
- OpenRouter API
Connections 22
- Applicant → App routing: opens
- App routing → Session gate: routes
- Session gate → Local auth: reads session
- Session gate → Sign-in form: shows unauthenticated
- Sign-in form → Local auth: signs in/up
- Local auth → Browser storage: reads/writes
- Session gate → Generator workflow: shows signed-in
- Generator workflow → Resume input: collects resume
- Resume input → PDF/DOCX parsers: extracts file text
- Generator workflow → Resume parser: parses resume
- Generator workflow → Resume health: renders resume metrics
- Generator workflow → Job skill extraction: extracts job skills
- Generator workflow → Skill matching: matches skills
- Generator workflow → Skill analysis: shows alignment
- Generator workflow → Template selection: selects style
- Generator workflow → Letter generation: builds draft
- Generator workflow → AI polishing: requests polish
- AI polishing → OpenRouter API: polishes via API
- Generator workflow → Letter editor: displays draft
- Letter editor → PDF/DOCX export: exports letter
- Generator workflow → Guided tutorial: shows guidance
- Generator workflow → Spotlight tour: shows walkthrough