Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 647 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 647 Bytes

Registration server

Build Status

This server exposes a http(s) API that lets you post messages from your home network and discover them later on.

Usage

cargo run -- -h 0.0.0.0 -p 4242 --cert-dir /etc/letsencrypt/live/knilxof.org

Urls

Two endpoints are provided:

  1. /register?message=XXX will publish message to other clients who also connect from the same outgoing IP address as you.
  2. /ping will return a json representation of the messages that are published from the same outgoing IP address.