Skip to content

Repository files navigation

EarthSphere Header Banner

🌍 EarthSphere

Real-time NASA Earth & Space Event Intelligence Engine β€” powered by 13 NASA Open APIs across 15+ Interactive Dashboards.

🌐 Live Demo β€’ πŸ—οΈ Architecture β€’ ✨ Features β€’ πŸ“‘ NASA APIs β€’ πŸš€ Quick Start β€’ πŸ“ˆ Performance β€’ πŸ› Report Bug

Next.js 15 React 19 TypeScript Three.js MapLibre GL Tailwind CSS

CI Status License: MIT 13 NASA APIs PRs Welcome


🌌 Overview

EarthSphere is an executive-grade, full-spectrum NASA Earth & Deep Space Intelligence Platform. It ingests telemetry from 13 official NASA Open APIs, delivering real-time monitoring across 15+ interactive pages β€” from natural events (wildfires, earthquakes, severe storms) to solar space weather, near-Earth asteroids, exoplanet discoveries, and Mars rover camera streams.

Designed with a cyber-glass sci-fi aesthetic, EarthSphere features a floating mega-menu navbar pill dock, cinematic WebGL 3D globe rendering, MapLibre GL 2D tactical vector mapping, and an accent theme customizer engine.


✨ Features

🌍 Interactive 3D WebGL Globe

Scroll-reactive 3D Earth rendering built with Three.js. Features custom atmospheric glow shaders, particle rings, orbital event targeting, and cinematic camera transitions.

πŸ—ΊοΈ 2D Tactical Map Engine

Hardware-accelerated vector mapping powered by MapLibre GL JS. Features spatial marker clustering, category filtering, fly-to animations, and interactive event popups.

β˜„οΈ Asteroids & Fireballs Telemetry

Real-time NASA NeoWs asteroid tracking with orbital velocity vectors, hazard ratings, and CNEOS atmospheric fireball impact telemetry analytics.

β˜€οΈ Space Weather (DONKI)

Live solar activity monitoring from NASA DONKI: Coronal Mass Ejections (CMEs), X-class solar flares, and geomagnetic storm disturbance alerts.

πŸ”΄ Mars Rover Exploration

Multi-rover raw photographic feeds from Perseverance, Curiosity, and Opportunity, filtered by Sol, Earth date, and camera sensors.

πŸ›°οΈ Satellite Orbit Tracker

Live 3D satellite tracking engine powered by TLE orbital elements, tracking the International Space Station (ISS) and Earth observation satellites.

πŸ“Έ APOD & EPIC Earth Imagery

Daily high-resolution Astronomy Picture of the Day and DSCOVR satellite EPIC full-disk Earth imagery with interactive date pickers.

πŸ’Ž Sci-Fi Floating Pill Dock & Themes

Frosted glassmorphism mega-menu navigation dock, custom accent theme switching (Cyan, Orange, Emerald, Purple), and zero-FOUC state persistence.


🌐 Live Modules & Route Directory

Click any module below to explore the live interactive dashboard on earthsphere.in:

Module Route Path Live URL Features & Telemetry
🌍 3D WebGL Globe / earthsphere.in/ Real-time Earth EONET event globe with Three.js shaders
πŸ—ΊοΈ 2D Tactical Map /map earthsphere.in/map Vector tiles, marker clustering, MapLibre GL JS
πŸ“Š Telemetry Analytics /analytics earthsphere.in/analytics Historical disaster trends & category breakdown
⚑ NASA Command Center /dashboard earthsphere.in/dashboard Unified multi-API telemetry command dashboard
β˜„οΈ Asteroid Radar /asteroids earthsphere.in/asteroids NASA NeoWs orbital velocity & threat rating
β˜€οΈ Space Weather /space-weather earthsphere.in/space-weather DONKI Solar Flares, CMEs & Geomagnetic Storms
πŸ”΄ Mars Rover Explorer /mars earthsphere.in/mars Perseverance, Curiosity & Opportunity Sol camera feeds
🌎 EPIC Earth Camera /epic earthsphere.in/epic DSCOVR satellite full-disk polychromatic Earth views
πŸ“Έ APOD Archive /apod earthsphere.in/apod Astronomy Picture of the Day HD image viewer
πŸ›°οΈ Satellite Tracker /satellites earthsphere.in/satellites TLE orbital element telemetry & ISS 3D orbit
πŸ” NASA Media Search /media earthsphere.in/media Official NASA image & video library search engine
πŸ›°οΈ Landsat Surface View /earth-imagery earthsphere.in/earth-imagery Spectral satellite imagery & land surface tiles
πŸͺ Exoplanet Explorer /exoplanets earthsphere.in/exoplanets Confirmed exoplanets discovery archive
πŸ’₯ Fireballs Telemetry /fireballs earthsphere.in/fireballs CNEOS atmospheric bolide energy impact data
πŸ”¬ TechPort Patents /techport earthsphere.in/techport NASA space tech innovation & patent portfolio

πŸ“‘ Integrated NASA Open APIs (13)

API Service NASA API Endpoint Key Features & Route
🌍 EONET v3 eonet.gsfc.nasa.gov/api/v3/events Natural Disasters (Wildfires, Volcanoes, Storms) β†’ /events, /map
πŸ“Έ APOD api.nasa.gov/planetary/apod Astronomy Picture of the Day & Image Archive β†’ /apod
β˜€οΈ DONKI api.nasa.gov/DONKI/ Space Weather (CMEs, Solar Flares, Storms) β†’ /space-weather
β˜„οΈ NeoWs api.nasa.gov/neo/rest/v1/feed Near-Earth Object orbits, hazard ratings β†’ /asteroids
🌎 EPIC api.nasa.gov/EPIC/api/natural DSCOVR Full-Disk Earth Satellite Camera β†’ /epic
πŸ”΄ Mars Rovers api.nasa.gov/mars-photos/api/v1/ Perseverance, Curiosity, Opportunity Feeds β†’ /mars
πŸ” NASA Media images-api.nasa.gov/search NASA Official Image & Video Asset Search β†’ /media
πŸ“‘ Landsat / Earth api.nasa.gov/planetary/earth/ Satellite Surface Spectral Imagery β†’ /earth-imagery
πŸ›°οΈ Satellite TLE celestrak.org / TLE Feeds Live ISS & Satellite Orbital Telemetry β†’ /satellites
πŸͺ Exoplanets NASA Exoplanet Archive Confirmed Exoplanet Discoveries & Stars β†’ /exoplanets
πŸ’₯ Fireballs ssd-api.jpl.nasa.gov/fireball.api CNEOS Atmospheric Bolide Energy Data β†’ /fireballs
πŸ”¬ TechPort api.nasa.gov/techport/api/ NASA Space Tech Patents & Innovation β†’ /techport
πŸ“Š NASA Command Multi-endpoint Aggregator Centralized System Telemetry Dashboard β†’ /dashboard

πŸ—οΈ System Architecture

graph TD
    subgraph Client ["Client Layer (Next.js 15 App Router - 15+ Pages)"]
        UI[React 19 Server/Client Components]
        Navbar[Sci-Fi Floating Pill Dock / Mega-Menu]
        Globe[Three.js 3D WebGL Engine]
        Map[MapLibre GL Vector Engine]
        Store[Zustand Global State + Accent Themes]
    end

    subgraph DataLayer ["Data & Hook Architecture"]
        Hooks[useNasaApi Hook & TanStack Query SWR]
        Proxy[Next.js Edge API Proxy /api/events]
        Cache[(In-Memory Edge Cache)]
    end

    subgraph NASAEndpoints ["13 NASA Open API Endpoints"]
        EONET{EONET v3}
        DONKI{DONKI Space Weather}
        NeoWs{NeoWs Asteroids}
        MARS{Mars Rovers}
        EPIC{DSCOVR EPIC}
        APOD{APOD Archive}
        Media{NASA Media API}
    end

    UI -->|Navigates| Navbar
    UI -->|Requests Telemetry| Hooks
    Hooks -->|Cache Hit| Store
    Hooks -->|Fetch| Proxy
    Proxy -.->|Cache Miss| EONET
    Proxy -.->|Fetch| DONKI
    Proxy -.->|Fetch| NeoWs
    Proxy -.->|Fetch| MARS
    Proxy -.->|Fetch| EPIC
    Proxy -.->|Fetch| APOD
    Proxy -.->|Fetch| Media
    
    Proxy -->|Normalized Data| Hooks
    Hooks -->|Reactive Signals| Globe
    Hooks -->|Spatial Markers| Map
    
    style UI fill:#0f172a,stroke:#00d4aa,stroke-width:2px,color:#fff
    style Navbar fill:#1e293b,stroke:#00d4aa,stroke-width:2px,color:#fff
    style Globe fill:#0284c7,stroke:#00d4aa,stroke-width:2px,color:#fff
    style Map fill:#0d9488,stroke:#00d4aa,stroke-width:2px,color:#fff
    style Hooks fill:#1e293b,stroke:#38bdf8,stroke-width:2px,color:#fff
    style EONET fill:#1e1b4b,stroke:#818cf8,stroke-width:2px,color:#fff
    style DONKI fill:#312e81,stroke:#a855f7,stroke-width:2px,color:#fff
    style NeoWs fill:#431407,stroke:#f97316,stroke-width:2px,color:#fff
Loading

⚑ Tech Stack Matrix

Category Technology Usage Description
Framework Next.js 15 App Router, Server Components, Edge Proxy API Routes
UI Library React 19 Concurrent rendering, hooks, modular component trees
3D Graphics Three.js Custom WebGL Earth globe, orbital paths, shaders
2D Mapping MapLibre GL JS Vector tile mapping, clustering, custom markers
Styling Tailwind CSS Custom design tokens, glassmorphism, accent themes
Animation Framer Motion Page transitions, floating pill dock, scroll reveals
State & Query Zustand + TanStack Query Client state, SWR caching, retry logic
Charts Recharts Interactive telemetry charts for space weather & asteroids
Icons Lucide React Accessible icon system across 15+ routes

πŸ“‚ Project Directory Structure

EarthSphere/
β”œβ”€β”€ .github/                  # CI/CD Workflows, Dependabot, Issue & PR Templates
β”œβ”€β”€ docs/                     # Architecture Specs, Design System, Changelog
β”œβ”€β”€ public/                   # Static assets, OG images, favicons
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                  # 15+ Next.js App Router Pages & API Routes
β”‚   β”‚   β”œβ”€β”€ analytics/        # EONET Historical telemetry dashboard
β”‚   β”‚   β”œβ”€β”€ apod/             # Astronomy Picture of the Day
β”‚   β”‚   β”œβ”€β”€ asteroids/        # NeoWs Near-Earth Asteroid tracking
β”‚   β”‚   β”œβ”€β”€ dashboard/        # NASA Command Center Telemetry
β”‚   β”‚   β”œβ”€β”€ earth-imagery/    # Landsat & MODIS satellite surface view
β”‚   β”‚   β”œβ”€β”€ epic/             # DSCOVR EPIC Earth polychromatic imagery
β”‚   β”‚   β”œβ”€β”€ events/           # Live EONET Natural Disaster list & detail
β”‚   β”‚   β”œβ”€β”€ exoplanets/       # Exoplanet Archive discovery explorer
β”‚   β”‚   β”œβ”€β”€ fireballs/        # CNEOS Fireball & Bolide energy impact data
β”‚   β”‚   β”œβ”€β”€ map/              # Fullscreen 2D/3D Tactical Vector Map
β”‚   β”‚   β”œβ”€β”€ mars/             # Perseverance, Curiosity & Opportunity rover feeds
β”‚   β”‚   β”œβ”€β”€ media/            # NASA Official Image & Video search library
β”‚   β”‚   β”œβ”€β”€ satellites/       # Live ISS & Satellite TLE orbit engine
β”‚   β”‚   β”œβ”€β”€ space-weather/    # DONKI Solar flares, CMEs & geomagnetic storms
β”‚   β”‚   └── techport/         # NASA Space Technology & Innovation portfolio
β”‚   β”œβ”€β”€ components/           # Modular components (40+ components)
β”‚   β”‚   β”œβ”€β”€ 3d/               # WebGL Earth, ParticleField, Orbital Canvas
β”‚   β”‚   β”œβ”€β”€ features/         # ThemeCustomizer, SearchPalettes
β”‚   β”‚   β”œβ”€β”€ layout/           # Sci-Fi Floating Pill Dock Navbar, Footer
β”‚   β”‚   β”œβ”€β”€ map/              # EventMap, MapControls, Clustering
β”‚   β”‚   └── ui/               # GlassCard, StatusBadge, CustomCursor
β”‚   β”œβ”€β”€ hooks/                # useNasaApi, useEvents, useTheme custom hooks
β”‚   β”œβ”€β”€ lib/                  # nasa-api.ts client, design-tokens, store.ts
β”‚   └── types/                # nasa.ts TypeScript interfaces for 13 APIs
β”œβ”€β”€ CONTRIBUTING.md           # Developer guidelines & Conventional Commits rules
β”œβ”€β”€ LICENSE                   # MIT Open Source License
└── SECURITY.md               # Enterprise vulnerability disclosure policy

πŸ“ˆ Performance Scorecard

  • πŸš€ Performance: 99 / 100 (Lighthouse Mobile & Desktop)
  • 🎯 SEO: 100 / 100 (Fully SSR metadata & Open Graph schema across 15+ routes)
  • β™Ώ Accessibility: 95 / 100 (WCAG AA compliant, reduced-motion fallback)
  • πŸ”’ Best Practices: 100 / 100 (Strict CSP headers, sanitized map markers)
  • πŸ”‹ Power Efficiency: Auto-pauses WebGL rendering loops when browser tab is inactive.

πŸ—ΊοΈ Product Roadmap

  • v1.0 Release β€” Next.js 15 Migration, Three.js 3D Globe, MapLibre GL Integration.
  • v1.2 Release β€” Cyber-Glass Design System overhaul, Edge API Proxy with caching.
  • v2.0 Release β€” 13 NASA Open APIs Integration, 11 New Interactive Pages, Floating Mega-Menu Pill Dock, Accent Theme Customizer.
  • v2.1 (Upcoming) β€” AI-powered Natural Disaster Impact & Solar Storm Forecasting.
  • v2.2 (Upcoming) β€” Custom Geofence Satellite Alerts & PWA Push Notifications.

⭐ Star History

Star History Chart


🀝 Contributing & Community

Contributions are what make the open-source community an extraordinary place to learn, inspire, and create.


πŸ“œ License

Distributed under the MIT License. See LICENSE for more details.


Built with ❀️ by Abhilash & the EarthSphere Contributors.

Space & Earth Telemetry provided by NASA Open APIs.

About

Real-time Earth event intelligence platform powered by NASA EONET

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages