# erenyea9er69/jobhunter architecture

> Architecture diagram of the GitHub repository erenyea9er69/jobhunter, 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/erenyea9er69/jobhunter
- Repository: https://github.com/erenyea9er69/jobhunter

## Overview

JobHunter is a local, resume-first job-search and application-management app. The main workflow is to submit a resume, review its parsed profile, search multiple job sources, inspect deduplicated and scored matches, then tailor materials and track applications. Separate capabilities include company watchlists, digests, ATS audits, interview preparation, and export. The graph follows shown calls and imports; some feature wiring is documented in the README, while unsampled implementation details are not inferred.

Main entry points: [`jh/httpd.py`](https://github.com/erenyea9er69/jobhunter/blob/main/jh/httpd.py) (HTTP API), [`jh/pipeline.py`](https://github.com/erenyea9er69/jobhunter/blob/main/jh/pipeline.py) (Search orchestration), [`jh/tracker.py`](https://github.com/erenyea9er69/jobhunter/blob/main/jh/tracker.py) (Application tracker), [`jh/sources.py`](https://github.com/erenyea9er69/jobhunter/blob/main/jh/sources.py) (Job sources)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Interface and API"]
  node_web_ui["Web interface<br/>[app.js]"]
  node_http_api["HTTP API<br/>[httpd.py]"]
end

subgraph group_search["Job discovery"]
  node_search_pipeline["Search orchestration<br/>[pipeline.py]"]
  node_job_sources["Job sources<br/>[sources.py]"]
  node_job_dedup["Listing deduplication<br/>[dedup.py]"]
  node_match_scoring["Fit scoring<br/>[scoring.py]"]
end

subgraph group_career["Candidate tools"]
  node_resume_parse["Resume parser<br/>[resume_parser.py]"]
  node_profile["Candidate profile<br/>[db.py]"]
  node_resume_refit["Resume tailoring<br/>[refit.py]"]
  node_ats_audit["ATS audit<br/>[ats.py]"]
  node_export["Resume export<br/>[exporters.py]"]
  node_application_tracker["Application tracker<br/>[tracker.py]"]
  node_watchlist["Company watchlist<br/>[tracker.py]"]
  node_digest["Job digest<br/>[digest.py]"]
end

subgraph group_storage["Local data"]
  node_sqlite[("Local SQLite<br/>[jobhunter.db]")]
end

subgraph group_runtime["Runtime support"]
  node_skill_ontology["Skill ontology<br/>[skills.py]"]
  node_runtime_config["Runtime configuration<br/>[config.py]"]
  node_shared_utils["Shared utilities<br/>[util.py]"]
end

node_candidate(("Candidate"))
node_external_boards(("Job boards and feeds"))
node_optional_llm(("Optional LLM"))

node_candidate -->|"uses"| node_web_ui
node_web_ui -->|"submits requests"| node_http_api
node_http_api -->|"serves interface"| node_web_ui
node_http_api -->|"parses uploads"| node_resume_parse
node_http_api -->|"saves profile"| node_profile
node_resume_parse -->|"extracts skills"| node_skill_ontology
node_http_api -->|"runs searches"| node_search_pipeline
node_search_pipeline -->|"reads profile"| node_profile
node_search_pipeline -->|"dispatches searches"| node_job_sources
node_job_sources -->|"fetches listings"| node_external_boards
node_search_pipeline -->|"merges listings"| node_job_dedup
node_search_pipeline -->|"scores matches"| node_match_scoring
node_match_scoring -->|"extracts requirements"| node_skill_ontology
node_search_pipeline -->|"records search state"| node_sqlite
node_http_api -->|"tailors resume"| node_resume_refit
node_resume_refit -->|"aligns skill terms"| node_skill_ontology
node_resume_refit -.->|"may request rewrite"| node_optional_llm
node_http_api -->|"audits resume"| node_ats_audit
node_ats_audit -->|"extracts keywords"| node_skill_ontology
node_http_api -->|"exports resume"| node_export
node_http_api -->|"manages applications"| node_application_tracker
node_application_tracker -->|"stores applications"| node_sqlite
node_application_tracker -->|"checks watched boards"| node_job_sources
node_application_tracker -->|"prepares materials"| node_resume_refit
node_application_tracker -->|"audits prepared resume"| node_ats_audit
node_http_api -->|"manages watchlist"| node_watchlist
node_http_api -->|"builds digest"| node_digest
node_digest -->|"gets job matches"| node_search_pipeline
node_digest -->|"reads stored data"| node_sqlite
node_job_sources -->|"uses HTTP helpers"| node_shared_utils
node_http_api -->|"configures static serving"| node_runtime_config

click node_web_ui "https://github.com/erenyea9er69/jobhunter/blob/main/static/app.js"
click node_http_api "https://github.com/erenyea9er69/jobhunter/blob/main/jh/httpd.py"
click node_resume_parse "https://github.com/erenyea9er69/jobhunter/blob/main/jh/resume_parser.py"
click node_profile "https://github.com/erenyea9er69/jobhunter/blob/main/jh/db.py"
click node_search_pipeline "https://github.com/erenyea9er69/jobhunter/blob/main/jh/pipeline.py"
click node_job_sources "https://github.com/erenyea9er69/jobhunter/blob/main/jh/sources.py"
click node_job_dedup "https://github.com/erenyea9er69/jobhunter/blob/main/jh/dedup.py"
click node_match_scoring "https://github.com/erenyea9er69/jobhunter/blob/main/jh/scoring.py"
click node_skill_ontology "https://github.com/erenyea9er69/jobhunter/blob/main/jh/skills.py"
click node_resume_refit "https://github.com/erenyea9er69/jobhunter/blob/main/jh/refit.py"
click node_ats_audit "https://github.com/erenyea9er69/jobhunter/blob/main/jh/ats.py"
click node_export "https://github.com/erenyea9er69/jobhunter/blob/main/jh/exporters.py"
click node_application_tracker "https://github.com/erenyea9er69/jobhunter/blob/main/jh/tracker.py"
click node_watchlist "https://github.com/erenyea9er69/jobhunter/blob/main/jh/tracker.py"
click node_digest "https://github.com/erenyea9er69/jobhunter/blob/main/jh/digest.py"
click node_sqlite "https://github.com/erenyea9er69/jobhunter/blob/main/data/jobhunter.db"
click node_runtime_config "https://github.com/erenyea9er69/jobhunter/blob/main/jh/config.py"
click node_shared_utils "https://github.com/erenyea9er69/jobhunter/blob/main/jh/util.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_web_ui,node_http_api toneBlue
class node_search_pipeline,node_job_sources,node_job_dedup,node_match_scoring toneAmber
class node_resume_parse,node_profile,node_resume_refit,node_ats_audit,node_export,node_application_tracker,node_watchlist,node_digest toneMint
class node_sqlite toneRose
class node_skill_ontology,node_runtime_config,node_shared_utils,node_candidate,node_external_boards,node_optional_llm toneIndigo
```

## Components

### Interface and API

- [Web interface](https://github.com/erenyea9er69/jobhunter/blob/main/static/app.js): `static/app.js`
- [HTTP API](https://github.com/erenyea9er69/jobhunter/blob/main/jh/httpd.py): `jh/httpd.py`

### Job discovery

- [Search orchestration](https://github.com/erenyea9er69/jobhunter/blob/main/jh/pipeline.py): `jh/pipeline.py`
- [Job sources](https://github.com/erenyea9er69/jobhunter/blob/main/jh/sources.py): `jh/sources.py`
- [Listing deduplication](https://github.com/erenyea9er69/jobhunter/blob/main/jh/dedup.py): `jh/dedup.py`
- [Fit scoring](https://github.com/erenyea9er69/jobhunter/blob/main/jh/scoring.py): `jh/scoring.py`

### Candidate tools

- [Resume parser](https://github.com/erenyea9er69/jobhunter/blob/main/jh/resume_parser.py): `jh/resume_parser.py`
- [Candidate profile](https://github.com/erenyea9er69/jobhunter/blob/main/jh/db.py): `jh/db.py`
- [Resume tailoring](https://github.com/erenyea9er69/jobhunter/blob/main/jh/refit.py): `jh/refit.py`
- [ATS audit](https://github.com/erenyea9er69/jobhunter/blob/main/jh/ats.py): `jh/ats.py`
- [Resume export](https://github.com/erenyea9er69/jobhunter/blob/main/jh/exporters.py): `jh/exporters.py`
- [Application tracker](https://github.com/erenyea9er69/jobhunter/blob/main/jh/tracker.py): `jh/tracker.py`
- [Company watchlist](https://github.com/erenyea9er69/jobhunter/blob/main/jh/tracker.py): `jh/tracker.py`
- [Job digest](https://github.com/erenyea9er69/jobhunter/blob/main/jh/digest.py): `jh/digest.py`

### Local data

- [Local SQLite](https://github.com/erenyea9er69/jobhunter/blob/main/data/jobhunter.db): `data/jobhunter.db`

### Runtime support

- [Skill ontology](https://github.com/erenyea9er69/jobhunter/blob/main/jh/skills.py): `jh/skills.py`
- [Runtime configuration](https://github.com/erenyea9er69/jobhunter/blob/main/jh/config.py): `jh/config.py`
- [Shared utilities](https://github.com/erenyea9er69/jobhunter/blob/main/jh/util.py): `jh/util.py`

### Other components

- **Candidate**
- **Job boards and feeds**
- **Optional LLM**

## Connections

- Candidate → Web interface: uses (evidence: `README.md`)
- Web interface → HTTP API: submits requests (evidence: `README.md`)
- HTTP API → Web interface: serves interface (evidence: `jh/httpd.py`)
- HTTP API → Resume parser: parses uploads (evidence: `jh/httpd.py`)
- HTTP API → Candidate profile: saves profile (evidence: `jh/httpd.py`)
- Resume parser → Skill ontology: extracts skills (evidence: `jh/resume_parser.py`)
- HTTP API → Search orchestration: runs searches (evidence: `jh/pipeline.py`)
- Search orchestration → Candidate profile: reads profile (evidence: `jh/pipeline.py`)
- Search orchestration → Job sources: dispatches searches (evidence: `jh/pipeline.py`)
- Job sources → Job boards and feeds: fetches listings (evidence: `jh/sources.py`)
- Search orchestration → Listing deduplication: merges listings (evidence: `jh/pipeline.py`)
- Search orchestration → Fit scoring: scores matches (evidence: `jh/pipeline.py`)
- Fit scoring → Skill ontology: extracts requirements (evidence: `jh/scoring.py`)
- Search orchestration → Local SQLite: records search state (evidence: `jh/pipeline.py`)
- HTTP API → Resume tailoring: tailors resume (evidence: `jh/httpd.py`)
- Resume tailoring → Skill ontology: aligns skill terms (evidence: `jh/refit.py`)
- Resume tailoring → Optional LLM: may request rewrite
- HTTP API → ATS audit: audits resume (evidence: `jh/httpd.py`)
- ATS audit → Skill ontology: extracts keywords (evidence: `jh/ats.py`)
- HTTP API → Resume export: exports resume (evidence: `jh/httpd.py`)
- HTTP API → Application tracker: manages applications (evidence: `jh/httpd.py`)
- Application tracker → Local SQLite: stores applications (evidence: `jh/tracker.py`)
- Application tracker → Job sources: checks watched boards (evidence: `jh/tracker.py`)
- Application tracker → Resume tailoring: prepares materials (evidence: `jh/tracker.py`)
- Application tracker → ATS audit: audits prepared resume (evidence: `jh/tracker.py`)
- HTTP API → Company watchlist: manages watchlist (evidence: `jh/httpd.py`)
- HTTP API → Job digest: builds digest (evidence: `jh/httpd.py`)
- Job digest → Search orchestration: gets job matches (evidence: `jh/digest.py`)
- Job digest → Local SQLite: reads stored data (evidence: `jh/digest.py`)
- Job sources → Shared utilities: uses HTTP helpers (evidence: `jh/sources.py`)
- HTTP API → Runtime configuration: configures static serving (evidence: `jh/httpd.py`)
