2020-07-16 03:31:09 +00:00
# roam-location
2020-07-16 03:35:13 +00:00
The purpose of this repo is to make my current location available on adriano.fyi. The coordinates from the two services here are used populate the map at https://adriano.fyi/whereami
2020-08-12 00:08:56 +00:00
# About
2020-07-16 03:35:13 +00:00
2020-08-12 00:08:56 +00:00
I can't imagine this is useful to many others. This repo consits of a receiver of GPS data and a web service that makes the data avaialble.
2020-07-16 03:35:13 +00:00
2020-08-12 00:08:56 +00:00
## Receiver
2020-07-16 03:35:13 +00:00
The receiver receives UDP packets containing NMEA sentences from my Sierra Wireless RV55 router. The sentences are parsed and appended to a log file.
2020-07-23 18:43:41 +00:00
## Location Service
2020-07-16 03:35:13 +00:00
The location service simply finds the last location appended to the log file and makes it available as a JSON object over HTTP.
2020-08-12 00:08:56 +00:00
# Running
2021-07-27 15:01:59 +00:00
`ROAM_LOCATION_DB_PATH=/path/to/nmea_logs.log go run main.go`