Peer to Peer Replicator

{_msg("P2P.Note.Summary")}

{_msg("P2P.Note.important_note")}

{_msg("P2P.Note.important_note_sub")}

{#each _msg("P2P.Note.description").split("\n\n") as paragraph}

{paragraph}

{/each}

Connection Settings

{#if isObsidian} You can configure in the Obsidian Plugin Settings. {:else}
{eRelay}
Enable P2P Replicator
Relay settings
Room ID This can isolate your connections between devices. Use the same Room ID for the same devices.
Password This password is used to encrypt the connection. Use something long enough.
This device name Device name to identify the device. Please use shorter one for the stable peer detection, i.e., "iphone-16" or "macbook-2021".
Auto Connect
Start change-broadcasting on Connect
{/if}

Signaling Server Connection

{#if !isConnected}

No Connection

{:else}

Connected to Signaling Server (as Peer ID: {serverPeerId})

{/if}
{#if !isConnected} {:else} {#if replicatorInfo?.isBroadcasting !== undefined} {#if replicatorInfo?.isBroadcasting} {:else} {/if} {/if}
Broadcasting?

If you want to use `LiveSync`, you should broadcast changes. All `watching` peers which detects this will start the replication for fetching.
However, This should not be enabled if you want to increase your secrecy more.

{/if}

Peers

{#each peers as peer} {/each}
Name Action Command