{"id":"0199b2187255e6aaa68348f1b823f21fb43a1ef58bbb88e73c8e9bc138c4753c","pubkey":"86184109eae937d8d6f980b4a0b46da4ef0d983eade403ee1b4c0b6bde238b47","created_at":1767837301,"kind":30817,"tags":[["d","tldr-summaries"],["title","TL;DR Summaries"],["client","nostrhub.io"]],"content":"# NIP-TLDR: TL;DR Summaries\n\n## Summary\n\nThis NIP defines a custom event kind for storing AI-generated summaries of Nostr content.\n\n## Event Kind\n\n- `7939`: TL;DR Summary\n\n## Description\n\nA `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.\n\n## Event Format\n\n### Required Tags\n\n- `summary`: A brief title/description of what was summarized\n- `alt`: Human-readable description for compatibility (NIP-31)\n\n### Optional Tags\n\n- `model`: The AI model used to generate the summary (e.g., \"claude-3-5-sonnet-20241022\")\n- `e`: Event ID(s) of the summarized Nostr event(s) (can have multiple)\n- `p`: Pubkey(s) of author(s) of the summarized content (can have multiple)\n- `t`: Hashtags related to the content (can have multiple)\n- `raw-text`: Set to \"true\" if the summary was generated from raw text rather than Nostr events\n- `original-text`: The original raw text content that was summarized (only present when `raw-text` is \"true\")\n- `client`: Name of the client application that created the summary\n\n### Content\n\nThe `content` field contains the full AI-generated summary text in plain text or markdown format.\n\n## Examples\n\n### Nostr Thread Summary\n\n```json\n{\n  \"kind\": 7939,\n  \"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.\",\n  \"tags\": [\n    [\"summary\", \"Discussion about NIP-42 relay authentication\"],\n    [\"model\", \"claude-3-5-sonnet-20241022\"],\n    [\"alt\", \"AI-generated summary of Nostr thread about NIP-42 relay authentication\"],\n    [\"e\", \"abc123...\", \"\", \"root\"],\n    [\"e\", \"def456...\", \"\"],\n    [\"e\", \"ghi789...\", \"\"],\n    [\"p\", \"author1pubkey...\"],\n    [\"p\", \"author2pubkey...\"],\n    [\"t\", \"nostr\"],\n    [\"t\", \"nip-42\"],\n    [\"client\", \"tldr\"]\n  ],\n  \"pubkey\": \"user_pubkey...\",\n  \"created_at\": 1234567890,\n  \"id\": \"event_id...\",\n  \"sig\": \"signature...\"\n}\n```\n\n### Raw Text Summary\n\n```json\n{\n  \"kind\": 7939,\n  \"content\": \"TL;DR: Article explains how quantum computing poses a threat to current cryptographic systems and proposes post-quantum cryptography solutions.\",\n  \"tags\": [\n    [\"summary\", \"Text Summary\"],\n    [\"model\", \"claude-3-5-sonnet-20241022\"],\n    [\"alt\", \"AI-generated summary: Text Summary\"],\n    [\"raw-text\", \"true\"],\n    [\"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...\"],\n    [\"client\", \"tldr\"]\n  ],\n  \"pubkey\": \"user_pubkey...\",\n  \"created_at\": 1234567890,\n  \"id\": \"event_id...\",\n  \"sig\": \"signature...\"\n}\n```\n\n## Use Cases\n\n1. **Event Summaries**: Summarize individual Nostr events (notes, articles, etc.)\n2. **Thread Summaries**: Summarize entire conversation threads\n3. **Raw Text Summaries**: Summarize arbitrary text content\n4. **Content Curation**: Create shareable summaries for discovery and curation\n\n## Implementation Notes\n\n- Summaries should be concise and capture the main points\n- The tone should be direct and informative\n- Multiple `e` tags can reference all events in a summarized thread\n- The `summary` tag provides a quick overview for feeds and lists\n- Applications can query by `#e` tag to find summaries of specific events","sig":"8f6788846a2abf40e1b0d239478cea0f7912ae0ca564b2529db95902bcdacaf005704441a8c4cdf7b6fbf8b04dcd16a9553fc12b595a2a390c6117dd1329bde3"}