Relay Connect

Nostr Relay Connect (NRC) allows remote access to this relay through a public relay tunnel. Create connection strings for your devices to sync securely.

{#if !nrcEnabled}
{#if badgerRequired}

NRC requires the Badger database backend.

Set ORLY_DB_TYPE=badger to enable NRC functionality.

{:else}

NRC is not enabled on this relay.

Set ORLY_NRC_ENABLED=true and configure ORLY_NRC_RENDEZVOUS_URL to enable.

{/if}
{:else if !isLoggedIn}

Please log in to manage relay connections.

{:else if userRole !== "owner"}

Owner permission required for relay connection management.

Current role: {userRole || "none"}

{:else}
Status: Enabled
Rendezvous: {config.rendezvous_url || "Not configured"}
{#if config.mint_url}
Cashu Mint: {config.mint_url}
{/if}

Create New Connection

Connections ({connections.length})

{#if connections.length === 0}

No connections yet. Create one to get started.

{:else}
{#each connections as conn}
{conn.label}
ID: {conn.id.substring(0, 8)}... Created: {formatTimestamp(conn.created_at)} {#if conn.last_used} Last used: {formatTimestamp(conn.last_used)} {/if} {#if conn.use_cashu} CAT {/if}
{/each}
{/if}
{#if message}
{message}
{/if} {/if}
{#if showURIModal} {/if}