True multiplayer mode for Obsidian. 💃🕺
- Collaborate in real time with live cursors.
- Edit offline and sync seamlessly when you're back on.
- Share folders and manage access to updates.
Relay is a collaborative editing plugin for Obsidian by System 3. It uses CRDTs to enable snappy, local-first, real-time and asynchronous collaboration.
Join our Discord for support and a good time.
In a nutshell, Relay:
- Tracks updates to designated folders. The plugin uses conflict-free replicated data types (CRDTs) to track updates to folders that you designate within your vault.
- Relays updates. It sends those updates up to Relay servers 🛰️, which then echo the updates out to all collaborators on the relay.
- Integrates updates. Your collaborator receives the updates and integrates them seamlessly as they come in.
Great question. CRDT stands for conflict-free replicated data type and it's a technology that's critical to making local-first real-time collaboration work.
The fundamental idea is this: You have data. This data is stored on multiple replicas. CRDTs describe how to coordinate these replicas to always arrive at a consistent state. [1]
For a great intro and overview, watch the first 10 minutes of this video by Martin Kleppmann. If you want to get into the nitty-gritty, watch the whole thing.
For more, check out this video: Intro to the Modern State of Synchronization by Kevin Jahns. Jahns is the maintainer of Yjs, which is the the open source CRDT that we use in Relay.
Oh, the things you can do.
- Go to Obsidian settings (gear icon in lower left of Obsidian)
- Go to Relay settings (on the left, at the bottom)
- Create new relay
- Add shared folder(s) to the relay
- Go to settings for your relay
- Grab the share key
- Give it to your people
- If you're in a note at the same time, you'll see each others' cursors
- You can edit the same block at the same time (magic of CRDTs)
- You can edit offline and it'll all be fine when you come back on (CRDTs ftw)
- If you hit any bugs or have questions/requests let us know in the Discord
- Right now anyone with the share key can join the relay
- So you can kick the user but they could rejoin if they want
- We'll be adding stricter sharing options in the future
- Get their share key
- Use it to join their relay
- Add the folders you want to your vault
If you're the owner of a relay, you can destroy the copy on the server.
If you're a member but not the owner, you can leave the relay (destroy your connection to the server), and you can destroy the local data.
Asked more or less frequently.
Relay currently syncs:
- folders
- markdown files
Other file types are coming soon!
Each user can create up to 25 Relay Servers.
- 3 Users
- 100MB markdown edit-history storage
- Includes 10 seats ($1 per user per month)
- Unlimited markdown edit-history storage
- Contact us
Relay is local-first -- this means that all of your edits are tracked locally and the server is used to relay the edits to your collaborators. You can work offline and your edits will be merged once you come back online.
We use a Conflict-Free Replicable Data Types (CRDTs) provided by the excellent yjs library.
The Obsidian plugin code is MIT licensed (this repo).
The Relay Server is a fork of y-sweet and is MIT licensed.
Our login, permissions, and billing server code is proprietary.
We support "On-Prem" deployment of a Relay Server.
If you self-host your Relay Server on a private network then your users will still perform login and permissions checks through our servers, but they will connect directly to your server. Your content will be completely private and inaccessible by us.
For instructions on hosting your Relay Server on fly.io, see Relay Server Template.
Join our Discord for help on configuring your on-prem deployment.
Relay is made by System 3. The legal entity behind System 3 is No Instructions, LLC.
Right now the whole operation is two people:
- Dan, a software engineer who has worked at places like Planet and Benchling
- Matt, a product manager and psychotherapist (in training) who has worked at places like Meta AI, Lumosity, and Big Health
Yes: https://system3.md/Privacy+policy.
Please email [email protected]
You can search for Relay
in the Obsidian Community plugins list,
or click this Obsidian Plugin Link.
[1] Intro to CRDTs by Lars Hupel https://lars.hupel.info/topics/crdt/01-intro/