# maraboinavamshi/osiris architecture

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

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

## Overview

OSIRIS is a real-time OSINT dashboard. Users inspect a global map and activate intelligence layers or RECON tools; the client obtains domain data through Next.js API routes, which aggregate upstream feeds and return results for display. The graph includes the README-documented aviation, CCTV, conflict, news, space, cyber, markets, and AI capabilities, plus routing, caching, and fetch layers visible in sampled sources. Several UI-to-route links and capabilities are documented rather than source-verified; those edges cite the README.

Main entry points: [`src/components/LayerPanel.tsx`](https://github.com/maraboinavamshi/osiris/blob/master/src/components/LayerPanel.tsx) (Layer controls), [`src/components/OsirisMap.tsx`](https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsirisMap.tsx) (Map dashboard), [`src/app/api/cctv/route.ts`](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/cctv/route.ts) (CCTV aggregation), [`src/components/OsintPanel.tsx`](https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsintPanel.tsx) (RECON panel)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Dashboard client"]
  node_dashboard["Map dashboard<br/>[OsirisMap.tsx]"]
  node_layers["Layer controls<br/>[LayerPanel.tsx]"]
  node_camera_ui["Camera previews<br/>[CctvPreviews.tsx]"]
  node_news_ui["News previews"]
  node_recon_ui["RECON panel<br/>[OsintPanel.tsx]"]
end

subgraph group_intelligence["Live intelligence"]
  node_aviation["Flight tracking<br/>[route.ts]"]
  node_flight_routes["Flight routes<br/>[route.ts]"]
  node_cctv_api["CCTV aggregation<br/>[route.ts]"]
  node_cctv_regions["Regional camera feeds"]
  node_conflicts["Conflict monitoring<br/>[route.ts]"]
  node_news["Live news<br/>[route.ts]"]
  node_weather_space["Weather and space<br/>[route.ts]"]
  node_satellites["Satellite tracking<br/>[route.ts]"]
  node_markets["Markets<br/>[route.ts]"]
end

subgraph group_recon["RECON tools"]
  node_cyber["Cyber intelligence"]
  node_scanner["Vulnerability scanner<br/>[route.ts]"]
  node_ai["AI analysis"]
end

subgraph group_runtime["API runtime"]
  node_cache[("Source cache<br/>[sourceCache.ts]")]
  node_fetch["Upstream fetch<br/>[stealthFetch.ts]"]
end

node_operator(("Analyst"))
node_opensky(("Flight data providers"))
node_camera_sources(("Camera networks"))
node_conflict_sources(("Conflict feeds"))
node_news_sources(("Broadcasters and feeds"))
node_space_sources(("NOAA and satellite feeds"))
node_market_sources(("Market providers"))
node_cyber_sources(("Cyber data providers"))
node_ai_provider(("AI provider"))

node_operator -->|"uses"| node_dashboard
node_dashboard -->|"controls"| node_layers
node_layers -->|"requests layer"| node_aviation
node_layers -->|"requests layer"| node_cctv_api
node_layers -->|"requests layer"| node_conflicts
node_layers -->|"requests layer"| node_news
node_layers -->|"requests layer"| node_weather_space
node_layers -->|"requests layer"| node_satellites
node_layers -.->|"requests layer"| node_markets
node_dashboard -.->|"resolves routes"| node_flight_routes
node_dashboard -->|"shows previews"| node_camera_ui
node_dashboard -->|"shows streams"| node_news_ui
node_dashboard -->|"opens toolkit"| node_recon_ui
node_recon_ui -->|"queries intelligence"| node_cyber
node_recon_ui -->|"runs scans"| node_scanner
node_recon_ui -.->|"requests analysis"| node_ai
node_aviation -->|"fetches aircraft"| node_opensky
node_flight_routes -->|"resolves flights"| node_opensky
node_cctv_api -->|"dispatches feeds"| node_cctv_regions
node_cctv_api -->|"caches indexes"| node_cache
node_cctv_api -->|"fetches upstream"| node_fetch
node_cctv_regions -.->|"fetches cameras"| node_camera_sources
node_camera_ui -->|"loads cameras"| node_cctv_api
node_conflicts -->|"aggregates feeds"| node_conflict_sources
node_news -->|"provides streams"| node_news_sources
node_weather_space -->|"fetches weather"| node_space_sources
node_satellites -->|"fetches orbit data"| node_space_sources
node_markets -.->|"fetches prices"| node_market_sources
node_cyber -.->|"queries sources"| node_cyber_sources
node_ai -.->|"requests analysis"| node_ai_provider

click node_dashboard "https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsirisMap.tsx"
click node_layers "https://github.com/maraboinavamshi/osiris/blob/master/src/components/LayerPanel.tsx"
click node_camera_ui "https://github.com/maraboinavamshi/osiris/blob/master/src/components/CctvPreviews.tsx"
click node_news_ui "https://github.com/maraboinavamshi/osiris/blob/master/src/components/LiveNewsPreviews.tsx"
click node_recon_ui "https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsintPanel.tsx"
click node_aviation "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/flights/route.ts"
click node_flight_routes "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/flight-route/route.ts"
click node_cctv_api "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/cctv/route.ts"
click node_cctv_regions "https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/cctv"
click node_conflicts "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/conflicts/route.ts"
click node_news "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/live-news/route.ts"
click node_weather_space "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/weather/route.ts"
click node_satellites "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/satellites/route.ts"
click node_markets "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/markets/route.ts"
click node_cyber "https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/osint"
click node_scanner "https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/scanner/route.ts"
click node_ai "https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/ai"
click node_cache "https://github.com/maraboinavamshi/osiris/blob/master/src/lib/sourceCache.ts"
click node_fetch "https://github.com/maraboinavamshi/osiris/blob/master/src/lib/stealthFetch.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_layers,node_camera_ui,node_news_ui,node_recon_ui toneBlue
class node_aviation,node_flight_routes,node_cctv_api,node_cctv_regions,node_conflicts,node_news,node_weather_space,node_satellites,node_markets toneAmber
class node_cyber,node_scanner,node_ai toneMint
class node_cache,node_fetch toneRose
class node_operator,node_opensky,node_camera_sources,node_conflict_sources,node_news_sources,node_space_sources,node_market_sources,node_cyber_sources,node_ai_provider toneIndigo
```

## Components

### Dashboard client

- [Map dashboard](https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsirisMap.tsx): `src/components/OsirisMap.tsx`
- [Layer controls](https://github.com/maraboinavamshi/osiris/blob/master/src/components/LayerPanel.tsx): `src/components/LayerPanel.tsx`
- [Camera previews](https://github.com/maraboinavamshi/osiris/blob/master/src/components/CctvPreviews.tsx): `src/components/CctvPreviews.tsx`
- [News previews](https://github.com/maraboinavamshi/osiris/blob/master/src/components/LiveNewsPreviews.tsx): `src/components/LiveNewsPreviews.tsx`
- [RECON panel](https://github.com/maraboinavamshi/osiris/blob/master/src/components/OsintPanel.tsx): `src/components/OsintPanel.tsx`

### Live intelligence

- [Flight tracking](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/flights/route.ts): `src/app/api/flights/route.ts`
- [Flight routes](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/flight-route/route.ts): `src/app/api/flight-route/route.ts`
- [CCTV aggregation](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/cctv/route.ts): `src/app/api/cctv/route.ts`
- [Regional camera feeds](https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/cctv): `src/app/api/cctv`
- [Conflict monitoring](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/conflicts/route.ts): `src/app/api/conflicts/route.ts`
- [Live news](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/live-news/route.ts): `src/app/api/live-news/route.ts`
- [Weather and space](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/weather/route.ts): `src/app/api/weather/route.ts`
- [Satellite tracking](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/satellites/route.ts): `src/app/api/satellites/route.ts`
- [Markets](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/markets/route.ts): `src/app/api/markets/route.ts`

### RECON tools

- [Cyber intelligence](https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/osint): `src/app/api/osint`
- [Vulnerability scanner](https://github.com/maraboinavamshi/osiris/blob/master/src/app/api/scanner/route.ts): `src/app/api/scanner/route.ts`
- [AI analysis](https://github.com/maraboinavamshi/osiris/tree/master/src/app/api/ai): `src/app/api/ai`

### API runtime

- [Source cache](https://github.com/maraboinavamshi/osiris/blob/master/src/lib/sourceCache.ts): `src/lib/sourceCache.ts`
- [Upstream fetch](https://github.com/maraboinavamshi/osiris/blob/master/src/lib/stealthFetch.ts): `src/lib/stealthFetch.ts`

### Other components

- **Analyst**
- **Flight data providers**
- **Camera networks**
- **Conflict feeds**
- **Broadcasters and feeds**
- **NOAA and satellite feeds**
- **Market providers**
- **Cyber data providers**
- **AI provider**

## Connections

- Analyst → Map dashboard: uses (evidence: `README.md`)
- Map dashboard → Layer controls: controls (evidence: `README.md`)
- Layer controls → Flight tracking: requests layer (evidence: `README.md`)
- Layer controls → CCTV aggregation: requests layer (evidence: `README.md`)
- Layer controls → Conflict monitoring: requests layer (evidence: `README.md`)
- Layer controls → Live news: requests layer (evidence: `README.md`)
- Layer controls → Weather and space: requests layer (evidence: `README.md`)
- Layer controls → Satellite tracking: requests layer (evidence: `README.md`)
- Layer controls → Markets: requests layer
- Map dashboard → Flight routes: resolves routes
- Map dashboard → Camera previews: shows previews (evidence: `README.md`)
- Map dashboard → News previews: shows streams (evidence: `README.md`)
- Map dashboard → RECON panel: opens toolkit (evidence: `README.md`)
- RECON panel → Cyber intelligence: queries intelligence (evidence: `README.md`)
- RECON panel → Vulnerability scanner: runs scans (evidence: `README.md`)
- RECON panel → AI analysis: requests analysis
- Flight tracking → Flight data providers: fetches aircraft (evidence: `src/app/api/flights/route.ts`)
- Flight routes → Flight data providers: resolves flights (evidence: `src/app/api/flight-route/route.ts`)
- CCTV aggregation → Regional camera feeds: dispatches feeds (evidence: `src/app/api/cctv/route.ts`)
- CCTV aggregation → Source cache: caches indexes (evidence: `src/app/api/cctv/route.ts`)
- CCTV aggregation → Upstream fetch: fetches upstream (evidence: `src/app/api/cctv/route.ts`)
- Regional camera feeds → Camera networks: fetches cameras
- Camera previews → CCTV aggregation: loads cameras (evidence: `README.md`)
- Conflict monitoring → Conflict feeds: aggregates feeds (evidence: `src/app/api/conflicts/route.ts`)
- Live news → Broadcasters and feeds: provides streams (evidence: `README.md`)
- Weather and space → NOAA and satellite feeds: fetches weather (evidence: `src/app/api/weather/route.ts`)
- Satellite tracking → NOAA and satellite feeds: fetches orbit data (evidence: `src/app/api/satellites/route.ts`)
- Markets → Market providers: fetches prices
- Cyber intelligence → Cyber data providers: queries sources
- AI analysis → AI provider: requests analysis
