mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +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,7 +10,7 @@ and an optional self-hosted sync server. Local-only (standalone graph) or client
|
||||
- Format: `cargo fmt --all` (Rust), `dart format app/` (Flutter)
|
||||
- Lint: `cargo clippy --workspace --all-targets -- -D warnings`, `cd app && flutter analyze`
|
||||
- Test: `cargo test --workspace`, `cd app && flutter test`
|
||||
- Run server: `cargo run -p synapse-server`
|
||||
- Run server: `SYNAPSE_DATA_DIR=/tmp/syn SYNAPSE_AUTH_TOKEN=<16+ chars> cargo run -p synapse-server`
|
||||
- Run app: `cd app && flutter run -d linux` (or `-d windows`, an Android device)
|
||||
- Regenerate FFI bindings: `cd app && flutter_rust_bridge_codegen generate`
|
||||
|
||||
@@ -23,7 +23,7 @@ roadmap in `docs/plan.md`.
|
||||
- `synapse-ai`: provider-agnostic LLM/embeddings clients (user-supplied API keys).
|
||||
- `synapse-history`: automatic git-like snapshots of the graph.
|
||||
- `synapse-caldav`: CalDAV calendar + VTODO tasks.
|
||||
- `synapse-sync` / `synapse-server`: client-server protocol and axum server.
|
||||
- `synapse-sync` / `synapse-server`: client-server protocol and axum server (`docs/sync.md`).
|
||||
- `synapse-ffi`: the only API surface exposed to Flutter.
|
||||
|
||||
## Conventions
|
||||
|
||||
Reference in new issue
Block a user