# mjcruickshank/cheyenne architecture

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

- Interactive diagram: https://gitdiagram.com/mjcruickshank/cheyenne
- Repository: https://github.com/mjcruickshank/cheyenne

## Overview

Cheyenne is a browser-based OSINT tracking board served by a small local Python server. Investigators use the globe to inspect live satellite positions and future passes, search imagery archives, render scenes, and run analyses such as ship detection and burn mapping; other live feeds and reports can be overlaid, then views can be exported as share cards. Groups distinguish the globe and mission workflow, imagery analysis, live situational feeds, and presentation tools. Some backend and frontend wiring is only documented at the capability level; links without direct sampled call evidence are omitted.

Main entry points: [`web/js/main.js`](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/main.js) (Browser board), [`web/js/ais.js`](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ais.js) (AIS tracking), [`web/js/archive.js`](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/archive.js) (Imagery archive search), [`web/js/ccd.js`](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ccd.js) (Coherent change analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_board["Globe and missions"]
  node_webboard["Browser board<br/>[main.js]"]
  node_appstate["Board state<br/>[state.js]"]
  node_globe["Interactive globe<br/>[globe.js]"]
  node_orbit["Satellite tracking<br/>[tracker.js]"]
  node_mission["Mission and passes<br/>[mission.js]"]
end

subgraph group_imagery["Imagery analysis"]
  node_archive["Imagery archive search<br/>[archive.js]"]
  node_ccd["Coherent change analysis<br/>[ccd.js]"]
  node_sceneviz["Scene visualization<br/>[viz.js]"]
  node_raster["Raster rendering<br/>[cog.js]"]
  node_timelapse["Scene time-lapse<br/>[timelapse.js]"]
  node_ships["Ship detection<br/>[ships.js]"]
  node_burns["Burn mapping<br/>[burns.js]"]
end

subgraph group_feeds["Live intelligence feeds"]
  node_aisui["AIS tracking<br/>[ais.js]"]
  node_adsbui["Aircraft tracking<br/>[adsb.js]"]
  node_intel["Telegram reports<br/>[intel.js]"]
  node_weather["Weather and METEO<br/>[weather.js]"]
  node_firms["Fire detections<br/>[firms.js]"]
  node_quakes["Earthquake feeds<br/>[quakes.js]"]
  node_cameras["Public cameras<br/>[ground.js]"]
end

subgraph group_server["Local data services"]
  node_opendata["Open imagery releases<br/>[opendata.py]"]
  node_nisar["NISAR processing<br/>[nisar.py]"]
  node_aisdata["AIS feed and archive<br/>[ais.py]"]
  node_adsbdata["ADS-B feed<br/>[adsb.py]"]
  node_meteo["Weather imagery service<br/>[meteo.py]"]
  node_grounddata["Camera data service<br/>[ground.py]"]
  node_server["Local API server<br/>[server.py]"]
end

subgraph group_tools["Map and sharing tools"]
  node_maptools["Annotations and drawing<br/>[draw.js]"]
  node_cards["Share cards<br/>[cards.js]"]
  node_layers["Overlay controls<br/>[layers.js]"]
end

node_investigator(("Investigator"))

node_investigator -->|"opens board"| node_webboard
node_webboard -->|"uses globe"| node_globe
node_investigator -->|"tracks satellites"| node_orbit
node_investigator -->|"searches passes"| node_mission
node_investigator -->|"searches scenes"| node_archive
node_archive -->|"fetches releases"| node_opendata
node_investigator -->|"renders imagery"| node_sceneviz
node_investigator -->|"creates time-lapse"| node_timelapse
node_investigator -->|"runs change analysis"| node_ccd
node_ccd -->|"processes NISAR"| node_nisar
node_investigator -->|"detects vessels"| node_ships
node_ships -->|"compares AIS"| node_aisui
node_investigator -->|"maps burn scars"| node_burns
node_investigator -->|"tracks ships"| node_aisui
node_aisui -->|"requests positions"| node_aisdata
node_investigator -->|"tracks aircraft"| node_adsbui
node_investigator -->|"monitors reports"| node_intel
node_investigator -->|"checks weather"| node_weather
node_investigator -->|"views fires"| node_firms
node_investigator -->|"views earthquakes"| node_quakes
node_investigator -->|"views cameras"| node_cameras
node_weather -->|"requests weather"| node_meteo
node_cameras -->|"loads camera data"| node_grounddata
node_investigator -->|"annotates map"| node_maptools
node_investigator -->|"exports cards"| node_cards
node_investigator -->|"manages overlays"| node_layers
node_webboard -->|"shares state"| node_appstate
node_webboard -->|"uses local API"| node_server

click node_webboard "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/main.js"
click node_appstate "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/state.js"
click node_globe "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/globe.js"
click node_orbit "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/tracker.js"
click node_mission "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/mission.js"
click node_archive "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/archive.js"
click node_opendata "https://github.com/MJCruickshank/cheyenne/blob/main/opendata.py"
click node_nisar "https://github.com/MJCruickshank/cheyenne/blob/main/nisar.py"
click node_ccd "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ccd.js"
click node_sceneviz "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/viz.js"
click node_raster "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/cog.js"
click node_timelapse "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/timelapse.js"
click node_ships "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ships.js"
click node_burns "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/burns.js"
click node_aisui "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ais.js"
click node_aisdata "https://github.com/MJCruickshank/cheyenne/blob/main/ais.py"
click node_adsbui "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/adsb.js"
click node_adsbdata "https://github.com/MJCruickshank/cheyenne/blob/main/adsb.py"
click node_intel "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/intel.js"
click node_weather "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/weather.js"
click node_meteo "https://github.com/MJCruickshank/cheyenne/blob/main/meteo.py"
click node_firms "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/firms.js"
click node_quakes "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/quakes.js"
click node_cameras "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ground.js"
click node_grounddata "https://github.com/MJCruickshank/cheyenne/blob/main/ground.py"
click node_maptools "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/draw.js"
click node_cards "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/cards.js"
click node_layers "https://github.com/MJCruickshank/cheyenne/blob/main/web/js/layers.js"
click node_server "https://github.com/MJCruickshank/cheyenne/blob/main/server.py"

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_webboard,node_appstate,node_globe,node_orbit,node_mission toneBlue
class node_archive,node_ccd,node_sceneviz,node_raster,node_timelapse,node_ships,node_burns toneAmber
class node_aisui,node_adsbui,node_intel,node_weather,node_firms,node_quakes,node_cameras toneMint
class node_opendata,node_nisar,node_aisdata,node_adsbdata,node_meteo,node_grounddata,node_server toneRose
class node_maptools,node_cards,node_layers,node_investigator toneIndigo
```

## Components

### Globe and missions

- [Browser board](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/main.js): `web/js/main.js`
- [Board state](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/state.js): `web/js/state.js`
- [Interactive globe](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/globe.js): `web/js/globe.js`
- [Satellite tracking](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/tracker.js): `web/js/tracker.js`
- [Mission and passes](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/mission.js): `web/js/mission.js`

### Imagery analysis

- [Imagery archive search](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/archive.js): `web/js/archive.js`
- [Coherent change analysis](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ccd.js): `web/js/ccd.js`
- [Scene visualization](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/viz.js): `web/js/viz.js`
- [Raster rendering](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/cog.js): `web/js/cog.js`
- [Scene time-lapse](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/timelapse.js): `web/js/timelapse.js`
- [Ship detection](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ships.js): `web/js/ships.js`
- [Burn mapping](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/burns.js): `web/js/burns.js`

### Live intelligence feeds

- [AIS tracking](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ais.js): `web/js/ais.js`
- [Aircraft tracking](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/adsb.js): `web/js/adsb.js`
- [Telegram reports](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/intel.js): `web/js/intel.js`
- [Weather and METEO](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/weather.js): `web/js/weather.js`
- [Fire detections](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/firms.js): `web/js/firms.js`
- [Earthquake feeds](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/quakes.js): `web/js/quakes.js`
- [Public cameras](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/ground.js): `web/js/ground.js`

### Local data services

- [Open imagery releases](https://github.com/MJCruickshank/cheyenne/blob/main/opendata.py): `opendata.py`
- [NISAR processing](https://github.com/MJCruickshank/cheyenne/blob/main/nisar.py): `nisar.py`
- [AIS feed and archive](https://github.com/MJCruickshank/cheyenne/blob/main/ais.py): `ais.py`
- [ADS-B feed](https://github.com/MJCruickshank/cheyenne/blob/main/adsb.py): `adsb.py`
- [Weather imagery service](https://github.com/MJCruickshank/cheyenne/blob/main/meteo.py): `meteo.py`
- [Camera data service](https://github.com/MJCruickshank/cheyenne/blob/main/ground.py): `ground.py`
- [Local API server](https://github.com/MJCruickshank/cheyenne/blob/main/server.py): `server.py`

### Map and sharing tools

- [Annotations and drawing](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/draw.js): `web/js/draw.js`
- [Share cards](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/cards.js): `web/js/cards.js`
- [Overlay controls](https://github.com/MJCruickshank/cheyenne/blob/main/web/js/layers.js): `web/js/layers.js`

### Other components

- **Investigator**

## Connections

- Investigator → Browser board: opens board
- Browser board → Interactive globe: uses globe (evidence: `web/js/main.js`)
- Investigator → Satellite tracking: tracks satellites
- Investigator → Mission and passes: searches passes
- Investigator → Imagery archive search: searches scenes
- Imagery archive search → Open imagery releases: fetches releases (evidence: `web/js/archive.js`)
- Investigator → Scene visualization: renders imagery
- Investigator → Scene time-lapse: creates time-lapse
- Investigator → Coherent change analysis: runs change analysis
- Coherent change analysis → NISAR processing: processes NISAR (evidence: `web/js/ccd.js`)
- Investigator → Ship detection: detects vessels
- Ship detection → AIS tracking: compares AIS
- Investigator → Burn mapping: maps burn scars
- Investigator → AIS tracking: tracks ships
- AIS tracking → AIS feed and archive: requests positions (evidence: `web/js/ais.js`)
- Investigator → Aircraft tracking: tracks aircraft
- Investigator → Telegram reports: monitors reports
- Investigator → Weather and METEO: checks weather
- Investigator → Fire detections: views fires
- Investigator → Earthquake feeds: views earthquakes
- Investigator → Public cameras: views cameras
- Weather and METEO → Weather imagery service: requests weather (evidence: `web/js/weather.js`)
- Public cameras → Camera data service: loads camera data (evidence: `web/js/ground.js`)
- Investigator → Annotations and drawing: annotates map
- Investigator → Share cards: exports cards
- Investigator → Overlay controls: manages overlays
- Browser board → Board state: shares state (evidence: `web/js/main.js`)
- Browser board → Local API server: uses local API
