Skip to content

The-Astro-Morphers/AEGIS_NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ AEGIS NET - Asteroid Impact Response System (Global Nominee from Dinajpur, Bangladesh)

NASA Space Apps Challenge 2025 Next.js TypeScript TailwindCSS

AEGIS NET is a dual-interface emergency response platform designed for asteroid impact scenarios, featuring real-time data visualization, AI-powered decision support, and comprehensive public safety guidance.

๐ŸŒŸ Overview

AEGIS NET (Asteroid Emergency Guidance and Information System Network) provides two distinct interfaces:

  • ๐Ÿ›ก๏ธ AEGIS COMMAND: Emergency Manager Dashboard with real-time monitoring, AI decision support, and resource allocation
  • ๐Ÿ‘ฅ AEGIS GUIDE: Public Safety Interface with personalized safety instructions, risk assessment, and multi-language support

โœจ Key Features

๐ŸŽฏ Impact Prediction & Analysis

  • AI-powered models predict blast radius, tsunami risk, and debris dispersion
  • Real-time trajectory tracking using NASA JPL/CNEOS data
  • 3D visualization with React Three Fiber and WebGL fallbacks
  • Multiple impact scenarios with time travel simulation

๐Ÿ—บ๏ธ Real-time Mapping & Visualization

  • Interactive maps with Leaflet.js showing impact zones
  • Resource allocation with drag-and-drop interface
  • Evacuation routes optimized for real-time traffic
  • Emergency shelters with live capacity tracking

๐Ÿค– AI-Powered Decision Support

  • Advanced AI models for impact assessment
  • Automated recommendations for evacuation and resource deployment
  • Machine learning predictions for optimal response strategies
  • Real-time data analysis from multiple NASA APIs

๐ŸŒ Public Safety Interface

  • Multi-language support (English, Spanish, French)
  • Personalized safety instructions based on location
  • Emergency contacts and shelter information
  • Preparation guides and evacuation procedures

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm
  • MongoDB (optional, for data persistence)

Installation

  1. Clone the repository
https://github.com/The-Astro-Morphers/AEGIS_NET.git
cd AEGIS_NET
  1. Install dependencies
pnpm install
# or
npm install
  1. Set up environment variables
cp env.example .env.local

Edit .env.local with your configuration:

# NASA API Keys (optional)
NEXT_PUBLIC_NASA_API_KEY=your_nasa_api_key

# MongoDB (optional)
MONGODB_URI=mongodb://localhost:27017/aegis-net

# Other configurations
NEXT_PUBLIC_APP_URL=http://localhost:3000
  1. Start the development server
pnpm dev
# or
npm run dev
  1. Open your browser Navigate to http://localhost:3000

๐Ÿ“ Project Structure

nasaProject/
โ”œโ”€โ”€ app/                          # Next.js 14 App Router
โ”‚   โ”œโ”€โ”€ api/                      # API routes
โ”‚   โ”‚   โ”œโ”€โ”€ asteroids/            # NASA asteroid data
โ”‚   โ”‚   โ”œโ”€โ”€ ai/                   # AI prediction models
โ”‚   โ”‚   โ”œโ”€โ”€ resources/            # Resource management
โ”‚   โ”‚   โ””โ”€โ”€ health/               # Health checks
โ”‚   โ”œโ”€โ”€ command/                  # AEGIS COMMAND interface
โ”‚   โ”‚   โ”œโ”€โ”€ dashboard/            # Main dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ simulator/            # Impact simulator
โ”‚   โ”‚   โ”œโ”€โ”€ mitigation/           # Mitigation testing
โ”‚   โ”‚   โ”œโ”€โ”€ analytics/            # Data analytics
โ”‚   โ”‚   โ””โ”€โ”€ ai-models/            # AI model management
โ”‚   โ”œโ”€โ”€ guide/                    # AEGIS GUIDE interface
โ”‚   โ”‚   โ”œโ”€โ”€ emergency-contacts/   # Emergency contacts
โ”‚   โ”‚   โ”œโ”€โ”€ shelters/             # Emergency shelters
โ”‚   โ”‚   โ”œโ”€โ”€ preparation/          # Preparation tips
โ”‚   โ”‚   โ””โ”€โ”€ evacuation/           # Evacuation routes
โ”‚   โ””โ”€โ”€ globals.css               # Global styles
โ”œโ”€โ”€ components/                   # Reusable components
โ”‚   โ”œโ”€โ”€ 3d/                       # 3D visualization components
โ”‚   โ”œโ”€โ”€ ai/                       # AI-related components
โ”‚   โ”œโ”€โ”€ command/                  # Command interface components
โ”‚   โ”œโ”€โ”€ communication/            # Communication systems
โ”‚   โ””โ”€โ”€ ui/                       # UI components
โ”œโ”€โ”€ lib/                          # Utility libraries
โ”œโ”€โ”€ public/                       # Static assets
โ”‚   โ””โ”€โ”€ locales/                  # Internationalization files
โ””โ”€โ”€ python-service/               # Python backend services
    โ”œโ”€โ”€ main.py                   # FastAPI application
    โ””โ”€โ”€ requirements.txt          # Python dependencies

๐Ÿ› ๏ธ Technology Stack

Frontend

  • Next.js 14 - React framework with App Router
  • TypeScript - Type-safe JavaScript
  • TailwindCSS - Utility-first CSS framework
  • React Three Fiber - 3D graphics with Three.js
  • Leaflet.js - Interactive maps
  • Lucide React - Icon library
  • Radix UI - Accessible component primitives

Backend & APIs

  • FastAPI - Python web framework
  • MongoDB - NoSQL database
  • NASA APIs - Real-time space data
  • OpenStreetMap - Map data and tiles

Development Tools

  • ESLint - Code linting
  • Prettier - Code formatting
  • pnpm - Fast package manager
  • Docker - Containerization

๐ŸŒ Available Scripts

# Development
pnpm dev                    # Start development server
pnpm dev:command           # Start command interface on port 3001
pnpm dev:guide             # Start guide interface on port 3002

# Production
pnpm build                 # Build for production
pnpm start                 # Start production server

# Code Quality
pnpm lint                  # Run ESLint
pnpm type-check            # Run TypeScript compiler

# Python Service
python python-service/main.py  # Start FastAPI backend

๐Ÿ”ง Configuration

Environment Variables

Variable Description Default
NEXT_PUBLIC_NASA_API_KEY NASA API key for asteroid data Optional
MONGODB_URI MongoDB connection string mongodb://localhost:27017/aegis-net
NEXT_PUBLIC_APP_URL Application URL http://localhost:3000

NASA API Integration

The system integrates with multiple NASA APIs:

  • CNEOS API - Near-Earth object data
  • JPL API - Asteroid trajectory information
  • NASA Eyes - Visualization data

๐Ÿ“ฑ Mobile Responsiveness

AEGIS NET is fully responsive with:

  • Mobile-first design using TailwindCSS
  • Touch-friendly interfaces for emergency situations
  • Offline capabilities for critical functions
  • Progressive Web App features

Mobile Navigation

  • Hamburger menus for desktop
  • Bottom navigation with "More" button for mobile
  • Expandable sections for additional navigation items
  • Active state indicators for current page

๐ŸŒ Internationalization

Supports multiple languages:

  • ๐Ÿ‡บ๐Ÿ‡ธ English (default)
  • ๐Ÿ‡ช๐Ÿ‡ธ Spanish
  • ๐Ÿ‡ซ๐Ÿ‡ท French

Language files are located in public/locales/ and can be easily extended.

๐Ÿšจ Emergency Features

Real-time Monitoring

  • Live asteroid tracking with NASA data
  • Impact zone visualization with blast radius
  • Tsunami risk assessment for coastal areas
  • Debris dispersion modeling

Resource Management

  • Emergency shelter tracking with live capacity
  • Resource allocation with drag-and-drop
  • Evacuation route optimization
  • Communication system for alerts

Public Safety

  • Personalized risk assessment based on location
  • Emergency contact directory with priority levels
  • Preparation checklists and timelines
  • Multi-language safety instructions

๐Ÿ”’ Security & Privacy

  • No personal data collection without consent
  • Secure API communications with HTTPS
  • Environment variable protection for sensitive data
  • Rate limiting on API endpoints

๐Ÿค Contributing

We welcome contributions to AEGIS NET! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Use TailwindCSS for styling
  • Write responsive components
  • Include proper error handling
  • Add tests for new features

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • NASA for providing asteroid data APIs
  • Space Apps Challenge for the inspiration
  • OpenStreetMap for map data
  • Three.js and React Three Fiber for 3D visualization
  • TailwindCSS for the design system

๐Ÿ“ž Support

For support, email theastromorphers@gmail.com or join our Discord community.

๐Ÿ”ฎ Future Roadmap

  • Mobile app development (React Native)
  • Real-time notifications via WebSocket
  • Machine learning models for improved predictions
  • Integration with emergency services APIs
  • Voice commands for accessibility
  • Offline mode with service workers
  • Multi-tenant architecture for different regions

Built with โค๏ธ for NASA Space Apps Challenge 2025

Protecting Earth from asteroid impacts, one line of code at a time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors