Saves all the planes flying above the designated area in a database.
See the changelog for the latest updates.
You can use Docker or install this app manually. Here's how:
- Download go (go 1.20 required).
- Download or clone the project.
- Download the binary from the Releases or build it yourself.
- Configure the app.
You can either:
- Use the
Makefile
by runningmake
in the project directory. - Use
go build
in the project directory.
The configuration details must be set inside a .env
file at the root of the project. An exemple is provided inside .env.example
.
Item | Values | Meaning |
---|---|---|
TRACKER_POLL_RATE |
number |
Tracker poll rate (in seconds) |
TRACKER_DEBUG |
boolean |
Enable debug logs |
TRACKER_LOCATION_LATITUDE |
floating point number |
Latitude of the center of the area to be covered |
TRACKER_LOCATION_LONGITUDE |
floating point number |
Longitude of the center of the area to be covered |
TRACKER_RADIUS_DISTANCE |
number |
Radius distance from the center of the area to be covered (in Km) |
If not running the docker compose, you also need to run a postgres database yourself.
- With docker:
- Build the image
- Use docker compose to start both containers
- With a binary:
- Run
chmod +x planes-tracker
. - Start the tool with
./planes-tracker
- You should definetely start it in a screen or daemonize it.
- Run
- Running from source:
- Start the tool with
go run .
- Start the tool with
See the license.