# simplifaisoul/osiris architecture

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

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

## Overview

OSIRIS is a global OSINT dashboard: users explore a GPU-rendered map, activate intelligence layers and open domain-specific tools to inspect live results. The principal flow runs from the dashboard through API routes that gather or enrich upstream data, then presents entities, alerts, cameras and feeds in map panels. The README also identifies RECON scanning, sanctions and crypto checks, AI, weather, space and other intelligence domains. Some branches are documented but their client wiring was not sampled; dashed edges mark those uncertain links.

Main entry points: [`src/components/LayerPanel.tsx`](https://github.com/simplifaisoul/osiris/blob/master/src/components/LayerPanel.tsx) (Layer controls), [`src/lib/stealthFetch.ts`](https://github.com/simplifaisoul/osiris/blob/master/src/lib/stealthFetch.ts) (Upstream fetch), [`src/components/OsirisMap.tsx`](https://github.com/simplifaisoul/osiris/blob/master/src/components/OsirisMap.tsx) (OSIRIS map), [`src/components/OsintPanel.tsx`](https://github.com/simplifaisoul/osiris/blob/master/src/components/OsintPanel.tsx) (RECON panel)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Map dashboard"]
  node_page["Dashboard shell<br/>[page.tsx]"]
  node_map["OSIRIS map<br/>[OsirisMap.tsx]"]
  node_layers["Layer controls<br/>[LayerPanel.tsx]"]
  node_alerts["Live alerts<br/>[LiveAlerts.tsx]"]
  node_cameras["Camera previews<br/>[CctvPreviews.tsx]"]
  node_newsview["News previews"]
  node_recon["RECON panel<br/>[OsintPanel.tsx]"]
  node_flightview["Flight watch"]
end

subgraph group_apis["Intelligence APIs"]
  node_cctvapi["Camera catalogue<br/>[route.ts]"]
  node_flightapi["Flight tracking<br/>[route.ts]"]
  node_newsapi["News and Telegram<br/>[route.ts]"]
  node_conflicts["Conflict monitoring<br/>[route.ts]"]
  node_routes["Flight routes<br/>[route.ts]"]
  node_weather["Weather events<br/>[route.ts]"]
  node_space["Satellite tracking<br/>[route.ts]"]
  node_directions["Route directions<br/>[route.ts]"]
  node_maritime["Maritime intelligence<br/>[route.ts]"]
  node_cctvproviders["Regional camera sources<br/>[france.ts]"]
end

subgraph group_intel["Recon and analysis"]
  node_reconapi["OSINT services"]
  node_scanner["Vulnerability scanner<br/>[route.ts]"]
  node_crypto["Crypto intelligence<br/>[route.ts]"]
  node_sanctions["Sanctions search<br/>[route.ts]"]
  node_ai["AI analysis<br/>[route.ts]"]
end

subgraph group_support["Data support"]
  node_cache[("Source cache<br/>[sourceCache.ts]")]
  node_fetch["Upstream fetch<br/>[stealthFetch.ts]"]
  node_preview["Preview media rules<br/>[camera-preview.ts]"]
  node_telegram["Telegram parsing<br/>[telegram.ts]"]
  node_alertsplace["Report geolocation<br/>[alert-places.ts]"]
  node_airports["Airport lookup<br/>[airports.ts]"]
  node_orbit["Orbit calculations<br/>[orbit.ts]"]
end

node_user(("Analyst"))
node_opensky(("Flight data provider"))
node_publiccams(("Public camera sources"))
node_newsfeeds(("News sources"))

node_user -.->|"opens"| node_page
node_page -.->|"presents"| node_map
node_map -.->|"activates"| node_layers
node_layers -.->|"requests"| node_flightapi
node_layers -.->|"requests"| node_cctvapi
node_layers -.->|"requests"| node_newsapi
node_layers -.->|"requests"| node_conflicts
node_layers -.->|"requests"| node_weather
node_layers -.->|"requests"| node_space
node_flightview -.->|"resolves route"| node_routes
node_map -.->|"requests"| node_directions
node_cctvapi -->|"dispatches"| node_cctvproviders
node_cctvapi -->|"reads and writes"| node_cache
node_cctvapi -->|"fetches sources"| node_fetch
node_cctvproviders -.->|"fetches feeds"| node_publiccams
node_cameras -->|"uses rules"| node_preview
node_cameras -->|"positions tiles"| node_map
node_flightapi -->|"fetches data"| node_fetch
node_flightapi -->|"queries"| node_opensky
node_newsapi -->|"parses posts"| node_telegram
node_newsapi -->|"locates reports"| node_alertsplace
node_newsapi -->|"caches feeds"| node_cache
node_newsview -.->|"renders on"| node_map
node_newsapi -.->|"reads feeds"| node_newsfeeds
node_conflicts -->|"fetches events"| node_fetch
node_routes -->|"looks up airports"| node_airports
node_routes -->|"queries providers"| node_fetch
node_weather -->|"fetches events"| node_fetch
node_weather -->|"caches results"| node_cache
node_space -->|"calculates positions"| node_orbit
node_space -->|"fetches data"| node_fetch
node_directions -->|"queries routers"| node_fetch
node_recon -.->|"requests lookups"| node_reconapi
node_recon -.->|"runs scans"| node_scanner
node_recon -.->|"traces wallets"| node_crypto
node_recon -.->|"searches names"| node_sanctions
node_recon -.->|"requests analysis"| node_ai
node_map -.->|"shows vessels"| node_maritime

click node_page "https://github.com/simplifaisoul/osiris/blob/master/src/app/page.tsx"
click node_map "https://github.com/simplifaisoul/osiris/blob/master/src/components/OsirisMap.tsx"
click node_layers "https://github.com/simplifaisoul/osiris/blob/master/src/components/LayerPanel.tsx"
click node_alerts "https://github.com/simplifaisoul/osiris/blob/master/src/components/LiveAlerts.tsx"
click node_cameras "https://github.com/simplifaisoul/osiris/blob/master/src/components/CctvPreviews.tsx"
click node_newsview "https://github.com/simplifaisoul/osiris/blob/master/src/components/LiveNewsPreviews.tsx"
click node_recon "https://github.com/simplifaisoul/osiris/blob/master/src/components/OsintPanel.tsx"
click node_flightview "https://github.com/simplifaisoul/osiris/blob/master/src/components/FlightWatchPanel.tsx"
click node_cctvapi "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/cctv/route.ts"
click node_flightapi "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/flights/route.ts"
click node_newsapi "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/news/route.ts"
click node_conflicts "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/conflicts/route.ts"
click node_routes "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/flight-route/route.ts"
click node_weather "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/weather/route.ts"
click node_space "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/satellites/route.ts"
click node_directions "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/directions/route.ts"
click node_reconapi "https://github.com/simplifaisoul/osiris/tree/master/src/app/api/osint"
click node_scanner "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/scanner/route.ts"
click node_crypto "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/osint/crypto/route.ts"
click node_sanctions "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/osint/sanctions/route.ts"
click node_ai "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/ai/analyze/route.ts"
click node_maritime "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/maritime/route.ts"
click node_cctvproviders "https://github.com/simplifaisoul/osiris/blob/master/src/app/api/cctv/france.ts"
click node_cache "https://github.com/simplifaisoul/osiris/blob/master/src/lib/sourceCache.ts"
click node_fetch "https://github.com/simplifaisoul/osiris/blob/master/src/lib/stealthFetch.ts"
click node_preview "https://github.com/simplifaisoul/osiris/blob/master/src/lib/camera-preview.ts"
click node_telegram "https://github.com/simplifaisoul/osiris/blob/master/src/lib/telegram.ts"
click node_alertsplace "https://github.com/simplifaisoul/osiris/blob/master/src/lib/alert-places.ts"
click node_airports "https://github.com/simplifaisoul/osiris/blob/master/src/lib/airports.ts"
click node_orbit "https://github.com/simplifaisoul/osiris/blob/master/src/lib/orbit.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_page,node_map,node_layers,node_alerts,node_cameras,node_newsview,node_recon,node_flightview toneBlue
class node_cctvapi,node_flightapi,node_newsapi,node_conflicts,node_routes,node_weather,node_space,node_directions,node_maritime,node_cctvproviders toneAmber
class node_reconapi,node_scanner,node_crypto,node_sanctions,node_ai toneMint
class node_cache,node_fetch,node_preview,node_telegram,node_alertsplace,node_airports,node_orbit toneRose
class node_user,node_opensky,node_publiccams,node_newsfeeds toneIndigo
```

## Components

### Map dashboard

- [Dashboard shell](https://github.com/simplifaisoul/osiris/blob/master/src/app/page.tsx): `src/app/page.tsx`
- [OSIRIS map](https://github.com/simplifaisoul/osiris/blob/master/src/components/OsirisMap.tsx): `src/components/OsirisMap.tsx`
- [Layer controls](https://github.com/simplifaisoul/osiris/blob/master/src/components/LayerPanel.tsx): `src/components/LayerPanel.tsx`
- [Live alerts](https://github.com/simplifaisoul/osiris/blob/master/src/components/LiveAlerts.tsx): `src/components/LiveAlerts.tsx`
- [Camera previews](https://github.com/simplifaisoul/osiris/blob/master/src/components/CctvPreviews.tsx): `src/components/CctvPreviews.tsx`
- [News previews](https://github.com/simplifaisoul/osiris/blob/master/src/components/LiveNewsPreviews.tsx): `src/components/LiveNewsPreviews.tsx`
- [RECON panel](https://github.com/simplifaisoul/osiris/blob/master/src/components/OsintPanel.tsx): `src/components/OsintPanel.tsx`
- [Flight watch](https://github.com/simplifaisoul/osiris/blob/master/src/components/FlightWatchPanel.tsx): `src/components/FlightWatchPanel.tsx`

### Intelligence APIs

- [Camera catalogue](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/cctv/route.ts): `src/app/api/cctv/route.ts`
- [Flight tracking](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/flights/route.ts): `src/app/api/flights/route.ts`
- [News and Telegram](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/news/route.ts): `src/app/api/news/route.ts`
- [Conflict monitoring](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/conflicts/route.ts): `src/app/api/conflicts/route.ts`
- [Flight routes](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/flight-route/route.ts): `src/app/api/flight-route/route.ts`
- [Weather events](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/weather/route.ts): `src/app/api/weather/route.ts`
- [Satellite tracking](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/satellites/route.ts): `src/app/api/satellites/route.ts`
- [Route directions](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/directions/route.ts): `src/app/api/directions/route.ts`
- [Maritime intelligence](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/maritime/route.ts): `src/app/api/maritime/route.ts`
- [Regional camera sources](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/cctv/france.ts): `src/app/api/cctv/france.ts`

### Recon and analysis

- [OSINT services](https://github.com/simplifaisoul/osiris/tree/master/src/app/api/osint): `src/app/api/osint`
- [Vulnerability scanner](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/scanner/route.ts): `src/app/api/scanner/route.ts`
- [Crypto intelligence](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/osint/crypto/route.ts): `src/app/api/osint/crypto/route.ts`
- [Sanctions search](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/osint/sanctions/route.ts): `src/app/api/osint/sanctions/route.ts`
- [AI analysis](https://github.com/simplifaisoul/osiris/blob/master/src/app/api/ai/analyze/route.ts): `src/app/api/ai/analyze/route.ts`

### Data support

- [Source cache](https://github.com/simplifaisoul/osiris/blob/master/src/lib/sourceCache.ts): `src/lib/sourceCache.ts`
- [Upstream fetch](https://github.com/simplifaisoul/osiris/blob/master/src/lib/stealthFetch.ts): `src/lib/stealthFetch.ts`
- [Preview media rules](https://github.com/simplifaisoul/osiris/blob/master/src/lib/camera-preview.ts): `src/lib/camera-preview.ts`
- [Telegram parsing](https://github.com/simplifaisoul/osiris/blob/master/src/lib/telegram.ts): `src/lib/telegram.ts`
- [Report geolocation](https://github.com/simplifaisoul/osiris/blob/master/src/lib/alert-places.ts): `src/lib/alert-places.ts`
- [Airport lookup](https://github.com/simplifaisoul/osiris/blob/master/src/lib/airports.ts): `src/lib/airports.ts`
- [Orbit calculations](https://github.com/simplifaisoul/osiris/blob/master/src/lib/orbit.ts): `src/lib/orbit.ts`

### Other components

- **Analyst**
- **Flight data provider**
- **Public camera sources**
- **News sources**

## Connections

- Analyst → Dashboard shell: opens
- Dashboard shell → OSIRIS map: presents
- OSIRIS map → Layer controls: activates
- Layer controls → Flight tracking: requests
- Layer controls → Camera catalogue: requests
- Layer controls → News and Telegram: requests
- Layer controls → Conflict monitoring: requests
- Layer controls → Weather events: requests
- Layer controls → Satellite tracking: requests
- Flight watch → Flight routes: resolves route
- OSIRIS map → Route directions: requests
- Camera catalogue → Regional camera sources: dispatches (evidence: `src/app/api/cctv/route.ts`)
- Camera catalogue → Source cache: reads and writes (evidence: `src/app/api/cctv/route.ts`)
- Camera catalogue → Upstream fetch: fetches sources (evidence: `src/app/api/cctv/route.ts`)
- Regional camera sources → Public camera sources: fetches feeds
- Camera previews → Preview media rules: uses rules (evidence: `src/components/CctvPreviews.tsx`)
- Camera previews → OSIRIS map: positions tiles (evidence: `src/components/CctvPreviews.tsx`)
- Flight tracking → Upstream fetch: fetches data (evidence: `src/app/api/flights/route.ts`)
- Flight tracking → Flight data provider: queries (evidence: `src/app/api/flights/route.ts`)
- News and Telegram → Telegram parsing: parses posts (evidence: `src/app/api/news/route.ts`)
- News and Telegram → Report geolocation: locates reports (evidence: `src/app/api/news/route.ts`)
- News and Telegram → Source cache: caches feeds (evidence: `src/app/api/news/route.ts`)
- News previews → OSIRIS map: renders on
- News and Telegram → News sources: reads feeds
- Conflict monitoring → Upstream fetch: fetches events (evidence: `src/app/api/conflicts/route.ts`)
- Flight routes → Airport lookup: looks up airports (evidence: `src/app/api/flight-route/route.ts`)
- Flight routes → Upstream fetch: queries providers (evidence: `src/app/api/flight-route/route.ts`)
- Weather events → Upstream fetch: fetches events (evidence: `src/app/api/weather/route.ts`)
- Weather events → Source cache: caches results (evidence: `src/app/api/weather/route.ts`)
- Satellite tracking → Orbit calculations: calculates positions (evidence: `src/app/api/satellites/route.ts`)
- Satellite tracking → Upstream fetch: fetches data (evidence: `src/app/api/satellites/route.ts`)
- Route directions → Upstream fetch: queries routers (evidence: `src/app/api/directions/route.ts`)
- RECON panel → OSINT services: requests lookups
- RECON panel → Vulnerability scanner: runs scans
- RECON panel → Crypto intelligence: traces wallets
- RECON panel → Sanctions search: searches names
- RECON panel → AI analysis: requests analysis
- OSIRIS map → Maritime intelligence: shows vessels
