This project allows you to track the International Space Station (ISS) and receive email notifications when it passes over your location.
- Real-time tracking of the ISS using its current latitude and longitude.
- Sends an email alert when the ISS is overhead.
- Runs continuously, checking every 60 seconds.
-
Clone this repository:
git clone https://github.com/yourusername/iss-tracker.git cd iss-tracker
-
Install dependencies:
npm install
-
Set up your environment variables:
- Create a
.env
file based on the provided.env.example
. - Replace the placeholders with your actual email credentials.
- Create a
-
Run the app:
npm start
- Make sure your latitude and longitude are correctly set in the
MY_LAT
andMY_LONG
variables. - Execute the script.
- Receive email notifications when the ISS is overhead.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.