# lockfale/osint-framework architecture

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

- Interactive diagram: https://gitdiagram.com/lockfale/osint-framework
- Repository: https://github.com/lockfale/osint-framework

## Overview

OSINT Framework is a browser-based directory for finding free OSINT tools and resources. Users browse or search its categorized resource tree, inspect tool details and metadata, then follow a resource link; the site also supports click tracking, ratings, and reports about resource quality. The browser interface and Cloudflare Worker are the principal runtime layers, with the Worker persisting interaction data and optionally creating GitHub issues from reports. The supplied excerpts show tracking and storage calls; some frontend-to-API wiring and dataset loading are not shown, so those links are marked unverified.

Main entry points: [`src/worker.js`](https://github.com/lockfale/osint-framework/blob/master/src/worker.js) (API Router), [`public/js/arf.js`](https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js) (Tool Details), [`public/index.html`](https://github.com/lockfale/osint-framework/blob/master/public/index.html) (Framework Website), [`public/arf.json`](https://github.com/lockfale/osint-framework/blob/master/public/arf.json) (Tool Catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Resource Catalog"]
  node_catalog_data["Tool Catalog<br/>[arf.json]"]
end

subgraph group_browser["Browser Experience"]
  node_browser_app["Framework Website<br/>[index.html]"]
  node_tree_ui["Resource Tree<br/>[arf.js]"]
  node_search["Tool Search<br/>[arf.js]"]
  node_tool_panel["Tool Details<br/>[arf.js]"]
  node_feedback_ui["Ratings and Reports<br/>[arf.js]"]
end

subgraph group_feedback["Feedback Services"]
  node_worker["API Router<br/>[worker.js]"]
  node_tracking["Click Tracking<br/>[worker.js]"]
  node_tool_stats["Tool Statistics<br/>[worker.js]"]
  node_ratings["Rating Handler<br/>[worker.js]"]
  node_reports["Report Handler<br/>[worker.js]"]
  node_click_store[("Interaction Store")]
end

subgraph group_integrations["External Integrations"]
  node_github["GitHub Issues"]
end

node_visitor(("OSINT Seeker"))

node_visitor -->|"opens"| node_browser_app
node_catalog_data -.->|"populates"| node_tree_ui
node_browser_app -.->|"renders"| node_tree_ui
node_visitor -->|"searches"| node_search
node_search -->|"opens result"| node_tool_panel
node_visitor -->|"inspects"| node_tool_panel
node_tool_panel -->|"offers feedback"| node_feedback_ui
node_feedback_ui -->|"submits tracking"| node_worker
node_worker -->|"routes requests"| node_tracking
node_worker -->|"routes requests"| node_tool_stats
node_worker -.->|"routes requests"| node_ratings
node_worker -.->|"routes requests"| node_reports
node_tracking -->|"reads and writes"| node_click_store
node_tool_stats -->|"reads"| node_click_store
node_ratings -->|"reads and writes"| node_click_store
node_reports -->|"reads and writes"| node_click_store
node_reports -->|"creates issue"| node_github

click node_catalog_data "https://github.com/lockfale/osint-framework/blob/master/public/arf.json"
click node_browser_app "https://github.com/lockfale/osint-framework/blob/master/public/index.html"
click node_tree_ui "https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js"
click node_search "https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js"
click node_tool_panel "https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js"
click node_feedback_ui "https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js"
click node_worker "https://github.com/lockfale/osint-framework/blob/master/src/worker.js"
click node_tracking "https://github.com/lockfale/osint-framework/blob/master/src/worker.js"
click node_tool_stats "https://github.com/lockfale/osint-framework/blob/master/src/worker.js"
click node_ratings "https://github.com/lockfale/osint-framework/blob/master/src/worker.js"
click node_reports "https://github.com/lockfale/osint-framework/blob/master/src/worker.js"

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_catalog_data toneBlue
class node_browser_app,node_tree_ui,node_search,node_tool_panel,node_feedback_ui toneAmber
class node_worker,node_tracking,node_tool_stats,node_ratings,node_reports,node_click_store toneMint
class node_github toneRose
class node_visitor toneIndigo
```

## Components

### Resource Catalog

- [Tool Catalog](https://github.com/lockfale/osint-framework/blob/master/public/arf.json): `public/arf.json`

### Browser Experience

- [Framework Website](https://github.com/lockfale/osint-framework/blob/master/public/index.html): `public/index.html`
- [Resource Tree](https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js): `public/js/arf.js`
- [Tool Search](https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js): `public/js/arf.js`
- [Tool Details](https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js): `public/js/arf.js`
- [Ratings and Reports](https://github.com/lockfale/osint-framework/blob/master/public/js/arf.js): `public/js/arf.js`

### Feedback Services

- [API Router](https://github.com/lockfale/osint-framework/blob/master/src/worker.js): `src/worker.js`
- [Click Tracking](https://github.com/lockfale/osint-framework/blob/master/src/worker.js): `src/worker.js`
- [Tool Statistics](https://github.com/lockfale/osint-framework/blob/master/src/worker.js): `src/worker.js`
- [Rating Handler](https://github.com/lockfale/osint-framework/blob/master/src/worker.js): `src/worker.js`
- [Report Handler](https://github.com/lockfale/osint-framework/blob/master/src/worker.js): `src/worker.js`
- **Interaction Store**

### External Integrations

- **GitHub Issues**

### Other components

- **OSINT Seeker**

## Connections

- OSINT Seeker → Framework Website: opens (evidence: `README.md`)
- Tool Catalog → Resource Tree: populates
- Framework Website → Resource Tree: renders
- OSINT Seeker → Tool Search: searches (evidence: `public/js/arf.js`)
- Tool Search → Tool Details: opens result (evidence: `public/js/arf.js`)
- OSINT Seeker → Tool Details: inspects (evidence: `public/js/arf.js`)
- Tool Details → Ratings and Reports: offers feedback (evidence: `public/js/arf.js`)
- Ratings and Reports → API Router: submits tracking (evidence: `public/js/arf.js`)
- API Router → Click Tracking: routes requests (evidence: `src/worker.js`)
- API Router → Tool Statistics: routes requests (evidence: `src/worker.js`)
- API Router → Rating Handler: routes requests (evidence: `src/worker.js`)
- API Router → Report Handler: routes requests (evidence: `src/worker.js`)
- Click Tracking → Interaction Store: reads and writes (evidence: `src/worker.js`)
- Tool Statistics → Interaction Store: reads (evidence: `src/worker.js`)
- Rating Handler → Interaction Store: reads and writes (evidence: `src/worker.js`)
- Report Handler → Interaction Store: reads and writes (evidence: `src/worker.js`)
- Report Handler → GitHub Issues: creates issue (evidence: `src/worker.js`)
