frakegps

Crates.iofrakegps
lib.rsfrakegps
version0.2.0
sourcesrc
created_at2020-02-17 22:02:23.491361
updated_at2023-07-01 08:45:58.723819
descriptionSimulate a simple GPS device with gpsd or geoclue2
homepage
repositoryhttps://github.com/frafra/frakegps
max_upload_size
id210172
size102,029
Francesco Frassinelli (frafra)

documentation

README

Build Status

Description

FrakeGPS simulates a simple GPS receiver which emits NMEA codes. The location is selected clicking on a map, using web-view and Leaflet.

frakegps-gpsmon

Build

Dependencies

  • cargo
  • webkit2gtk (devel)

Fedora

sudo dnf install cargo webkit2gtk4.1-devel

Ubuntu

sudo apt-get install cargo libwebkit2gtk-4.1-dev

Compile

To build the latest stable release from crates.io:

cargo install frakegps

To built the source from the repository:

cargo build

Usage

Usage with gpsd

sudo systemctl stop gpsd.socket
cargo run -q | gpsd -bnN /dev/stdin

Usage with geoclue

cargo run -q | nc -vkl 10110
avahi-publish -s "FrakeGPS for $(hostname)" _nmea-0183._tcp 10110

Additional resources

Commit count: 38

cargo fmt