{ if (e.key === 'Enter') handleSearch(); }} /> {memories.length} found {hasMemora ? 'via Memora' : 'Memora not found'}
{#if loading}
Loading...
{:else if memories.length === 0}
{hasMemora ? 'No memories found' : 'Memora DB not available (~/.local/share/memora/memories.db)'}
{:else} {#each memories as mem (mem.id)}
{mem.title} {TRUST_LABELS[mem.trust]}
{#if mem.body}

{mem.body.slice(0, 200)}{mem.body.length > 200 ? '...' : ''}

{/if}
{/each} {/if}