# sihombingjoshua/osiris architecture

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

- Interactive diagram: https://gitdiagram.com/sihombingjoshua/osiris
- Repository: https://github.com/sihombingjoshua/osiris

## Overview

OSIRIS is a real-time OSINT dashboard: users explore intelligence layers on a global map and open specialized RECON tools. The map-facing API surface spans aviation, maritime, CCTV, conflicts, news, weather, seismic, fires, cyber, space, markets, and other intelligence domains; AI briefing and the Polybolos SDK provide additional analysis and integration capabilities. The README documents the broad client/API/source flow; sampled source confirms selected route behavior and SDK relationships. Many route and UI internals were not sampled, so those links rely on README evidence.

Main entry points: [`src/components/OsirisMap.tsx`](https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsirisMap.tsx) (Global map), [`src/components/OsintPanel.tsx`](https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsintPanel.tsx) (RECON panel), [`src/app/api/cctv`](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/cctv) (Camera aggregation), [`src/lib/stealthFetch.ts`](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/stealthFetch.ts) (Stealth fetch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Dashboard client"]
  node_dashboard["Global map<br/>[OsirisMap.tsx]"]
  node_recon_ui["RECON panel<br/>[OsintPanel.tsx]"]
  node_camera_ui["Camera viewer<br/>[CameraViewer.tsx]"]
end

subgraph group_feeds["Intelligence feeds"]
  node_cctv["Camera aggregation"]
  node_cctv_regions["Regional camera sources"]
  node_aviation["Flight tracking<br/>[route.ts]"]
  node_conflicts["Conflict monitoring<br/>[route.ts]"]
  node_weather["Severe weather<br/>[route.ts]"]
  node_satellites["Satellite tracking<br/>[route.ts]"]
  node_maritime["Maritime intelligence<br/>[route.ts]"]
  node_environment["Earth and environment"]
  node_news["News and broadcasts"]
  node_cyber["Cyber intelligence"]
end

subgraph group_recon["RECON and analysis"]
  node_osint_api["OSINT lookups"]
  node_scanner["Vulnerability scanner<br/>[route.ts]"]
  node_sanctions["Sanctions search<br/>[sanctions.ts]"]
  node_ai["AI analysis"]
  node_ai_engine["AI engine<br/>[ai-engine.ts]"]
end

subgraph group_integration["SDK integration"]
  node_polybolos["Polybolos client<br/>[PolybolosClient.ts]"]
  node_lattice["Lattice adapter<br/>[LatticeAdapter.ts]"]
end

subgraph group_shared["Shared runtime"]
  node_stealth["Stealth fetch<br/>[stealthFetch.ts]"]
  node_osint_utils["OSINT utilities<br/>[osint-utils.ts]"]
end

node_operator(("Analyst"))
node_external_data(("External data providers"))
node_lattice_service(("Lattice service"))

node_operator -->|"explores"| node_dashboard
node_operator -->|"uses tools"| node_recon_ui
node_dashboard -->|"requests layers"| node_cctv
node_dashboard -->|"requests layers"| node_aviation
node_dashboard -->|"requests layers"| node_conflicts
node_dashboard -->|"requests layers"| node_weather
node_dashboard -->|"requests layers"| node_satellites
node_dashboard -->|"requests layers"| node_maritime
node_dashboard -->|"requests layers"| node_environment
node_dashboard -->|"requests layers"| node_news
node_dashboard -->|"requests layers"| node_cyber
node_dashboard -->|"requests analysis"| node_ai
node_recon_ui -->|"requests lookups"| node_osint_api
node_recon_ui -->|"requests scans"| node_scanner
node_recon_ui -->|"searches sanctions"| node_sanctions
node_recon_ui -->|"uses types"| node_osint_utils
node_camera_ui -->|"shows feeds"| node_cctv
node_cctv -->|"dispatches fetches"| node_cctv_regions
node_cctv -->|"fetches sources"| node_stealth
node_aviation -->|"fetches feeds"| node_stealth
node_weather -->|"fetches feeds"| node_stealth
node_satellites -->|"fetches TLE data"| node_stealth
node_conflicts -->|"fetches sources"| node_stealth
node_ai -.->|"uses engine"| node_ai_engine
node_polybolos -->|"initializes adapter"| node_lattice
node_polybolos -.->|"opens stream"| node_lattice_service
node_cctv -->|"aggregates feeds"| node_external_data
node_aviation -->|"queries providers"| node_external_data
node_weather -->|"queries providers"| node_external_data
node_satellites -->|"queries providers"| node_external_data
node_conflicts -->|"combines reporting"| node_external_data
node_polybolos -.->|"streams entities"| node_dashboard

click node_dashboard "https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsirisMap.tsx"
click node_recon_ui "https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsintPanel.tsx"
click node_camera_ui "https://github.com/sihombingjoshua/osiris/blob/master/src/components/CameraViewer.tsx"
click node_cctv "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/cctv"
click node_cctv_regions "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/cctv"
click node_aviation "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/flights/route.ts"
click node_conflicts "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/conflicts/route.ts"
click node_weather "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/weather/route.ts"
click node_satellites "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/satellites/route.ts"
click node_maritime "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/maritime/route.ts"
click node_environment "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api"
click node_news "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api"
click node_cyber "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api"
click node_osint_api "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/osint"
click node_scanner "https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/scanner/route.ts"
click node_sanctions "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sanctions.ts"
click node_ai "https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/ai"
click node_ai_engine "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/ai-engine.ts"
click node_polybolos "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sdk/PolybolosClient.ts"
click node_lattice "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sdk/LatticeAdapter.ts"
click node_stealth "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/stealthFetch.ts"
click node_osint_utils "https://github.com/sihombingjoshua/osiris/blob/master/src/lib/osint-utils.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_recon_ui,node_camera_ui toneBlue
class node_cctv,node_cctv_regions,node_aviation,node_conflicts,node_weather,node_satellites,node_maritime,node_environment,node_news,node_cyber toneAmber
class node_osint_api,node_scanner,node_sanctions,node_ai,node_ai_engine toneMint
class node_polybolos,node_lattice toneRose
class node_stealth,node_osint_utils,node_operator,node_external_data,node_lattice_service toneIndigo
```

## Components

### Dashboard client

- [Global map](https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsirisMap.tsx): `src/components/OsirisMap.tsx`
- [RECON panel](https://github.com/sihombingjoshua/osiris/blob/master/src/components/OsintPanel.tsx): `src/components/OsintPanel.tsx`
- [Camera viewer](https://github.com/sihombingjoshua/osiris/blob/master/src/components/CameraViewer.tsx): `src/components/CameraViewer.tsx`

### Intelligence feeds

- [Camera aggregation](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/cctv): `src/app/api/cctv`
- [Regional camera sources](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/cctv): `src/app/api/cctv`
- [Flight tracking](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/flights/route.ts): `src/app/api/flights/route.ts`
- [Conflict monitoring](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/conflicts/route.ts): `src/app/api/conflicts/route.ts`
- [Severe weather](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/weather/route.ts): `src/app/api/weather/route.ts`
- [Satellite tracking](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/satellites/route.ts): `src/app/api/satellites/route.ts`
- [Maritime intelligence](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/maritime/route.ts): `src/app/api/maritime/route.ts`
- [Earth and environment](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api): `src/app/api`
- [News and broadcasts](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api): `src/app/api`
- [Cyber intelligence](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api): `src/app/api`

### RECON and analysis

- [OSINT lookups](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/osint): `src/app/api/osint`
- [Vulnerability scanner](https://github.com/sihombingjoshua/osiris/blob/master/src/app/api/scanner/route.ts): `src/app/api/scanner/route.ts`
- [Sanctions search](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sanctions.ts): `src/lib/sanctions.ts`
- [AI analysis](https://github.com/sihombingjoshua/osiris/tree/master/src/app/api/ai): `src/app/api/ai`
- [AI engine](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/ai-engine.ts): `src/lib/ai-engine.ts`

### SDK integration

- [Polybolos client](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sdk/PolybolosClient.ts): `src/lib/sdk/PolybolosClient.ts`
- [Lattice adapter](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/sdk/LatticeAdapter.ts): `src/lib/sdk/LatticeAdapter.ts`

### Shared runtime

- [Stealth fetch](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/stealthFetch.ts): `src/lib/stealthFetch.ts`
- [OSINT utilities](https://github.com/sihombingjoshua/osiris/blob/master/src/lib/osint-utils.ts): `src/lib/osint-utils.ts`

### Other components

- **Analyst**
- **External data providers**
- **Lattice service**

## Connections

- Analyst → Global map: explores (evidence: `README.md`)
- Analyst → RECON panel: uses tools (evidence: `README.md`)
- Global map → Camera aggregation: requests layers (evidence: `README.md`)
- Global map → Flight tracking: requests layers (evidence: `README.md`)
- Global map → Conflict monitoring: requests layers (evidence: `README.md`)
- Global map → Severe weather: requests layers (evidence: `README.md`)
- Global map → Satellite tracking: requests layers (evidence: `README.md`)
- Global map → Maritime intelligence: requests layers (evidence: `README.md`)
- Global map → Earth and environment: requests layers (evidence: `README.md`)
- Global map → News and broadcasts: requests layers (evidence: `README.md`)
- Global map → Cyber intelligence: requests layers (evidence: `README.md`)
- Global map → AI analysis: requests analysis (evidence: `README.md`)
- RECON panel → OSINT lookups: requests lookups (evidence: `README.md`)
- RECON panel → Vulnerability scanner: requests scans (evidence: `README.md`)
- RECON panel → Sanctions search: searches sanctions (evidence: `README.md`)
- RECON panel → OSINT utilities: uses types (evidence: `src/components/OsintPanel.tsx`)
- Camera viewer → Camera aggregation: shows feeds (evidence: `README.md`)
- Camera aggregation → Regional camera sources: dispatches fetches (evidence: `src/app/api/cctv/route.ts`)
- Camera aggregation → Stealth fetch: fetches sources (evidence: `src/app/api/cctv/route.ts`)
- Flight tracking → Stealth fetch: fetches feeds (evidence: `src/app/api/flights/route.ts`)
- Severe weather → Stealth fetch: fetches feeds (evidence: `src/app/api/weather/route.ts`)
- Satellite tracking → Stealth fetch: fetches TLE data (evidence: `src/app/api/satellites/route.ts`)
- Conflict monitoring → Stealth fetch: fetches sources (evidence: `src/app/api/conflicts/route.ts`)
- AI analysis → AI engine: uses engine
- Polybolos client → Lattice adapter: initializes adapter (evidence: `src/lib/sdk/PolybolosClient.ts`)
- Polybolos client → Lattice service: opens stream
- Camera aggregation → External data providers: aggregates feeds (evidence: `README.md`)
- Flight tracking → External data providers: queries providers (evidence: `README.md`)
- Severe weather → External data providers: queries providers (evidence: `src/app/api/weather/route.ts`)
- Satellite tracking → External data providers: queries providers (evidence: `README.md`)
- Conflict monitoring → External data providers: combines reporting (evidence: `README.md`)
- Polybolos client → Global map: streams entities
