An implementation of the Time over HTTPS Specification with a pretty front-end providing analog and digital clock displays synchronized using a simplified version of the NTP algorithm.
By default the server listens for local HTTP connections on port 8123.
Listens for connections on all network interfaces instead of only localhost.
Listens for connections by binding to <PORT> instead of 8123.
Enables support for plaintext HTTP/2. Only supported when listening on TCP/IP.
Creates a Unix domain socket at <PATH> to listen for connections.
Enables support for HTTPS using the TLS certificate read from a PEM-encoded file
at <PATH>. Requires --tls-key.
Enables support for HTTPS using the private key read for a PEM-encoded file at
<PATH>. Requires --tls-cert.
Enables support for WebTransport. Opens an additional UDP socket to listen for QUIC connections. Uses port 8123 by default.
Listens for QUIC connections on <PORT> instead.
Prints help text.
Prints the application version.
The frontend component is located in the web directory and must be built first
using npm:
$ npm install
$ npm run buildThe backend component can now be built with Cargo:
$ cargo buildWhen built in debug mode the frontend components are served live from the dist
directory. When built in release mode they are included in the binary.