nostr-comments

Installation
SKILL.md

Adding Nostr Comments

The project has a commenting system built on two Nostr protocols:

  • NIP-10 replies (kind 1 → kind 1): For replying to kind 1 text notes. Published as kind 1 events with e-tag markers (root/reply).
  • NIP-22 comments (kind 1111): For commenting on everything else — non-kind-1 events, external URLs, NIP-73 identifiers, hashtags. Uses uppercase tags for root references and lowercase tags for the immediate parent.

Voice equivalents also exist: kind 1222 (NIP-10 voice replies) and kind 1244 (NIP-22 voice comments).

Architecture

The commenting system is composed of page-level logic, shared hooks, and shared UI components. There is no single drop-in <CommentsSection> component. Instead, each page assembles commenting from these building blocks:

Hooks

Installs
1
GitHub Stars
61
First Seen
Jun 22, 2026
nostr-comments — soapbox-pub/ditto