A Text User Interface (TUI) for tracking satellites in a terminal window. Save your latitude and longitude in a .env file and run python sattrack.py to see the satellite's approximate position relative to your location.
Cartesian coordinates are provided to aid in positioning a radio telescope. Approximate stellite locations are calculated using two-line elements (TLEs) and Skyfield.
Note: I have not been able to determine if the tracking is accurate, so please let me know if you have any success using this tool.
Open the directory in a terminal, ceate a new venv, and install the packages.
If using Linux, install python3.12-venv if not already installed
sudo apt install python3.12-venvMake venv (Linux)
sudo python3 -m venv satenv --system-site-packages
source satenv/bin/activateMake venv (Mac, etc.)
python3 -m venv satenv
source satenv/bin/activateInstall requirements
pip install -r requirements.txtRun the program
python sattrack.py Make a .env file in the root directory
touch .env
Open the .env file and add your latitude and longitude as environmental variables. Save and close the file.
Example:
LOCATION_LATITUDE=54.321
LOCATION_LONGITUDE=-76.543
- Facing north, rotate clockwise towards the target azimuth (X)
- At the target azimuth, tilt the telescope up towards the target altitude (Y)
Note:
- Be sure to update the TLEs in
satellites.csvevery few months
User Interface

