mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
docs: modules, the Secrets vault and sync protocol v2; lint modules in CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0d8c6f4c55
commit
fa98fba43f
7 files changed
+157
-6
No files matched your search
@@ -14,6 +14,8 @@ and an optional self-hosted sync server. Local-only (standalone graph) or client
|
||||
- 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); Flutter SDK
|
||||
in `~/development/flutter/bin`. Graph dir override: `SYNAPSE_GRAPH=/path`. See `docs/app.md`.
|
||||
- Build bundled modules (WASM, needs `rustup target add wasm32-unknown-unknown`):
|
||||
`scripts/build-modules.sh` (commit the `.wasm` it writes to `app/assets/modules/`)
|
||||
- Regenerate FFI bindings: `cd app && flutter_rust_bridge_codegen generate` (frb 2.13.0; commit
|
||||
the generated Rust and Dart files)
|
||||
|
||||
@@ -27,6 +29,8 @@ roadmap in `docs/plan.md`.
|
||||
- `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 (`docs/sync.md`).
|
||||
- `synapse-modules`: sandboxed WebAssembly modules (wasmi), permissions, host crypto
|
||||
(`docs/modules.md`); module sources and SDK in `modules/` (own workspace, wasm32 only).
|
||||
- `synapse-ffi`: the only API surface exposed to Flutter.
|
||||
|
||||
## Conventions
|
||||
|
||||
Reference in new issue
Block a user