How m4n1kya/argus works
ARGUS is a geospatial urban-hazard reporting and visualization platform. The evidenced workflow is an operator viewing incidents on the 2D map, which fetches and normalizes hazard records from the FastAPI service; submitted reports are persisted as spatial hazard records. The repository also provides a Cesium globe and documents predictive and vision-analysis capabilities, but sampled code does not establish an implemented AI service connection. The architecture below distinguishes documented capabilities from source-evidenced calls.
Main entry points: ArgusLeafletMap.tsx 2D incident map · main.py Hazard API · database.py Spatial database access · page.tsx Map page
Components 22
Operator interface
- Platform landing
frontend/src/app/page.tsx - Map page
frontend/src/app/map/page.tsx - Globe page
frontend/src/app/globe/page.tsx - Report hazard
frontend/src/app/report/page.tsx
Geospatial views
- 2D incident map
frontend/src/app/components/map/ArgusLeafletMap.tsx - Map overlays
frontend/src/app/components/map - Location search
frontend/src/app/components/map/SearchBar.tsx - Street inspection
frontend/src/app/components/map/StreetInspectionViewer.tsx - 3D globe viewer
frontend/src/app/components/CesiumViewer.tsx - Cesium worker runtime
frontend/public/cesium/Workers
Incident services
- Incident API adapter
frontend/src/app/services/incidentAdapter.ts - Geocoding provider
frontend/src/app/services/geocodingProvider.ts - Map provider
frontend/src/app/services/mapProvider.ts - Mapillary provider
frontend/src/app/services/mapillaryProvider.ts
API and persistence
- Hazard API
backend/main.py - Hazard schemas
backend/schemas.py - Hazard model
backend/models.py - Spatial database access
backend/database.py - PostGIS hazard store
Documented intelligence
- Vision detection
- Risk forecasting
Other components
- City operator
Connections 23
- City operator → Platform landing: opens platform
README.md - City operator → Map page: views incidents
README.md - City operator → Globe page: opens globe
README.md - City operator → Report hazard: submits report
- Map page → 2D incident map: renders
frontend/src/app/map/page.tsx - Globe page → 3D globe viewer: renders
frontend/src/app/globe/page.tsx - 2D incident map → Incident API adapter: fetches incidents
frontend/src/app/components/map/ArgusLeafletMap.tsx - 2D incident map → Map overlays: renders overlays
frontend/src/app/components/map/ArgusLeafletMap.tsx - 2D incident map → Location search: renders search
- Location search → Geocoding provider: queries places
frontend/src/app/components/map/SearchBar.tsx - 2D incident map → Street inspection: opens inspection
frontend/src/app/components/map/ArgusLeafletMap.tsx - Street inspection → Mapillary provider: loads imagery
frontend/src/app/components/map/StreetInspectionViewer.tsx - 2D incident map → Map provider: uses map settings
frontend/src/app/components/map/ArgusLeafletMap.tsx - 3D globe viewer → Cesium worker runtime: uses worker assets
README.md - Incident API adapter → Hazard API: requests hazards
frontend/src/app/services/incidentAdapter.ts - Hazard API → Spatial database access: opens sessions
backend/main.py - Hazard API → Hazard model: queries hazards
backend/main.py - Hazard API → Hazard schemas: validates responses
backend/main.py - Hazard model → Spatial database access: uses ORM base
backend/models.py - Spatial database access → PostGIS hazard store: connects to
- Hazard API → PostGIS hazard store: reads and writes
backend/main.py - Vision detection → PostGIS hazard store: stores detections
- Risk forecasting → PostGIS hazard store: stores risk metrics