Welcome to the ISS Tracker project! This application allows you to track the International Space Station (ISS) in real-time on a map while also displaying the Astronomy Picture of the Day.
The ISS Tracker is a web-based application that combines two exciting features:
-
Astronomy Picture of the Day: Utilizing NASA's Astronomy Picture of the Day API, to display a different astronomy picture each day. To reduce API calls and improve performance, the picture is cached and updated hourly.
-
Real-Time ISS Tracking: using the Open Notify API to fetch real-time data about the ISS's location and display it on a Leaflet map (which is using OpenStreetMaps). The ISS's position is updated every 3 seconds, providing an accurate representation of its movement.
- Real-time tracking of the ISS on a map.
- Daily changing astronomy pictures from NASA's API.
- Caching to reduce API calls and improve performance.
- User-friendly interface for an engaging experience.
- HTML, CSS, JavaScript
- Leaflet.js for map visualization
- Nix and direnv for the development environment
Follow these steps to get the ISS Tracker up and running on your local machine:
- Clone this repository:
git clone https://github.com/spector700/iss-tracker.git
- Navigate to the project directory:
cd iss-tracker
- If using nix then run
nix develop
and that will install all dependencies.
install pip and run pip install flask requests request-cahce
.
-
Run the application using Python:
python app.py
This will start the ISS Tracker application locally. You can access it by opening your web browser and navigating to http://localhost:PORT, where PORT is the port number specified in app.py.