TL;DR Summaries
NIP-TLDR: TL;DR Summaries
Summary
This NIP defines a custom event kind for storing AI-generated summaries of Nostr content.
Event Kind
7939: TL;DR Summary
Description
A kind:7939 event represents an AI-generated summary of one or more Nostr events or raw text content. These summaries are meant to provide concise, blunt overviews of longer content.
Event Format
Required Tags
summary: A brief title/description of what was summarizedalt: Human-readable description for compatibility (NIP-31)
Optional Tags
model: The AI model used to generate the summary (e.g., "claude-3-5-sonnet-20241022")e: Event ID(s) of the summarized Nostr event(s) (can have multiple)p: Pubkey(s) of author(s) of the summarized content (can have multiple)t: Hashtags related to the content (can have multiple)raw-text: Set to "true" if the summary was generated from raw text rather than Nostr eventsoriginal-text: The original raw text content that was summarized (only present whenraw-textis "true")client: Name of the client application that created the summary
Content
The content field contains the full AI-generated summary text in plain text or markdown format.
Examples
Nostr Thread Summary
{
"kind": 7939,
"content": "**TL;DR:** This thread discusses the implementation of NIP-42 relay authentication. The consensus is that while useful for private relays, it adds unnecessary complexity for public relays. Key concerns raised include privacy implications and potential centralization. Overall sentiment: cautiously supportive with reservations.",
"tags": [
["summary", "Discussion about NIP-42 relay authentication"],
["model", "claude-3-5-sonnet-20241022"],
["alt", "AI-generated summary of Nostr thread about NIP-42 relay authentication"],
["e", "abc123...", "", "root"],
["e", "def456...", ""],
["e", "ghi789...", ""],
["p", "author1pubkey..."],
["p", "author2pubkey..."],
["t", "nostr"],
["t", "nip-42"],
["client", "tldr"]
],
"pubkey": "user_pubkey...",
"created_at": 1234567890,
"id": "event_id...",
"sig": "signature..."
}Raw Text Summary
{
"kind": 7939,
"content": "TL;DR: Article explains how quantum computing poses a threat to current cryptographic systems and proposes post-quantum cryptography solutions.",
"tags": [
["summary", "Text Summary"],
["model", "claude-3-5-sonnet-20241022"],
["alt", "AI-generated summary: Text Summary"],
["raw-text", "true"],
["original-text", "Quantum computing represents both an opportunity and a threat to modern cryptography. While current encryption methods rely on the computational difficulty of certain mathematical problems, quantum computers could potentially solve these problems exponentially faster..."],
["client", "tldr"]
],
"pubkey": "user_pubkey...",
"created_at": 1234567890,
"id": "event_id...",
"sig": "signature..."
}Use Cases
- Event Summaries: Summarize individual Nostr events (notes, articles, etc.)
- Thread Summaries: Summarize entire conversation threads
- Raw Text Summaries: Summarize arbitrary text content
- Content Curation: Create shareable summaries for discovery and curation
Implementation Notes
- Summaries should be concise and capture the main points
- The tone should be direct and informative
- Multiple
etags can reference all events in a summarized thread - The
summarytag provides a quick overview for feeds and lists - Applications can query by
#etag to find summaries of specific events