Skip to content

Astrophage Tracker is a sci-fi-themed single-page React dashboard that monitors solar irradiance on Earth using real NASA POWER API data. Inspired by Project Hail Mary, the app simulates the fictional spread of “Astrophage” by analyzing real-time energy loss, visualizing irradiance levels, and generating containment warnings based on sudden drops.

License

Notifications You must be signed in to change notification settings

ErdagEge/astrophage-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Astrophage Tracker

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.


🚀 Features

  • 🔭 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

🧪 Tech Stack

  • Frontend: React + TypeScript
  • Charting: Chart.js
  • Styling: Custom CSS with terminal aesthetics
  • Data Source: NASA POWER API

🧰 Getting Started

  1. Clone the repo:

    git clone https://github.com/ErdagEge/astrophage-tracker.git
    cd astrophage-tracker
  2. Install dependencies:

    npm install
  3. Create a .env file and set REACT_APP_NASA_API to the NASA POWER API base URL. Adjust this value if you need to point to a different instance.

  4. Run the app:

    npm start
  5. Visit http://localhost:3000 in your browser.

🔧 Development Notes

  • 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.

📚 Credits

  • NASA POWER API: Solar & meteorological data
  • Andy Weir: Author of Project Hail Mary, the creative inspiration behind this project

📄 License

MIT License

About

Astrophage Tracker is a sci-fi-themed single-page React dashboard that monitors solar irradiance on Earth using real NASA POWER API data. Inspired by Project Hail Mary, the app simulates the fictional spread of “Astrophage” by analyzing real-time energy loss, visualizing irradiance levels, and generating containment warnings based on sudden drops.

Topics

Resources

License

Stars

Watchers

Forks