(lang dune 3.21) (name owntracks) (generate_opam_files true) (license ISC) (authors "Anil Madhavapeddy ") (maintainers "Anil Madhavapeddy ") (source (tangled anil.recoil.org/ocaml-owntracks)) (package (name owntracks) (synopsis "OwnTracks message types and JSON codecs") (description "Types and jsont codecs for parsing OwnTracks MQTT location messages. OwnTracks is an open-source location tracking application that publishes GPS coordinates, accuracy, speed, battery, and other device state over MQTT. This library provides type-safe parsing and serialization of all OwnTracks message types including locations, transitions, waypoints, and cards.") (depends (ocaml (>= 5.1)) (jsont (>= 0.1.0)) (bytesrw (>= 0.1)) geojson (odoc :with-doc))) (package (name owntracks-cli) (synopsis "OwnTracks MQTT client and CLI tools") (description "Command-line tools for subscribing to OwnTracks location updates over MQTT. Includes commands for real-time monitoring, GeoJSON export, and querying the OwnTracks Recorder HTTP API for historical data.") (depends (ocaml (>= 5.1)) (owntracks (= :version)) (mqtte (>= 0.1)) (eio (>= 1.0)) (eio_main (>= 1.0)) xdge tomlt geojson (cmdliner (>= 1.2)) (logs (>= 0.7)) (fmt (>= 0.9)) mirage-crypto-rng requests (odoc :with-doc)))