/flightbox_backend

At home flightracker live data viewer backend

Primary LanguageRustMIT LicenseMIT

flightbox client

The pi client for flightbox, powered by staticPi.com

See the frontend website source here

Using the api & data from adsbdb.com, source-code for that seen here

Requirements

Built specifically to work in conjunction with this

Build

pi 4 64bit

cross build --target aarch64-unknown-linux-musl --release

Tests

# Watch
cargo watch -q -c -w src/ -x 'test  -- --test-threads=1 --nocapture'

# Run all 
cargo test -- --test-threads=1 --nocapture

Ignore this

dbus in docker?

https://georgik.rocks/how-to-start-d-bus-in-docker-container/

https://gist.github.com/eoli3n/93111f23dbb1233f2f00f460663f99e2

sudo nano /etc/gdm3/custom.conf

In wayland - although so far untested screen toggling requires these envs:

export XDG_RUNTIME_DIR="/run/user/$UID"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"