How harshani95/ai-resume-analyzer works
This is an AI resume analyzer: a user supplies a PDF and job context, the upload route stores the files, converts the PDF to an image, requests AI feedback, saves the result, and navigates to a resume report. The report and dashboard routes, authentication, and wipe flow are present in the tree, but their implementations were not sampled, so their internal connections are omitted. The shown upload flow uses Puter for authentication, file storage, AI, and key-value storage; external service wiring is evidenced by the sampled adapter and root script.
Main entry points: upload.tsx Upload workflow · puter.ts Puter adapter · resume.tsx Resume report · ResumeCard.tsx Resume card
Components 20
Resume intake
- Upload workflow
app/routes/upload.tsx - PDF picker
app/components/FileUploader.tsx - PDF conversion
app/lib/pdfToImage.ts
Analysis services
- Analysis prompt
constants/index.ts - Puter adapter
app/lib/puter.ts
Resume experience
- Resume report
app/routes/resume.tsx - Resume dashboard
app/routes/home.tsx - Resume card
app/components/ResumeCard.tsx - Authentication route
app/routes/auth.tsx - Data wipe route
app/routes/wipe.tsx - Application shell
app/root.tsx
Feedback presentation
- Score circle
app/components/ScoreCircle.tsx - ATS feedback
app/components/feedback/ATS.tsx - Category details
app/components/feedback/Details.tsx - Accordion control
app/components/feedback/Accordian.tsx - Score summary
app/components/feedback/Summary.tsx - Score badge
app/components/feedback/ScoreBadge.tsx - Score gauge
app/components/feedback/ScoreGauge.tsx
Other components
- Applicant
- Puter services
Connections 19
- Applicant → Upload workflow: submits resume
app/routes/upload.tsx - Upload workflow → PDF picker: renders picker
app/routes/upload.tsx - Upload workflow → PDF conversion: converts PDF
app/routes/upload.tsx - Upload workflow → Puter adapter: uploads files
app/routes/upload.tsx - Upload workflow → Puter adapter: saves metadata
app/routes/upload.tsx - Upload workflow → Puter adapter: requests feedback
app/routes/upload.tsx - Upload workflow → Analysis prompt: builds prompt
app/routes/upload.tsx - Upload workflow → Resume report: navigates after analysis
app/routes/upload.tsx - Application shell → Puter adapter: initializes
app/root.tsx - Puter adapter → Puter services: calls services
app/lib/puter.ts - Resume card → Puter adapter: reads image
app/components/ResumeCard.tsx - Resume card → Score circle: renders score
app/components/ResumeCard.tsx - Category details → Accordion control: renders sections
app/components/feedback/Details.tsx - Score summary → Score badge: renders badge
app/components/feedback/Summary.tsx - Score summary → Score gauge: renders gauge
app/components/feedback/Summary.tsx - Resume dashboard → Resume card: lists resumes
- Resume report → Category details: presents feedback
- Resume report → ATS feedback: presents ATS results
- Resume report → Score summary: presents score