Owntracks location tracking with MQTT and HTTPS (recorder) support
1(lang dune 3.21)
2(name owntracks)
3
4(generate_opam_files true)
5
6(license ISC)
7(authors "Anil Madhavapeddy <anil@recoil.org>")
8(maintainers "Anil Madhavapeddy <anil@recoil.org>")
9(source (tangled anil.recoil.org/ocaml-owntracks))
10
11(package
12 (name owntracks)
13 (synopsis "OwnTracks message types and JSON codecs")
14 (description
15 "Types and jsont codecs for parsing OwnTracks MQTT location messages.
16OwnTracks is an open-source location tracking application that publishes
17GPS coordinates, accuracy, speed, battery, and other device state over MQTT.
18This library provides type-safe parsing and serialization of all OwnTracks
19message types including locations, transitions, waypoints, and cards.")
20 (depends
21 (ocaml (>= 5.1))
22 (jsont (>= 0.1.0))
23 (bytesrw (>= 0.1))
24 geojson
25 (odoc :with-doc)))
26
27(package
28 (name owntracks-cli)
29 (synopsis "OwnTracks MQTT client and CLI tools")
30 (description
31 "Command-line tools for subscribing to OwnTracks location updates over MQTT.
32Includes commands for real-time monitoring, GeoJSON export, and querying
33the OwnTracks Recorder HTTP API for historical data.")
34 (depends
35 (ocaml (>= 5.1))
36 (owntracks (= :version))
37 (mqtte (>= 0.1))
38 (eio (>= 1.0))
39 (eio_main (>= 1.0))
40 xdge
41 tomlt
42 geojson
43 (cmdliner (>= 1.2))
44 (logs (>= 0.7))
45 (fmt (>= 0.9))
46 mirage-crypto-rng
47 requests
48 (odoc :with-doc)))