Track the International Space Station in real-time from your terminal
Track the ISS position in real-time using the Open Notify API. Get instant updates on latitude, longitude, and distance from your location.
Visualize the ISS location on a beautiful ASCII-based world map directly in your terminal. See both your position and the ISS at a glance.
Automatic night-time detection using the Sunrise-Sunset API. Know exactly when the ISS is visible in your night sky.
Receive instant email alerts when the ISS passes overhead at night. Never miss a spectacular viewing opportunity!
Calculate the exact distance between your location and the ISS. Get directional information (North, South, East, West).
Comprehensive logging system tracks all ISS passes, email notifications, and errors for debugging and analysis.
_____ _____ ____ ____ _ _ ____ _ _____ |_ _| ___/ ___| / ___|| | | | _ \| | | ____| | | | |_ \___ \ \___ \| | | | |_) | | | _| | | | _| ___) | ___) | |_| | __/| |___| |___ |_| |_| |____/ |____/ \___/|_| |_____|_____| β¨ ISS TRACKER ACTIVATED β¨ Monitoring your position: 22.470493, 88.307407 Notification email: youremail@gmail.com
π Your Position vs ISS Position: γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ» γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ» γ»γ»γ»π γ»γ»γ»γ»γ»γ»γ»γ»γ»γ»π°οΈγ»γ»γ»γ»γ»γ»γ»γ»γ»γ»γ» π Your position: 22.47, 88.30 π°οΈ ISS position: 25.64, 90.12 π Distance: 321.43 km π§ Direction: North-East
π Night detected at your location π°οΈ ISS is overhead! π§ Sending email notification... β Email sent successfully! Look Up! The ISS is passing overhead in your night sky right now! π
Get started by cloning the project to your local machine:
git clone https://github.com/jayMondal45/iss-tracker-cli.git
cd iss-tracker-cli
Create a .env file in the project root with your configuration:
MY_EMAIL=youremail@gmail.com
EMAIL_PASSWORD=your_app_password
MY_LAT=22.470493
MY_LNG=88.307407
TIMEZONE_OFFSET=5.5
β οΈ Use an App Password if using Google accounts (not your main password).
Install the required Python packages:
pip install -r requirements.txt
Execute the script to start tracking the ISS:
python main.py
The program will: