ホーム 暮らし Done in 7 Minutes! [Complete Guide] How to Real-Time Collaborate in Obsidian | How to Use the Relay Plugin

Done in 7 Minutes! [Complete Guide] How to Real-Time Collaborate in Obsidian | How to Use the Relay Plugin

三浦 拓海 三浦 拓海 • 更新: • 公開: • 読了約 17 分
目次


nfc1132a7e01d

Have you ever thought, "Obsidian would be great if two (or three) people could edit it at the same time, just like Google Docs"?

Obsidian is a tool designed for individual use, and it doesn't support real-time collaboration with others by default. However, if you install a plugin called Relay, you can edit the same note with multiple people simultaneously, while seeing each other's cursors. Plus, the setup is incredibly easy!

I'm currently co-authoring a Kindle manuscript with a friend, and we were both so impressed that we said, "This is amazing!" The setup really can be done in just 7 minutes!

Drawing on my experience as an engineer and educational writer, I will carefully explain everything step-by-step, from installation to starting your first collaborative edit, so even beginners won't get lost!



What is Relay? (How it works in 30 seconds)

|Relay is an official Obsidian community plugin developed by a team called System 3. In a nutshell, its features are—

Here is an image of how it works.

あなたのObsidian ──┐
 ├─→ Relayのサーバー(変更を中継するだけ)─→ 相手にリアルタイム反映
相手のObsidian ──┘

There are three key points.

  • Real-time: You can see the other person's typing character by character (with live cursors).

  • No conflicts: Using special technology (CRDT), it won't break even if two people write the same sentence at the same time.

  • Offline OK: You can edit even if the internet is disconnected, and it will automatically sync the moment you reconnect.

Manual "send/receive" operations like Git or Obsidian Sync are unnecessary. It syncs automatically just by keeping it open.


Finished image (the goal of this article)

  • You (the owner) share a specific folder within your vault.

  • Give the other person (participant) a passphrase called a "share key".

  • When the other person joins with that key, only the contents of that folder will be synced in real-time.

What you need to prepare

  • PC version of Obsidian (required for both you and the other person)

  • A free Relay account (created when setting up the server; free for up to 3 people)

  • That's it. No difficult installations like Git are required at all.

There are two roles

Role Task Owner You. The person who shares the folder and issues the passphrase (share key). Participant The other person. The person who joins the share using the provided passphrase.

Below, I will explain in the order of [Owner Edition] first, then [Participant Edition].

[Owner Edition] Steps to start sharing

STEP 1: Install the Relay plugin
  1. Open Obsidian, and go to the gear icon in the bottom left → Settings.

  2. Select Community plugins from the left menu.

  3. If "Restricted mode" is turned on, turn it off (you cannot install plugins without doing this).

  4. Click the "Browse" button and enter "Relay" in the search box.

  5. Select Relay (Author: System 3), then install → enable.

STEP 2: Create a Relay account and set up a server
  1. Open Relay from the left menu in the settings screen.

  2. Follow the on-screen instructions to sign in (create a free account).

  3. Click "Create" (to create a server).

    • Think of the "server" you create here as a shared container. No difficult settings are required; just press the button.

STEP 3: Add the folder you want to share
  1. On the server settings screen you created, click "Share a folder".

  2. From your vault, select the folder you want to edit with the other person.

  3. The folder is now set for sharing.

STEP 4: Give the share key to the other person
  1. Copy the share key displayed on the server settings screen.

  2. Send it to the other person (using your usual communication method like LINE or email is fine).

That's all for the owner!

[For Participants] Steps to join the share

STEP 1: Install the Relay plugin
  • Install and enable Relay in your own Obsidian using the exact same steps as STEP 1 for the owner.

STEP 2: Join with a share key
  1. Open Relay in settings and sign in (create a free account).

  2. In the share key input field, paste the key you received from the owner.

  3. Once you join, the shared folder will appear in your vault and its contents will be synced.

Now both of you are ready. From here on, just open a note as usual, and each other's edits will be reflected in real-time

Let's try it out (Basics of collaborative editing)

  • Simultaneous editing: When two people open the same note, you can see the other person's cursor and input on the spot.

  • Offline: You can continue editing even if the internet cuts out, and it will automatically merge when you reconnect.

  • Canvas is also supported: It supports collaborative editing not just for regular notes, but also for Canvas.

You can enjoy an experience like Google Docs right inside Obsidian.

Common stumbling blocks (FAQ)

Q. Relay doesn't appear in search → It won't show up if 'Safe mode' is still on. Please turn off Safe mode in the community plugins screen before searching.

Q. I don't want the other person to see all my notes → Don't worry. Only the folder you select in 'Share a folder' will be shared. It is recommended to create one folder for sharing and put only the things you want to write together in there.

Q. How many people can use it for free? → It is free for up to 3 people. If you are using it with 2 people, you can use it for free forever.

Q. Will my files be stored on the other person's server? → Relay is local-first. The actual files remain on each person's PC, and the server acts as a relay for changes. If you need stricter privacy, there is also an option for advanced users to set up their own server (self-host).

How is it different from Git or Obsidian Sync?

  • Git: It's powerful, but it requires installation and 'push/pull' operations, which is a high hurdle for beginners.

  • Obsidian Sync: Primarily for syncing between your own multiple devices, and not suitable for real-time collaboration with others.

  • Relay: Specialized for real-time collaboration with others. After installation, just share a folder and pass the key. No manual sync operations required.

If you want to "simply write together with someone in Obsidian," Relay is currently the easiest option.

Summary

  1. Install & enable Relay (turn off restricted mode)

  2. Sign in and create a server with "Create"

  3. Select a shared folder with "Share a folder"

  4. Give the share key to the other person → They join using the key

With just this, Obsidian turns into a place where two people can write. If you want to add "writing together" to Obsidian, which is already great for writing alone, please give it a try.

That's all from me, Komine, an engineer and educational writer!


同じカテゴリの記事

三浦 拓海
コンテンツディレクター 三浦 拓海
プロフィールを見る →

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事