# farukgocgun/osirisai-osint architecture

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

- Interactive diagram: https://gitdiagram.com/farukgocgun/osirisai-osint
- Repository: https://github.com/farukgocgun/osirisai-osint

## Overview

OSIRIS is a real-time OSINT dashboard: users inspect a global map and its intelligence layers, open live camera/news feeds, and run reconnaissance lookups or scans. The app exposes domain-specific API routes; these gather or transform external and static intelligence for the client. The map, layer controls, feeds, and RECON tools form the main client experience. The README documents the broad client/API/source architecture; sampled source confirms CCTV dispatch and scanner security checks. Most page-to-route wiring and unsampled route internals were not inspected, so those links are omitted.

Main entry points: [`src/app/page.tsx`](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/page.tsx) (Dashboard Shell), [`src/app/api/scanner/route.ts`](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/scanner/route.ts) (Vulnerability Scanner), [`src/app/api/cctv`](https://github.com/farukgocgun/osirisai-osint/tree/master/src/app/api/cctv) (CCTV Network), [`src/components/OsirisMap.tsx`](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/OsirisMap.tsx) (GPU Map)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Dashboard Client"]
  node_dashboard["Dashboard Shell<br/>[page.tsx]"]
  node_map["GPU Map<br/>[OsirisMap.tsx]"]
  node_layers["Layer Controls<br/>[LayerPanel.tsx]"]
  node_camera_viewer["Camera Viewer<br/>[CameraViewer.tsx]"]
  node_intel_feed["Intel Feed<br/>[IntelFeed.tsx]"]
  node_osint_panel["RECON Panel<br/>[OsintPanel.tsx]"]
end

subgraph group_situational["Situational Intelligence"]
  node_aviation["Aviation<br/>[route.ts]"]
  node_cctv["CCTV Network"]
  node_seismic_fires["Seismic &amp; Fires<br/>[route.ts]"]
  node_conflict["Conflict Zones<br/>[route.ts]"]
  node_news["News &amp; Streams<br/>[route.ts]"]
  node_environment["Weather &amp; Space<br/>[route.ts]"]
  node_maritime["Maritime<br/>[route.ts]"]
end

subgraph group_recon["RECON Toolkit"]
  node_recon_api["Recon Routes"]
  node_scanner["Vulnerability Scanner<br/>[route.ts]"]
end

subgraph group_services["API Services"]
  node_external_data["External Data Sources"]
  node_scanner_service["Scanner Service"]
end

subgraph group_safety["Request Safety"]
  node_ssrf["Host Validation<br/>[ssrf-guard.ts]"]
end

node_analyst(("Analyst"))

node_analyst -->|"opens"| node_dashboard
node_dashboard -->|"presents"| node_map
node_dashboard -->|"offers controls"| node_layers
node_dashboard -->|"opens feeds"| node_camera_viewer
node_dashboard -->|"presents news"| node_intel_feed
node_dashboard -->|"offers RECON"| node_osint_panel
node_external_data -->|"supplies tracking"| node_aviation
node_external_data -->|"supplies cameras"| node_cctv
node_external_data -->|"supplies events"| node_seismic_fires
node_external_data -->|"supplies intel"| node_conflict
node_external_data -->|"supplies broadcasts"| node_news
node_external_data -->|"supplies conditions"| node_environment
node_external_data -->|"supplies port intel"| node_maritime
node_external_data -->|"supplies threat data"| node_recon_api
node_external_data -->|"provides scan service"| node_scanner
node_scanner -->|"validates target"| node_ssrf
node_scanner -->|"requests scan"| node_scanner_service
node_cctv -->|"fetches cameras"| node_external_data

click node_dashboard "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/page.tsx"
click node_map "https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/OsirisMap.tsx"
click node_layers "https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/LayerPanel.tsx"
click node_camera_viewer "https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/CameraViewer.tsx"
click node_intel_feed "https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/IntelFeed.tsx"
click node_osint_panel "https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/OsintPanel.tsx"
click node_aviation "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/flights/route.ts"
click node_cctv "https://github.com/farukgocgun/osirisai-osint/tree/master/src/app/api/cctv"
click node_seismic_fires "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/earthquakes/route.ts"
click node_conflict "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/frontlines/route.ts"
click node_news "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/live-news/route.ts"
click node_environment "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/weather/route.ts"
click node_maritime "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/maritime/route.ts"
click node_recon_api "https://github.com/farukgocgun/osirisai-osint/tree/master/src/app/api/osint"
click node_scanner "https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/scanner/route.ts"
click node_ssrf "https://github.com/farukgocgun/osirisai-osint/blob/master/src/lib/ssrf-guard.ts"

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_map,node_layers,node_camera_viewer,node_intel_feed,node_osint_panel toneBlue
class node_aviation,node_cctv,node_seismic_fires,node_conflict,node_news,node_environment,node_maritime toneAmber
class node_recon_api,node_scanner toneMint
class node_external_data,node_scanner_service toneRose
class node_ssrf,node_analyst toneIndigo
```

## Components

### Dashboard Client

- [Dashboard Shell](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/page.tsx): `src/app/page.tsx`
- [GPU Map](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/OsirisMap.tsx): `src/components/OsirisMap.tsx`
- [Layer Controls](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/LayerPanel.tsx): `src/components/LayerPanel.tsx`
- [Camera Viewer](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/CameraViewer.tsx): `src/components/CameraViewer.tsx`
- [Intel Feed](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/IntelFeed.tsx): `src/components/IntelFeed.tsx`
- [RECON Panel](https://github.com/farukgocgun/osirisai-osint/blob/master/src/components/OsintPanel.tsx): `src/components/OsintPanel.tsx`

### Situational Intelligence

- [Aviation](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/flights/route.ts): `src/app/api/flights/route.ts`
- [CCTV Network](https://github.com/farukgocgun/osirisai-osint/tree/master/src/app/api/cctv): `src/app/api/cctv`
- [Seismic & Fires](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/earthquakes/route.ts): `src/app/api/earthquakes/route.ts`
- [Conflict Zones](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/frontlines/route.ts): `src/app/api/frontlines/route.ts`
- [News & Streams](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/live-news/route.ts): `src/app/api/live-news/route.ts`
- [Weather & Space](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/weather/route.ts): `src/app/api/weather/route.ts`
- [Maritime](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/maritime/route.ts): `src/app/api/maritime/route.ts`

### RECON Toolkit

- [Recon Routes](https://github.com/farukgocgun/osirisai-osint/tree/master/src/app/api/osint): `src/app/api/osint`
- [Vulnerability Scanner](https://github.com/farukgocgun/osirisai-osint/blob/master/src/app/api/scanner/route.ts): `src/app/api/scanner/route.ts`

### API Services

- **External Data Sources**
- **Scanner Service**

### Request Safety

- [Host Validation](https://github.com/farukgocgun/osirisai-osint/blob/master/src/lib/ssrf-guard.ts): `src/lib/ssrf-guard.ts`

### Other components

- **Analyst**

## Connections

- Analyst → Dashboard Shell: opens (evidence: `README.md`)
- Dashboard Shell → GPU Map: presents (evidence: `README.md`)
- Dashboard Shell → Layer Controls: offers controls (evidence: `README.md`)
- Dashboard Shell → Camera Viewer: opens feeds (evidence: `README.md`)
- Dashboard Shell → Intel Feed: presents news (evidence: `README.md`)
- Dashboard Shell → RECON Panel: offers RECON (evidence: `README.md`)
- External Data Sources → Aviation: supplies tracking (evidence: `README.md`)
- External Data Sources → CCTV Network: supplies cameras (evidence: `README.md`)
- External Data Sources → Seismic & Fires: supplies events (evidence: `README.md`)
- External Data Sources → Conflict Zones: supplies intel (evidence: `README.md`)
- External Data Sources → News & Streams: supplies broadcasts (evidence: `README.md`)
- External Data Sources → Weather & Space: supplies conditions (evidence: `README.md`)
- External Data Sources → Maritime: supplies port intel (evidence: `README.md`)
- External Data Sources → Recon Routes: supplies threat data (evidence: `README.md`)
- External Data Sources → Vulnerability Scanner: provides scan service (evidence: `README.md`)
- Vulnerability Scanner → Host Validation: validates target (evidence: `src/app/api/scanner/route.ts`)
- Vulnerability Scanner → Scanner Service: requests scan (evidence: `src/app/api/scanner/route.ts`)
- CCTV Network → External Data Sources: fetches cameras (evidence: `src/app/api/cctv/route.ts`)
