Post

OwnTracks Recorder

OwnTracks Recorder stores and serves the location data published by the OwnTracks apps for iOS and Android. It subscribes to an MQTT broker, keeps the history in a local LMDB store, and provides a web interface plus an HTTP API for maps, tracks and friend positions - a self-hosted alternative to commercial location sharing.

OwnTracks Recorder

Installation

Default install:

1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/owntracks-recorder.sh)"
CPU: 1 cores RAM: 1024 MB Disk: 8 GB OS: Debian 13

Notes

A local Mosquitto broker is installed and the recorder subscribes to it on 127.0.0.1:1883. Configure the OwnTracks app on your phone to publish to [IP]:1883 in MQTT mode.
Mosquitto is installed with its default configuration, which allows anonymous local connections. Before exposing port 1883 beyond your LAN, add authentication and TLS in /etc/mosquitto/conf.d/.
Location history is stored in /opt/owntracks_data (LMDB plus the recorder's own store), outside the app directory. Back that up - it is the entire tracking history.
Installed from the official OwnTracks apt repository (repo.owntracks.org/debian), so updates go through apt. The recorder can also run in HTTP mode instead of MQTT - see the upstream README.

Web Interface

Port: 8083

Source code
Loading...