-
@ nostr_cn_dev
2025-04-22 00:59:34NIP-18
Reposts
draft
optional
A repost is a
kind 6
event that is used to signal to followers that akind 1
text note is worth reading.The
content
of a repost event is the stringified JSON of the reposted note. It MAY also be empty, but that is not recommended. Reposts of NIP-70-protected events SHOULD always have an emptycontent
.The repost event MUST include an
e
tag with theid
of the note that is being reposted. That tag MUST include a relay URL as its third entry to indicate where it can be fetched.The repost SHOULD include a
p
tag with thepubkey
of the event being reposted.Quote Reposts
Quote reposts are
kind 1
events with an embeddedq
tag of the note being quote reposted. Theq
tag ensures quote reposts are not pulled and included as replies in threads. It also allows you to easily pull and count all of the quotes for a post.q
tags should follow the same conventions as NIP 10e
tags, with the exception of themark
argument.["q", <event-id>, <relay-url>, <pubkey>]
Quote reposts MUST include the NIP-21
nevent
,note
, ornaddr
of the event in the content.Generic Reposts
Since
kind 6
reposts are reserved forkind 1
contents, we usekind 16
as a "generic repost", that can include any kind of event inside other thankind 1
.kind 16
reposts SHOULD contain ak
tag with the stringified kind number of the reposted event as its value.