Relay

by System 3
5
4
3
2
1
Score: 76/100

Description

The Relay plugin introduces true multiplayer capabilities to Obsidian, allowing users to collaborate in real-time with live cursors, seamless offline editing, and folder sharing. It leverages Conflict-Free Replicated Data Types (CRDTs) to track and sync changes efficiently, ensuring that all collaborators see consistent updates. Users can create and manage relays, invite others using share keys, and organize shared folders. The plugin supports markdown files and folders, offering features like conflict-free block editing and quick updates upon reconnecting. Relay prioritizes a local-first approach, enabling offline functionality and merging edits upon reconnection.

Reviews

No reviews yet.

Stats

473
stars
197,662
downloads
30
forks
646
days
1
days
114
days
64
total PRs
12
open PRs
18
closed PRs
34
merged PRs
38
total issues
17
open issues
21
closed issues
497
commits

Latest Version

4 months ago

Changelog

This release includes a critical fix for a bug that caused "blank notes" on initial upload of a folder. Users had to resolve a merge conflict with the file on disk (which had their content), and if the merge conflict was not resolved immediately (without closing the editor tab) then the content could be lost.

New features

  • Clicking the "stack" icon now proactively opens the differ if there is a mismatch between the CRDT and the file on disk. Otherwise it will synchronize the editor to show the CRDT state.

Fixes

  • "blank note" creation

Full Changelog: https://github.com/No-Instructions/Relay/compare/0.7.3...0.7.4

README file from

Github

Relay 🛰️

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 Product Demo

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.

How does Relay work?

In a nutshell, Relay:

  1. 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.
  2. Relays updates. It sends those updates up to Relay servers 🛰️, which then echo the updates out to all collaborators on the relay.
  3. Integrates updates. Your collaborator receives the updates and integrates them seamlessly as they come in.

What's a CRDT?

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.

Intro to the Modern State of Synchronization

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 open source CRDT that we use in Relay.

What can I do with Relay?

Oh, the things you can do.

Here's a video tour:
Watch the video

Create a new relay

  1. Go to Obsidian settings (gear icon in lower left of Obsidian)
  2. Go to Relay settings (on the left, at the bottom)
  3. Create new relay
  4. Add shared folder(s) to the relay

Demo - Create a new Relay

Add users to the relay by giving them a share key

  1. Go to settings for your relay
  2. Grab the share key
  3. Give it to your people

Demo -Sharing a Relay

Collaborate to your heart's content

  • 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

Kick user from a relay

  • 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

Demo - Kick a user from a Relay

Join someone else's relay

  1. Get their share key
  2. Use it to join their relay
  3. Add the folders you want to your vault

Demo - Join a Relay

Destroy the relay when you're done

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.

FAQ

Asked more or less frequently.

Which file types are supported?

Relay currently has two types of storage, document storage and attachment storage. Document storage is backed by our real-time CRDT servers, while Attachments are stored as file blobs.

Document storage:

  • Folders
  • Markdown files

Attachment storage:

  • Images
  • Audio
  • Video
  • PDFs
  • Other files (must be enabled in settings)

You need to have available Attachment storage in order to sync images/audio/video/PDFs/etc.

How much does Relay cost?

Free ($0)
  • Up to 3 users
  • 2 devices per user
  • Unlimited markdown files
  • No cloud storage (0 MB)
  • Self-hosted deployment
  • Cloud deployment (.md only)
  • BYO Relay Server
  • BYO storage (unmetered, self-host only)
  • Community support
Hobby ($5 per month total)
  • Up to 6 users
  • 3 devices per user
  • Unlimited markdown files
  • 10GB cloud storage included
  • Self-hosted deployment
  • BYO Relay Server
  • BYO storage (unmetered, self-host only)
  • Community support
Starter ($6 per user per month)
  • Unlimited users
  • 6 devices per user
  • Unlimited markdown files
  • 20GB + 5GB/user cloud storage included
  • Self-hosted deployment
  • BYO Relay Server
  • BYO storage (unmetered)
  • Role-based access control
  • Single sign-on
  • Private Discord
  • Email support

We offer discounts for educational use.

Do I need to be online to use Relay?

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.

How are edits merged?

We use a Conflict-Free Replicable Data Types (CRDTs) provided by the excellent yjs library.

Is Relay Open Source?

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.

Can I self-host?

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.

Who's behind Relay?

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 AILumosity, and Big Health

Do you have a privacy policy?

Yes: https://system3.md/Privacy+policy.

How can I make a responsible security disclosure?

Please email [email protected]

Installing Relay

You can search for Relay in the Obsidian Community plugins list, or click this Obsidian Plugin Link.

Join our Discord!


[1] Intro to CRDTs by Lars Hupel https://lars.hupel.info/topics/crdt/01-intro/

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Timeline
5 years ago by George Butco
Obisdian.md plugin for creating timelines
Show Current File Path
5 years ago by Ravi Mashru
Obsidian plugin to show the file path of the current file in the status bar
Discord Rich Presence
6 years ago by Luke Leppan
Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.
Search on Internet
5 years ago by Emile
Add context menu items in Obsidian to search the internet.
Workbench
6 years ago by ryanjamurphy
A plugin to help you collect working materials.
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Mxmind Mindmap
2 years ago by mxmind
mxmind for obsidian plugin
Lineage
2 years ago by ycnmhd
Gingko-like interface in obsidian
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Prompt ChatGPT
2 years ago by Coduhuey
Discordian Theme
5 years ago by @radekkozak
Discordian plugin for tweaking Discordian theme
Markdown Furigana
5 years ago by Steven Kraft
Simple Markdown to Furigana Rendering Plugin for Obsidian
Electron Window Tweaker
5 years ago by mgmeyers
AI Tagger
2 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
Youglish
5 years ago by Noureddine Haouari
Use YouTube to improve your pronunciation. YouGlish plugin gives you fast, unbiased answers about how words is spoken by real people and in context.
Dangerzone Writing
5 years ago by Alexis Rondeau
A plugin that forces you to write for X seconds. If you pause for more than 5 seconds, everything you've written in this note is DELETED.
PF2e Statblocks
2 years ago by Tyler Pixley
Allows Obsidian to render Pathfinder 2e statblocks cleanly, using only Markdown-based syntax.
Add links to current note
6 years ago by MrJackphil
This plugin adds a command which allows to add a link to the current note at the bottom of selected notes
Footlinks
5 years ago by Daha
Obsidian plugin that extracts urls from the main text to footer, offering a better reading/editing experience.
Antidote Grammar Checker Integration
3 years ago by Heziode
An Obsidian integration of Antidote, a powerful grammar checker
Ego Rock
2 years ago by Ashton Eby
An obsidian plugin that implements a basic taskwarrior UI for listing and modifying tasks.
Readwise Community
5 years ago by renehernandez
Sync Readwise highlights into your obsidian vault
Canvas Mindmap Helper
2 years ago by Tim Smart
Nexus AI Chat Importer
2 years ago by Superkikim
Title index
5 years ago by renmu123
markdown_index is an extension that can add serial numbers to your markdown title.
S3 Image Uploader
3 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
Link indexer
5 years ago by Yuliya Bagriy
Another Sticky Headings
2 years ago by Zhou Hua
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Adjacency Matrix Maker
5 years ago by SkepticMystic
Creative an interactive adjacency matrix of your Obsidian vault
Yesterday
2 years ago by Dominik Mayer
Obsidian plugin providing Yesterday journaling support
JavaScript Init
5 years ago by ryanpcmcquen
Run custom JavaScript in Obsidian.
oblogger
3 years ago by loftTech
tag explorer and frontmatter logger plugin for obsidian
Open cards in imdone.
5 years ago by saxmanjes
Open cards in imdone from obsidian
Quadro
2 years ago by Chris Grieser (aka pseudometa)
Obsidian Plugin for social-scientific Qualitative Data Analysis (QDA). An open alternative to MAXQDA and atlas.ti, using Markdown to store data and research codes.
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
Text Wrapper
3 years ago by smx0
Plugin for Obsidian
Mochi Cards Exporter
5 years ago by kalbetre
Mochi Cards Exporter Plugin for Obsidian
Image to text OCR
2 years ago by Dario Baumberger
Convert a image in your note to text.
InlineCodeHighlight
3 years ago by Dimava
Metadata Icon
2 years ago by Benature
change metadata entry icon
Plugin Reloader
2 years ago by Benature
manual reload plugins
simple-sketch
2 years ago by Yoh
an Obsidian plugin to create minimal sketches
Julian Date
5 years ago by thek3nger
Plugin for Obsidian to add the current Julian Date for astronomical observations
Alias Management
2 years ago by WithMarcel
Identify duplicate notes based on similar aliases and filenames in Obsidian.
Movie Search
2 years ago by Gubchik123
Obsidian plugin to help you create movie notes.
Expiration-Date-Tracker
3 years ago by Marius Wörfel
Opsidian plugin to keep track of all expiration dates, for example, for your groceries.
Hoarder Sync
a year ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with https://karakeep.app/
Seafile
2 years ago by conql
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
KeepSidian
2 years ago by lc0rp
Filtered Opener
2 years ago by Roman Kubiv
Sets of notes defined by filters to open notes.
Markdown Media Card
2 years ago by Zhou Hua
Track-a-Lot
2 years ago by Iulian Onofrei
This is a tracker plugin for Obsidian
Hugo codeblock highlight
2 years ago by aarol
Highlights lines in code blocks using Hugo's hl_lines syntax
Auto Definition Link
2 years ago by Nolan Carpenter
This is a plugin for Obsidian to automatically create links to blocks in your vault
PARA Workflower
2 years ago by KevTheDevX
Helpful commands for starting and working in your vault with the PARA method.
Gitlab Wiki Exporter
2 years ago by Josef Rabmer
Hash Pasted Image
2 years ago by Minh Vương
Auto rename pasted images added to the vault via hash algorithm SHA-512
Canvas LMS Task Importer
2 years ago by jordaeday
Imports assignments from Canvas LMS as tasks in Obsidian
Orion Publish
2 years ago by Sean Collings
Immich
2 years ago by Talal Abou Haiba
Tokenz
2 years ago by Ferenc Moricz
Use any kind of short codes in Obsidian! Comes with a map for smileys (:), ;), ...) and one for emojis (:smile:, :wink:, ...).
Tencent COS for Imgur
a year ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Suggest Notes
2 years ago by Doggy-Footprint
Clojure Plugin Host
a year ago by Vladimir "farcaller" Pouzanov
A Clojure plugin host, allowing the creation of simple Clojure-based plugins right inside Obsidian