# kirozaku/wiwok architecture

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

## Overview

WiwoK is a command-line OSINT investigation tool. A user supplies a username, email, phone number, or name; a selected scan mode runs applicable checks, then findings can be scored, pivoted into further targets, and assembled into a unified profile. Results are documented as available in JSON, TXT, and interactive HTML formats. The implementation is a single 139 KB Python file, so distinct runtime responsibilities share `wiwok.py`. Source excerpts are partial; edges not directly shown are grounded in README descriptions.

Main entry points: [`wiwok.py`](https://github.com/kirozaku/wiwok/blob/main/wiwok.py) (Parallel Execution)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_investigation["Investigation"]
  node_cli["CLI and Target Input<br/>[wiwok.py]"]
  node_scan["Scan Orchestration<br/>[wiwok.py]"]
  node_registry["Module Registry<br/>[wiwok.py]"]
  node_plugin["JSON Plugins<br/>[wiwok.py]"]
  node_parallel["Parallel Execution<br/>[wiwok.py]"]
  node_cache["Request Cache and Rate Limit<br/>[wiwok.py]"]
end

subgraph group_sources["Data Sources"]
  node_native["Native Checks<br/>[wiwok.py]"]
  node_external["External Tools<br/>[wiwok.py]"]
  node_web["Public Web Sources"]
end

subgraph group_results["Results"]
  node_parse["Finding Extraction<br/>[wiwok.py]"]
  node_confidence["Confidence Scoring<br/>[wiwok.py]"]
  node_pivot["Pivot Queue<br/>[wiwok.py]"]
  node_profile["Unified Profile<br/>[wiwok.py]"]
  node_output["JSON TXT HTML Reports<br/>[wiwok.py]"]
end

node_user(("Investigator"))

node_user -->|"provides target"| node_cli
node_cli -.->|"selects scan"| node_scan
node_scan -.->|"selects modules"| node_registry
node_plugin -->|"extends registry"| node_registry
node_scan -->|"runs checks"| node_parallel
node_parallel -->|"dispatches checks"| node_native
node_parallel -->|"runs tools"| node_external
node_native -->|"queries sources"| node_web
node_native -.->|"uses request helpers"| node_cache
node_parallel -.->|"collects findings"| node_parse
node_parse -->|"scores findings"| node_confidence
node_parse -->|"extracts pivots"| node_pivot
node_pivot -->|"reinvestigates targets"| node_scan
node_confidence -->|"merges findings"| node_profile
node_profile -->|"produces reports"| node_output

click node_cli "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_scan "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_registry "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_plugin "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_parallel "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_native "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_external "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_cache "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_parse "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_confidence "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_pivot "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_profile "https://github.com/kirozaku/wiwok/blob/main/wiwok.py"
click node_output "https://github.com/kirozaku/wiwok/blob/main/wiwok.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_cli,node_scan,node_registry,node_plugin,node_parallel,node_cache toneBlue
class node_native,node_external,node_web toneAmber
class node_parse,node_confidence,node_pivot,node_profile,node_output toneMint
class node_user toneIndigo
```

## Components

### Investigation

- [CLI and Target Input](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Scan Orchestration](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Module Registry](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [JSON Plugins](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Parallel Execution](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Request Cache and Rate Limit](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`

### Data Sources

- [Native Checks](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [External Tools](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- **Public Web Sources**

### Results

- [Finding Extraction](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Confidence Scoring](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Pivot Queue](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [Unified Profile](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`
- [JSON TXT HTML Reports](https://github.com/kirozaku/wiwok/blob/main/wiwok.py): `wiwok.py`

### Other components

- **Investigator**

## Connections

- Investigator → CLI and Target Input: provides target (evidence: `README.md`)
- CLI and Target Input → Scan Orchestration: selects scan (evidence: `wiwok.py`)
- Scan Orchestration → Module Registry: selects modules (evidence: `wiwok.py`)
- JSON Plugins → Module Registry: extends registry (evidence: `wiwok.py`)
- Scan Orchestration → Parallel Execution: runs checks (evidence: `README.md`)
- Parallel Execution → Native Checks: dispatches checks (evidence: `wiwok.py`)
- Parallel Execution → External Tools: runs tools (evidence: `README.md`)
- Native Checks → Public Web Sources: queries sources (evidence: `wiwok.py`)
- Native Checks → Request Cache and Rate Limit: uses request helpers (evidence: `wiwok.py`)
- Parallel Execution → Finding Extraction: collects findings (evidence: `wiwok.py`)
- Finding Extraction → Confidence Scoring: scores findings (evidence: `README.md`)
- Finding Extraction → Pivot Queue: extracts pivots (evidence: `wiwok.py`)
- Pivot Queue → Scan Orchestration: reinvestigates targets (evidence: `README.md`)
- Confidence Scoring → Unified Profile: merges findings (evidence: `README.md`)
- Unified Profile → JSON TXT HTML Reports: produces reports (evidence: `README.md`)
