How letox4/osinthunter works
OsintHunter is a local desktop OSINT investigation platform: an investigator enters a clue in the browser UI, starts a case investigation, and receives linked entities and findings for an investigation graph, confidence analysis, map, timeline, and report. Collection spans username, email, phone, person, domain, IP, Chile-specific, and miscellaneous sources; optional deep scans and AI analysis extend the workflow. SQLite persists cases and graph data, while configuration manages settings and API keys. Several UI and route details are unsampled, so those connections are limited to documented behavior.
Main entry points: engine.py Scan engine · main.py FastAPI service · db.py Case graph store · analysis.py Identity analysis
Components 23
Investigation UI
- Browser UI
web/app.js - FastAPI service
app/main.py
Scan runtime
- Scan engine
app/engine.py - Module registry
app/modules/base.py
OSINT sources
- Username scans
app/modules/username.py - Email scans
app/modules/email.py - Phone scans
app/modules/phone.py - Person sources
app/modules/people.py - Web search
app/modules/websearch.py - Domain scans
app/modules/domain.py - IP scans
app/modules/ip.py - Chile sources
app/modules/chile.py - Chile datasets
app/modules/chile_data.py - Other sources
app/modules/misc.py - Document metadata
app/modules/documents.py - Deep scans
app/modules/deep.py - Auto enrichment
app/modules/enrich.py
Case analysis
- Identity analysis
app/analysis.py - EXIF extraction
app/exif.py
Local state
- Entity modeling
app/models.py - Case graph store
app/db.py - Settings and keys
app/config.py
Other components
- Investigator
Connections 26
- Investigator → Browser UI: uses
README.md - Browser UI → FastAPI service: requests
- FastAPI service → Scan engine: starts scans
app/main.py - FastAPI service → Case graph store: manages cases
app/main.py - FastAPI service → Entity modeling: validates entities
app/main.py - FastAPI service → EXIF extraction: uses
app/main.py - Scan engine → Case graph store: writes findings
app/engine.py - Scan engine → Identity analysis: runs analysis
app/engine.py - Scan engine → Module registry: loads registry
app/modules/base.py - Scan engine → Username scans: dispatches
- Scan engine → Email scans: dispatches
- Scan engine → Phone scans: dispatches
- Scan engine → Person sources: dispatches
- Scan engine → Web search: dispatches
- Scan engine → Domain scans: dispatches
- Scan engine → IP scans: dispatches
- Scan engine → Chile sources: dispatches
- Scan engine → Chile datasets: dispatches
- Scan engine → Other sources: dispatches
- Scan engine → Document metadata: dispatches
- Scan engine → Deep scans: dispatches
- Scan engine → Auto enrichment: dispatches
- Identity analysis → Case graph store: reads graph
app/analysis.py - Identity analysis → Settings and keys: uses settings
app/analysis.py - Case graph store → Entity modeling: uses entity types
app/db.py - Case graph store → Settings and keys: reads data path
app/db.py