Events

Use this page to view any event (npub, nprofile, nevent, naddr, or hexID).

e.key === 'Enter' && searchEvent()} />
{#if error} {/if} {#if event && typeof event.getMatchingTags === 'function'}
{neventEncode(event, standardRelays)}
{#if event.kind !== 0 && getEventTitle(event)}

{getEventTitle(event)}

{:else if event.kind === 0 && profile && profile.name}

{profile.name}

{/if}
Author:
Kind: {event.kind} ({getEventTypeDisplay(event)})
{#if getEventSummary(event)}
Summary:

{getEventSummary(event)}

{/if} {#if getEventHashtags(event).length}
Tags:
{#each getEventHashtags(event) as tag} #{tag} {/each}
{/if}
Content: {#if event.kind === 0} {#if profile}
{#if profile.name}
Name:
{profile.name}
{/if} {#if profile.display_name}
Display Name:
{profile.display_name}
{/if} {#if profile.about}
About:
{profile.about}
{/if} {#if profile.picture}
Picture:
Profile
{/if} {#if profile.banner}
Banner:
Banner
{/if} {#if profile.website} {/if} {#if profile.lud16}
Lightning Address:
{profile.lud16}
{/if} {#if profile.nip05}
NIP-05:
{profile.nip05}
{/if}
{:else}
{event.content}
{/if} {:else}
{@html showFullContent ? parsedContent : contentPreview} {#if !showFullContent && parsedContent.length > 250} {/if}
{/if}
{#if event.tags && event.tags.length}
Event Tags:
{#each event.tags as tag} {@html renderTag(tag)} {/each}
{/if}
Show Raw Event JSON
{JSON.stringify(event.rawEvent(), null, 2)}
            
{#if !getEventTitle(event) && !event.content}
No title or content available for this event.
            {JSON.stringify(event.rawEvent(), null, 2)}
          
{/if} {:else if event}
Fetched event is not a valid NDKEvent. See console for details.
{/if}