A sci-fi-inspired solar monitoring dashboard powered by real NASA data.
Inspired by Project Hail Mary, Astrophage Tracker visualizes solar irradiance data across Earth and simulates the fictional energy-draining effects of "Astrophage." The dashboard fetches daily irradiance metrics from the NASA POWER API, plots interactive charts, and displays warning levels based on real-time energy fluctuations.
- 🔭 Live solar irradiance data from NASA POWER API
- 📉 Glowing graph panel to visualize daily energy levels
- 🛑 Astrophage containment warnings based on week-over-week energy drops
- 🌍 Manual coordinate input for global tracking
- 🧬 Fictional sci-fi overlay built on real scientific data
- Frontend: React + TypeScript
- Charting: Chart.js
- Styling: Custom CSS with terminal aesthetics
- Data Source: NASA POWER API
-
Clone the repo:
git clone https://github.com/ErdagEge/astrophage-tracker.git cd astrophage-tracker
-
Install dependencies:
npm install
-
Create a
.env
file and setREACT_APP_NASA_API
to the NASA POWER API base URL. Adjust this value if you need to point to a different instance. -
Run the app:
npm start
-
Visit http://localhost:3000 in your browser.
- You can adjust latitude and longitude using the input fields.
- The app auto-refreshes irradiance data and graph when coordinates change.
- By default, irradiance data is pulled for the past 7 days with a 3-day buffer.
- NASA POWER API: Solar & meteorological data
- Andy Weir: Author of Project Hail Mary, the creative inspiration behind this project
MIT License