mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
feat(sync): op-log sync protocol, client and axum server
Adds synapse-sync (protocol types, Remote transport and read API, SyncClient with background loop, SSE realtime, resumable blobs) and synapse-server (multi-graph, bearer auth, blob streaming, read API, authenticated update endpoint), with e2e tests, docs/sync.md, docs/server.md, systemd unit and update script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fbcfcf678f
commit
4aa3c01a7f
25 files changed
+4299
-10
No files matched your search
+10
-3
@@ -1,10 +1,17 @@
|
||||
# Synapse server configuration (names only; never commit real values).
|
||||
|
||||
# Address the sync server listens on, e.g. 127.0.0.1:7878
|
||||
# Address the sync server listens on, e.g. 127.0.0.1:7878 (default if empty)
|
||||
SYNAPSE_BIND=
|
||||
# Directory holding server-side graphs and blobs
|
||||
# Directory holding server-side graphs and blobs (required)
|
||||
SYNAPSE_DATA_DIR=
|
||||
# Bearer token clients must present (generate a long random string)
|
||||
# Bearer token(s) clients must present, comma separated, each >= 16 chars
|
||||
# (generate with `openssl rand -hex 32`; required)
|
||||
SYNAPSE_AUTH_TOKEN=
|
||||
# Token that authorises POST /admin/update (self-update). Endpoint disabled if empty.
|
||||
SYNAPSE_UPDATE_TOKEN=
|
||||
# Update script run by the endpoint (default /opt/synapse/scripts/update.sh)
|
||||
SYNAPSE_UPDATE_SCRIPT=
|
||||
# Log format: text (default) or json
|
||||
SYNAPSE_LOG_FORMAT=
|
||||
# Log filter, e.g. info,synapse_server=debug
|
||||
RUST_LOG=
|
||||
Reference in new issue
Block a user