OwnTracks Recorder
Store and access data published by [OwnTracks](https://owntracks.org/) location tracking apps.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
OwnTracks Recorder is an official component of the OwnTracks project, used to store and access location data published by OwnTracks apps (in the words of the official repository: Store and access data published by OwnTracks apps). OwnTracks is an open-source, privacy-focused location tracking solution: its Android and iOS clients send the device's location to a server that the user controls. The Recorder is the backend that receives and stores this data.
Key Features
- Receiving location data: It can subscribe to OwnTracks topics on an MQTT broker (such as Mosquitto), or it can use HTTP mode to receive data reported directly by the mobile app.
- Lightweight storage: Location records are saved as plain text files, organized by user and device. No separate database service is needed, which makes backups and script-based processing easy.
- Reverse geocoding: It can convert latitude and longitude into readable addresses, and the results are stored in a local cache to avoid repeated requests.
- Built-in web interface: It includes its own HTTP server, providing a map view, real-time location display and browsing of location history.
- API and command-line tool: It provides an HTTP API and comes with the
ocatcommand-line tool for querying and exporting location data, with support for formats such as GeoJSON, GPX and CSV. - Extensibility: It supports Lua script hooks for processing incoming location messages, which makes integration with other systems easier.
Target Users and Use Cases
It suits privacy-conscious users who don't want to hand their whereabouts over to third-party platforms such as Google or Apple, as well as self-hosting enthusiasts and home lab hobbyists. Common uses include recording your own travel tracks, sharing locations among family members, managing the location history of vehicles or devices, and providing location information such as home or away status to smart home systems.
Core Strengths
- You have full control over your data, which is stored on your own server.
- It is written in C and uses very few resources, so it can run on low-power devices such as the Raspberry Pi.
- It uses file-based storage with a transparent structure and doesn't depend on a heavyweight database.
- It works natively with the OwnTracks ecosystem and supports both MQTT and HTTP for data ingestion.
Installation and Deployment
- Docker: You can deploy it using the official container image, usually running alongside an MQTT broker.
- Packages or building from source: On Linux, you can compile and install it from source, and at build time you can enable or disable features such as MQTT, HTTP, Lua and reverse geocoding as needed.
- Once deployed, set the connection mode in the OwnTracks mobile app to MQTT or HTTP and enter the server address, and you can start reporting locations.
Technical Requirements
- A Linux or Unix-like system (it can also be run with Docker).
- When using MQTT mode, an MQTT broker (such as Mosquitto) is required.
- If the service needs to be reachable from the public internet, it is recommended to put a reverse proxy with TLS and authentication in front of it.
Worth Noting
The Recorder is designed mainly for personal and small-scale use. It has no full-featured multi-user permission system, so access control generally has to be implemented through a reverse proxy or the MQTT broker's authentication mechanism.
Discover more
HAProxy
Very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Nominatim
Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.
0 A.D.
Cross-platform real-time strategy game of ancient warfare.
0 A.D.
Cross-platform real-time strategy game of ancient warfare.
AdventureLog
Travel tracker and trip planner.
AirTrail
Personal flight tracking system.