#nmea #gps #devices #codes #gpsd #geoclue2

app frakegps

Simulate a simple GPS device with gpsd or geoclue2

3 unstable releases

0.2.0 Jul 1, 2023
0.1.3 Oct 2, 2021
0.1.2 Feb 17, 2020

#99 in Simulation

Download history 3/week @ 2024-02-15 10/week @ 2024-02-22 3/week @ 2024-02-29 5/week @ 2024-03-07 13/week @ 2024-03-14 26/week @ 2024-03-28 25/week @ 2024-04-04

51 downloads per month

GPL-3.0-or-later

32KB
112 lines

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

Dependencies

~7–45MB
~616K SLoC