NextGraph: E2EE sync engine, SDK, graph DB, and reactive ORM
K.3.201 | Day 2 | 11:00 - 11:30 | Speakers: Niko Bonnieure, Laurin Weger
Abstract
NextGraph is a protocol, a framework, and a platform that supports easy development of Local-First, decentralized, secure and private apps.
By combining the best of the local first world (Yjs, Automerge CRDT libraries), a graph database, DID (decentralized identifiers) for users and documents, and end-to-end encryption plus encryption at rest, we provide an SDK that offers all the requirements of portability, interoperability and security needed today for building a true alternative to Big Tech platforms and products.
This talk will be composed of two parts. Niko will first introduce the general architecture of our platform, engine, protocol and SDK, giving an overview of its components, and some details on the E2EE sync protocol, cryptographic capabilities/permissions/access control. We will show how we support any kind of CRDT, including Automerge and Yjs, and the CRDT for Graph database (RDF) that we have developed.
Then Laurin will introduce the new ORM TypeScript SDK for NextGraph that turns document/database records into ordinary, typed objects with two‑way binding. By proxying those objects and emitting signals, the SDK provides a framework‑agnostic reactive layer that integrates cleanly with React, Vue, and Svelte. And more frameworks could be easily added in the future.
CRDT support - The SDK works with Yjs, Automerge, and, most notably, RDF - a graph data format designed for application interoperability. The SDK includes a converter that transforms SHEX shapes (an RDF schema language) into TypeScript type definitions for type safety.
Reactive POJOs - Objects are wrapped in a proxy, so any property change triggers a signal, which updates both the UI and sends a JSON patch to the backend. Signals provide an efficient, event‑driven mechanism for state propagation and have been gaining popularity in modern front‑end ecosystems.
You will see a live demo walking through a simple property change, showing how the mutation is instantly persisted to the local database, reflected in UI components across React, Vue, Svelte, and synchronized with the network across devices and user accounts.
Attachments
Speakers
Niko is a French engineer specializing in encryption, local-first, and semantic web. After the Snowden revelations in 2013, he decided to quit his job & dedicate his time to building Nextgraph.org, a decentralized platform for malleable apps based on a graph database featuring CRDTs, P2P and E2EE. He embraced the Local First movement and join a vibrant community of developers, engineers and researchers who are working toward a truly decentralized web, with data and software ownership for the user.
Laurin is a full-stack developer and likes working on decentralized technologies. His interests lie in application interoperability, RDF, and local-first.
Apart from contributing to NextGraph, Laurin works on ActivityPods, a framework to create decentralized social apps based on ActivityPub and Solid.
Laurin is involved with climate and social activism. Apart from that, he is interested in Science, Technology, and Society. He is based in Graz where he studies Computational Social Systems.
Links
External Links
Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.
