Cosmoscope is an interactive web application developed for the NASA Space Apps Challenge. The goal of the project is to make space data more accessible and engaging for everyone by combining interactive maps, AI assistance, and stunning imagery from NASA's public APIs.
The application allows users to explore satellite imagery of Earth and rover imagery of Mars in a responsive, user-friendly interface. Users can search locations, interact with map layers, view high-resolution NASA images, and chat with an AI assistant to learn more about the visuals they are exploring.
This project was developed with accessibility and education in mind, enabling enthusiasts, students, and space lovers to discover and interact with real space data.
Key Features
- Interactive Earth map with NASA satellite imagery
- Mars rover image gallery and exploration
- AI-powered assistant using the Gemini API for space insights
- Searchable locations and points of interest
- Dark and light mode support
- Responsive design for both desktop and mobile
Technologies
- React
- TypeScript
- Vite
- Leaflet for interactive maps
- NASA APIs for imagery and geodata
- Google Gemini API for AI chat
Usage
Users can navigate between built-in views to explore Earth and Mars data. High-resolution images can be browsed in gallery mode and analyzed with the help of the AI assistant. The design adapts to different screen sizes and offers dark/light themes for comfort.
NASA Space Apps Challenge
Cosmoscope was developed for the NASA Space Apps Challenge, an international hackathon that encourages teams to build solutions using open NASA data. Cosmoscope addresses the challenge of space data accessibility by transforming large datasets into an intuitive, interactive experience.
Development
To set up the project locally, users need:
- Node.js (18 or higher)
- npm or yarn
- NASA API key
- Google Gemini API key
The repository includes instructions for configuring environment variables, installing dependencies, and starting the development server.
License
Cosmoscope is licensed under the MIT License.