https://github.com/acaloiaro/roam-location
Location service for my personal site
https://github.com/acaloiaro/roam-location
Last synced: about 1 month ago
JSON representation
Location service for my personal site
- Host: GitHub
- URL: https://github.com/acaloiaro/roam-location
- Owner: acaloiaro
- Created: 2020-07-16T03:31:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T16:32:09.000Z (over 3 years ago)
- Last Synced: 2024-06-20T22:21:47.048Z (over 1 year ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# roam-location
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# About
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.
## Receiver
The receiver receives UDP packets containing NMEA sentences from my Sierra Wireless RV55 router. The sentences are parsed and appended to a log file.## Location Service
The location service simply finds the last location appended to the log file and makes it available as a JSON object over HTTP.
# Running
`ROAM_LOCATION_DB_PATH=/path/to/nmea_logs.log go run main.go`