# sabasaba27996-afk/ai-resume-analyzer architecture

> Architecture diagram of the GitHub repository sabasaba27996-afk/ai-resume-analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sabasaba27996-afk/ai-resume-analyzer
- Repository: https://github.com/sabasaba27996-afk/ai-resume-analyzer

## Overview

This is a browser-based React resume analyzer. A job seeker uploads a PDF; the app extracts text, builds a local ATS-presence checklist, and sends the text to Puter AI for evaluation. The interface then presents scores, metrics, strengths, improvements, action items, tips, checklist findings, and recommended keywords. The sampled code shows the prompt and checklist logic, but omits the PDF extraction implementation and some wiring, so those relationships are not asserted as confirmed calls.

Main entry points: [`ai_resume_starter_code/src/App.jsx`](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx) (Analysis workflow), [`ai_resume_starter_code/src/main.jsx`](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/main.jsx) (React entry), [`ai_resume_starter_code/constants.js`](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/constants.js) (ATS prompt and checks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web interface"]
  node_entry["React entry<br/>[main.jsx]"]
  node_resume_ui["Upload interface<br/>[App.jsx]"]
  node_results["Evaluation results<br/>[App.jsx]"]
end

subgraph group_analysis["Resume analysis"]
  node_analysis_flow["Analysis workflow<br/>[App.jsx]"]
  node_ats_rules["ATS prompt and checks<br/>[constants.js]"]
end

subgraph group_integrations["External integrations"]
  node_pdfjs["PDF.js parser"]
  node_puter_ai["Puter AI"]
end

node_jobseeker(("Job seeker"))

node_entry -->|"renders"| node_resume_ui
node_jobseeker -->|"uploads PDF"| node_resume_ui
node_resume_ui -->|"starts analysis"| node_analysis_flow
node_analysis_flow -->|"builds checklist"| node_ats_rules
node_analysis_flow -->|"sends prompt"| node_puter_ai
node_analysis_flow -.->|"extracts text"| node_pdfjs
node_analysis_flow -->|"renders findings"| node_results

click node_entry "https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/main.jsx"
click node_resume_ui "https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx"
click node_analysis_flow "https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx"
click node_ats_rules "https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/constants.js"
click node_results "https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_resume_ui,node_results toneBlue
class node_analysis_flow,node_ats_rules toneAmber
class node_pdfjs,node_puter_ai toneMint
class node_jobseeker toneIndigo
```

## Components

### Web interface

- [React entry](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/main.jsx): `ai_resume_starter_code/src/main.jsx`
- [Upload interface](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx): `ai_resume_starter_code/src/App.jsx`
- [Evaluation results](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx): `ai_resume_starter_code/src/App.jsx`

### Resume analysis

- [Analysis workflow](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/src/App.jsx): `ai_resume_starter_code/src/App.jsx`
- [ATS prompt and checks](https://github.com/sabasaba27996-afk/ai-resume-analyzer/blob/main/ai_resume_starter_code/constants.js): `ai_resume_starter_code/constants.js`

### External integrations

- **PDF.js parser**
- **Puter AI**

### Other components

- **Job seeker**

## Connections

- React entry → Upload interface: renders (evidence: `ai_resume_starter_code/src/main.jsx`)
- Job seeker → Upload interface: uploads PDF (evidence: `ai_resume_starter_code/src/App.jsx`)
- Upload interface → Analysis workflow: starts analysis (evidence: `ai_resume_starter_code/src/App.jsx`)
- Analysis workflow → ATS prompt and checks: builds checklist (evidence: `ai_resume_starter_code/src/App.jsx`)
- Analysis workflow → Puter AI: sends prompt (evidence: `ai_resume_starter_code/src/App.jsx`)
- Analysis workflow → PDF.js parser: extracts text
- Analysis workflow → Evaluation results: renders findings (evidence: `ai_resume_starter_code/src/App.jsx`)
