{#snippet toggle(onclick)} {/snippet} {#snippet popover()}
{#if status} {#if status.relayUnreachable}
No relay connected: peers may not reach this node.
{/if}
Endpoint {#if status.version} Node version {status.version} {/if} {#if binaries?.cliVersion} CLI version {binaries.cliVersion} {/if} Uptime {uptime} Seeding {status.seededCount} {status.seededCount === 1 ? "artifact" : "artifacts"} ({formatBytes(status.seededBytesLogical)}) Store Connections {status.connectionsActive} active Traffic {formatBytes(status.inBytes)} in, {formatBytes(status.outBytes)} out Relay {#if status.relays[0]} {@const relay = status.relays[0]} {relay.url} {#if relay.connected} Connected{relay.latencyMs !== undefined ? `, ${relay.latencyMs}ms` : ""} {:else} Disconnected {/if} {:else} None {/if} {#if status.pkarrUri} Pkarr key {/if} {#if status.pkarrRelays.length > 0} Pkarr relays {#each status.pkarrRelays as relay (relay)} {/each} {/if}
{:else if running === false && installed !== undefined}
{#if installed} The artifact node is not running, so artifacts cannot be downloaded or seeded from this app. {:else if binaries?.cli} The artifact seeding daemon is not installed, so artifacts cannot be downloaded or seeded from this app. {:else} The artifact tools are not installed, so artifacts cannot be downloaded or seeded from this app. {/if}
{installed ? "Start it with:" : "Install them with:"}
{#if installed} {:else} {/if}
{:else} Checking the artifact node… {/if}
{/snippet}