How acesarp/iss_tracker works
Mission Control is a Next.js dashboard for live ISS tracking, orbit prediction, and NOAA space weather. The browser polls app routes; those routes fetch and cache upstream data, and React components present it as a globe or flat map, position statistics, and weather charts. Orbit calculation is a server-side layer called by the track route. README statements document the orbit’s TLE sources and SGP4 calculation; the orbit implementation itself was read but not excerpted, so those upstream links are attributed to the README. The graph omits deployment and build machinery.
Main entry points: IssTracker.tsx ISS tracker · SpaceWeatherPanel.tsx Weather panel · orbit.ts Orbit calculation · page.tsx Dashboard page
Components 18
Dashboard UI
- Dashboard page
mission-control/app/page.tsx - ISS tracker
mission-control/components/IssTracker.tsx - Globe and map
mission-control/components/WorldMap.tsx - Weather panel
mission-control/components/SpaceWeatherPanel.tsx - Weather sparklines
mission-control/components/Sparkline.tsx
ISS Data
- Position API
mission-control/app/api/iss/route.ts - Orbit track API
mission-control/app/api/iss/track/route.ts - Orbit calculation
mission-control/lib/orbit.ts - ISS data types
mission-control/lib/iss.ts
Space Weather
- Weather API
mission-control/app/api/space-weather/route.ts - Weather types and helpers
mission-control/lib/space-weather.ts
Shared App Layer
- App layout
mission-control/app/layout.tsx - API path prefix
mission-control/lib/base-path.ts
Other components
- Browser visitor
- Where the ISS at?
- CelesTrak TLE
- NOAA SWPC
- satellite.js SGP4
Connections 23
- Browser visitor → Dashboard page: views
mission-control/app/page.tsx - Dashboard page → ISS tracker: renders
mission-control/app/page.tsx - Dashboard page → Weather panel: renders
mission-control/app/page.tsx - ISS tracker → Position API: polls
mission-control/components/IssTracker.tsx - ISS tracker → Orbit track API: polls
mission-control/components/IssTracker.tsx - ISS tracker → Globe and map: renders
mission-control/components/IssTracker.tsx - Weather panel → Weather API: polls
mission-control/components/SpaceWeatherPanel.tsx - Weather panel → Weather sparklines: renders
mission-control/components/SpaceWeatherPanel.tsx - Position API → Where the ISS at?: fetches position
mission-control/app/api/iss/route.ts - Orbit track API → Orbit calculation: requests track
mission-control/app/api/iss/track/route.ts - Orbit calculation → CelesTrak TLE: downloads TLE
README.md - Orbit calculation → Where the ISS at?: uses fallback
README.md - Orbit calculation → satellite.js SGP4: calculates orbit
README.md - Weather API → NOAA SWPC: fetches feeds
mission-control/app/api/space-weather/route.ts - Position API → ISS data types: returns position
mission-control/app/api/iss/route.ts - Orbit track API → ISS data types: returns track
mission-control/app/api/iss/track/route.ts - Weather API → Weather types and helpers: returns weather data
mission-control/app/api/space-weather/route.ts - Weather panel → Weather types and helpers: uses helpers
mission-control/components/SpaceWeatherPanel.tsx - Globe and map → ISS data types: uses position data
mission-control/components/WorldMap.tsx - App layout → Dashboard page: wraps page
mission-control/app/layout.tsx - ISS tracker → API path prefix: prefixes API paths
mission-control/components/IssTracker.tsx - Weather panel → API path prefix: prefixes API path
mission-control/components/SpaceWeatherPanel.tsx - Globe and map → API path prefix: prefixes asset path
mission-control/components/WorldMap.tsx