From 9c2786c2186499595a8b3264d78b1af81f834eb9 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 21:41:16 +0100 Subject: we're a replicated document, not KV store --- docs/openapi.yaml | 4 ++-- src/config/mod.rs | 2 +- src/main.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 5546ac4..2867950 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -3,8 +3,8 @@ info: title: continuum version: 0.1.0 description: | - HTTP API of a continuum node: a replicated Automerge key-value store that syncs - over Mycelium, libp2p or Tor. + HTTP API of a continuum node: a replicated Automerge document, read and written + as JSON by path, that syncs over Mycelium, libp2p or Tor. Every endpoint requires HTTP basic authentication (users from `--htpasswd`, Argon2 hashes), except `/health`, `/ready`, the Swagger UI (`/swagger-ui`) and diff --git a/src/config/mod.rs b/src/config/mod.rs index 43dd408..c7f96a3 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1198,7 +1198,7 @@ pub(super) const UNSET: &str = "unset"; fn command() -> Command { let mut command = Command::new("continuum") .version(env!("CARGO_PKG_VERSION")) - .about("continuum: a replicated key-value store over Mycelium, libp2p or Tor") + .about("continuum: a replicated Automerge document over Mycelium, libp2p or Tor") .after_help( "Every option can also be set in a configuration file (--config); arguments win.\n\ A value can be imported instead of written out: env:NAME, file:PATH or cmd:COMMAND \ diff --git a/src/main.rs b/src/main.rs index 6c37872..a10eb73 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ -//! continuum: a replicated Automerge key-value store, synchronized over Mycelium, -//! libp2p or Tor. +//! continuum: a replicated Automerge document, read and written by path, synchronized +//! over Mycelium, libp2p or Tor. //! //! main.rs only wires things together: arguments, the starting document, the node //! (`node`), bootstrap and the HTTP server. -- cgit v1.3.1