dfleischhacker / locationhistory-collector

A tool for collecting OwnTracks MQTT messages and storing them into a database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

locationhistory-collector

Simple tool for collecting OwnTracks location messages from an MQTT broker and store them into a database.

Update static files

Run go-bindata -fs -pkg static . in the static directory

Compile for Raspberry Pi 3

CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build github.com/dfleischhacker/locationhistory-collector

Compile for Linux x64 on Mac

  • Install musl cross compiler tools: brew install FiloSottile/musl-cross/musl-cross
  • CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ GOARCH=amd64 GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static"

About

A tool for collecting OwnTracks MQTT messages and storing them into a database

License:MIT License


Languages

Language:Go 91.2%Language:HTML 8.8%