Satellite tracking TUI using ratatui
Rust 100.0%
4 1 0

Clone this repository

https://tangled.org/technoduck.me/sattelite_observe.rs
git@knot.technoduck.me:technoduck.me/sattelite_observe.rs

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Satellite observatory#

(yes i'm aware of the typo)

Inspired by my previous project iss_locator.rs, and the indomitable human spirit, its an interactive program displaying the current location of the ISS.

The UI is made using ratatui.rs, which I hopefully will be able to then also port to ratzilla.

Usage#

Can either be compiled normally, or with a logging feature, to enable tracing everything into log.log file (horrible alas it works).

Methods#

Location of the ISS is obtained from celestrak, where the Two Line Element for the ISS's orbit is obtained.

SGP4 algorithms + Earth Rotation angle are used to calculate the location and velocity at any specific point in time.

Future?#

While the code for now is a bit ISS specific other satellites can be easily added, by fetching their TLE and doing the same calculations.

  • Transform location update to inline calculation, it's not that costly async can be reserved for the TLE fetching.
  • general cleanup

Contributions?#

If you want a symbolic (or not) contribution, the easiest would be to dox yourself add a city! They are all held in a pub const CITIES in app.rs. Adding a city is as easy as adding another line with your chosen location name, and longitude and lattitude (decimal).

The ISS visibility status is in the works, but the City struct should not change.