This server exposes a http(s) API that lets you post messages from your home network and discover them later on.
cargo run -- -h 0.0.0.0 -p 4242 --cert-dir /etc/letsencrypt/live/knilxof.org
Two endpoints are provided:
- /register?message=XXX will publish
message
to other clients who also connect from the same outgoing IP address as you. - /ping will return a json representation of the messages that are published from the same outgoing IP address.