# hareesh2511/ai_resume_analyzer architecture

> Architecture diagram of the GitHub repository hareesh2511/ai_resume_analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hareesh2511/ai_resume_analyzer
- Repository: https://github.com/hareesh2511/ai_resume_analyzer

## Overview

AI Resume Analyzer is a Streamlit app for job seekers. The user uploads a selectable-text PDF and supplies a Groq API key; the app extracts resume text, requests structured Llama feedback, and renders an interactive assessment. The assessment covers scoring, strengths and weaknesses, missing skills, improvement suggestions, ATS compatibility, and a final recommendation. The repository is a single-file runtime, so its responsibilities share app.py. The excerpts show PDF extraction, the Groq request, and several result-rendering sections; some workflow details and the recommendation display are documented but not fully excerpted.

Main entry points: [`app.py`](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py) (Results dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["User interface"]
  node_dashboard["Streamlit dashboard<br/>[app.py]"]
  node_key_config["API key configuration<br/>[app.py]"]
end

subgraph group_analysis["Resume analysis"]
  node_pdf_extraction["PDF text extraction<br/>[app.py]"]
  node_pdf_parser["PyPDF2 parser"]
  node_resume_analyzer["Resume analyzer<br/>[app.py]"]
  node_groq_api["Groq chat API"]
end

subgraph group_assessment["Assessment results"]
  node_results_dashboard["Results dashboard<br/>[app.py]"]
  node_score_verdict["Score and recommendation<br/>[app.py]"]
  node_strengths_weaknesses["Strengths and weaknesses<br/>[app.py]"]
  node_missing_skills["Missing skills<br/>[app.py]"]
  node_improvement_checklist["Improvement checklist<br/>[app.py]"]
  node_ats_feedback["ATS compatibility feedback<br/>[app.py]"]
end

node_job_seeker(("Job seeker"))

node_job_seeker -->|"uploads resume"| node_dashboard
node_job_seeker -->|"supplies key"| node_key_config
node_dashboard -->|"extracts text"| node_pdf_extraction
node_pdf_extraction -->|"parses PDF"| node_pdf_parser
node_dashboard -->|"requests analysis"| node_resume_analyzer
node_resume_analyzer -->|"requests completion"| node_groq_api
node_resume_analyzer -->|"returns JSON"| node_dashboard
node_dashboard -->|"renders results"| node_results_dashboard
node_results_dashboard -->|"shows score"| node_score_verdict
node_results_dashboard -->|"shows feedback"| node_strengths_weaknesses
node_results_dashboard -->|"shows skills"| node_missing_skills
node_results_dashboard -->|"renders checklist"| node_improvement_checklist
node_results_dashboard -->|"shows ATS advice"| node_ats_feedback

click node_dashboard "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_key_config "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_pdf_extraction "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_resume_analyzer "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_results_dashboard "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_score_verdict "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_strengths_weaknesses "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_missing_skills "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_improvement_checklist "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"
click node_ats_feedback "https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py"

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_dashboard,node_key_config toneBlue
class node_pdf_extraction,node_pdf_parser,node_resume_analyzer,node_groq_api toneAmber
class node_results_dashboard,node_score_verdict,node_strengths_weaknesses,node_missing_skills,node_improvement_checklist,node_ats_feedback toneMint
class node_job_seeker toneIndigo
```

## Components

### User interface

- [Streamlit dashboard](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [API key configuration](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`

### Resume analysis

- [PDF text extraction](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- **PyPDF2 parser**
- [Resume analyzer](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- **Groq chat API**

### Assessment results

- [Results dashboard](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [Score and recommendation](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [Strengths and weaknesses](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [Missing skills](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [Improvement checklist](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`
- [ATS compatibility feedback](https://github.com/hareesh2511/ai_resume_analyzer/blob/main/app.py): `app.py`

### Other components

- **Job seeker**

## Connections

- Job seeker → Streamlit dashboard: uploads resume (evidence: `README.md`)
- Job seeker → API key configuration: supplies key (evidence: `README.md`)
- Streamlit dashboard → PDF text extraction: extracts text (evidence: `app.py`)
- PDF text extraction → PyPDF2 parser: parses PDF (evidence: `app.py`)
- Streamlit dashboard → Resume analyzer: requests analysis (evidence: `app.py`)
- Resume analyzer → Groq chat API: requests completion (evidence: `app.py`)
- Resume analyzer → Streamlit dashboard: returns JSON (evidence: `app.py`)
- Streamlit dashboard → Results dashboard: renders results (evidence: `app.py`)
- Results dashboard → Score and recommendation: shows score (evidence: `app.py`)
- Results dashboard → Strengths and weaknesses: shows feedback (evidence: `app.py`)
- Results dashboard → Missing skills: shows skills (evidence: `app.py`)
- Results dashboard → Improvement checklist: renders checklist (evidence: `app.py`)
- Results dashboard → ATS compatibility feedback: shows ATS advice (evidence: `app.py`)
