Why Nostr? What is Njump?
2024-06-10 20:01:42

npub1gz…6sld2 on Nostr: commit 469c685f704a454c2b76d6a9c9ffe50902db1be8 Author: randymcmillan ...

commit 469c685f704a454c2b76d6a9c9ffe50902db1be8
Author: randymcmillan <[email protected]>
Date: Wed May 22 18:19:31 2024 -0400

docs/index.html

diff --git a/docs/index.html b/docs/index.html
index f647b07..62192fe 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -238,6 +238,7 @@ marketplaces)</a></li>
<li><a href="31.md.css.html">NIP-31: Dealing with Unknown Events</a></li>
<li><a href="32.md.css.html">NIP-32: Labeling</a></li>
<li><a href="34.md.css.html">NIP-34: <code>git</code> stuff</a></li>
+<li><a href="35.md.css.html">NIP-35: Torrents</a></li>
<li><a href="36.md.css.html">NIP-36: Sensitive Content</a></li>
<li><a href="38.md.css.html">NIP-38: User Statuses</a></li>
<li><a href="39.md.css.html">NIP-39: External Identities in Profiles</a></li>
@@ -259,6 +260,7 @@ marketplaces)</a></li>
<li><a href="58.md.css.html">NIP-58: Badges</a></li>
<li><a href="59.md.css.html">NIP-59: Gift Wrap</a></li>
<li><a href="65.md.css.html">NIP-65: Relay List Metadata</a></li>
+<li><a href="71.md.css.html">NIP-71: Video Events</a></li>
<li><a href="72.md.css.html">NIP-72: Moderated Communities</a></li>
<li><a href="75.md.css.html">NIP-75: Zap Goals</a></li>
<li><a href="78.md.css.html">NIP-78: Application-specific data</a></li>
@@ -463,6 +465,16 @@ href="https://github.com/nostrocket/NIPS/blob/main/Problems.md.css.html">nostroc
<td><a href="32.md.css.html">32</a></td>
</tr>
<tr class="even">
+<td><code>2003</code></td>
+<td>Torrent</td>
+<td><a href="35.md.css.html">35</a></td>
+</tr>
+<tr class="odd">
+<td><code>2004</code></td>
+<td>Torrent Comment</td>
+<td><a href="35.md.css.html">35</a></td>
+</tr>
+<tr class="even">
<td><code>4550</code></td>
<td>Community Post Approval</td>
<td><a href="72.md.css.html">72</a></td>
@@ -634,130 +646,150 @@ href="https://github.com/shocknet/Lightning.Pub/blob/master/proto/autogenerated/
<td><a href="51.md.css.html">51</a></td>
</tr>
<tr class="even">
+<td><code>30005</code></td>
+<td>Video sets</td>
+<td><a href="51.md.css.html">51</a></td>
+</tr>
+<tr class="odd">
<td><code>30008</code></td>
<td>Profile Badges</td>
<td><a href="58.md.css.html">58</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30009</code></td>
<td>Badge Definition</td>
<td><a href="58.md.css.html">58</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30015</code></td>
<td>Interest sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30017</code></td>
<td>Create or update a stall</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30018</code></td>
<td>Create or update a product</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30019</code></td>
<td>Marketplace UI/UX</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30020</code></td>
<td>Product sold as an auction</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30023</code></td>
<td>Long-form Content</td>
<td><a href="23.md.css.html">23</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30024</code></td>
<td>Draft Long-form Content</td>
<td><a href="23.md.css.html">23</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30030</code></td>
<td>Emoji sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30063</code></td>
<td>Release artifact sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30078</code></td>
<td>Application-specific Data</td>
<td><a href="78.md.css.html">78</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30311</code></td>
<td>Live Event</td>
<td><a href="53.md.css.html">53</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30315</code></td>
<td>User Statuses</td>
<td><a href="38.md.css.html">38</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30402</code></td>
<td>Classified Listing</td>
<td><a href="99.md.css.html">99</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30403</code></td>
<td>Draft Classified Listing</td>
<td><a href="99.md.css.html">99</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30617</code></td>
<td>Repository announcements</td>
<td><a href="34.md.css.html">34</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30818</code></td>
<td>Wiki article</td>
<td><a href="54.md.css.html">54</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30819</code></td>
<td>Redirects</td>
<td><a href="54.md.css.html">54</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31922</code></td>
<td>Date-Based Calendar Event</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31923</code></td>
<td>Time-Based Calendar Event</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31924</code></td>
<td>Calendar</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31925</code></td>
<td>Calendar Event RSVP</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31989</code></td>
<td>Handler recommendation</td>
<td><a href="89.md.css.html">89</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31990</code></td>
<td>Handler information</td>
<td><a href="89.md.css.html">89</a></td>
</tr>
+<tr class="even">
+<td><code>34235</code></td>
+<td>Video Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
+<tr class="odd">
+<td><code>34236</code></td>
+<td>Short-form Portrait Video Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
+<tr class="even">
+<td><code>34237</code></td>
+<td>Video View Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
<tr class="odd">
<td><code>34550</code></td>
<td>Community Definition</td>
@@ -868,12 +900,12 @@ href="https://github.com/shocknet/Lightning.Pub/blob/master/proto/autogenerated/
<p>Please update these lists when proposing NIPs introducing new event
kinds.</p>
<h2 id="standardized-tags">Standardized Tags</h2>
-<table>
+<table style="width:100%;">
<colgroup>
-<col style="width: 15%" />
-<col style="width: 32%" />
-<col style="width: 18%" />
-<col style="width: 33%" />
+<col style="width: 14%" />
+<col style="width: 29%" />
+<col style="width: 25%" />
+<col style="width: 30%" />
</colgroup>
<thead>
<tr class="header">
@@ -887,7 +919,7 @@ kinds.</p>
<tr class="odd">
<td><code>e</code></td>
<td>event id (hex)</td>
-<td>relay URL, marker</td>
+<td>relay URL, marker, pubkey (hex)</td>
<td><a href="01.md.css.html">01</a>, <a href="10.md.css.html">10</a></td>
</tr>
<tr class="even">
@@ -5594,6 +5626,370 @@ request.</p>



+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
+<head>
+ <meta charset="utf-8" />
+ <meta name="generator" content="pandoc" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+ <title>71</title>
+ <style>
+ html {
+ color: #1a1a1a;
+ background-color: #fdfdfd;
+ }
+ body {
+ margin: 0 auto;
+ max-width: 36em;
+ padding-left: 50px;
+ padding-right: 50px;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ hyphens: auto;
+ overflow-wrap: break-word;
+ text-rendering: optimizeLegibility;
+ font-kerning: normal;
+ }
+ @media (max-width: 600px) {
+ body {
+ font-size: 0.9em;
+ padding: 12px;
+ }
+ h1 {
+ font-size: 1.8em;
+ }
+ }
+ @media print {
+ html {
+ background-color: white;
+ }
+ body {
+ background-color: transparent;
+ color: black;
+ font-size: 12pt;
+ }
+ p, h2, h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2, h3, h4 {
+ page-break-after: avoid;
+ }
+ }
+ p {
+ margin: 1em 0;
+ }
+ a {
+ color: #1a1a1a;
+ }
+ a:visited {
+ color: #1a1a1a;
+ }
+ img {
+ max-width: 100%;
+ }
+ svg {
+ height: auto;
+ max-width: 100%;
+ }
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 1.4em;
+ }
+ h5, h6 {
+ font-size: 1em;
+ font-style: italic;
+ }
+ h6 {
+ font-weight: normal;
+ }
+ ol, ul {
+ padding-left: 1.7em;
+ margin-top: 1em;
+ }
+ li > ol, li > ul {
+ margin-top: 0;
+ }
+ blockquote {
+ margin: 1em 0 1em 1.7em;
+ padding-left: 1em;
+ border-left: 2px solid #e6e6e6;
+ color: #606060;
+ }
+ code {
+ font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
+ font-size: 85%;
+ margin: 0;
+ hyphens: manual;
+ }
+ pre {
+ margin: 1em 0;
+ overflow: auto;
+ }
+ pre code {
+ padding: 0;
+ overflow: visible;
+ overflow-wrap: normal;
+ }
+ .sourceCode {
+ background-color: transparent;
+ overflow: visible;
+ }
+ hr {
+ background-color: #1a1a1a;
+ border: none;
+ height: 1px;
+ margin: 1em 0;
+ }
+ table {
+ margin: 1em 0;
+ border-collapse: collapse;
+ width: 100%;
+ overflow-x: auto;
+ display: block;
+ font-variant-numeric: lining-nums tabular-nums;
+ }
+ table caption {
+ margin-bottom: 0.75em;
+ }
+ tbody {
+ margin-top: 0.5em;
+ border-top: 1px solid #1a1a1a;
+ border-bottom: 1px solid #1a1a1a;
+ }
+ th {
+ border-top: 1px solid #1a1a1a;
+ padding: 0.25em 0.5em 0.25em 0.5em;
+ }
+ td {
+ padding: 0.125em 0.5em 0.25em 0.5em;
+ }
+ header {
+ margin-bottom: 4em;
+ text-align: center;
+ }
+ #TOC li {
+ list-style: none;
+ }
+ #TOC ul {
+ padding-left: 1.3em;
+ }
+ #TOC > ul {
+ padding-left: 0;
+ }
+ #TOC a:not(:hover) {
+ text-decoration: none;
+ }
+ code{white-space: pre-wrap;}
+ span.smallcaps{font-variant: small-caps;}
+ div.columns{display: flex; gap: min(4vw, 1.5em);}
+ div.column{flex: auto; overflow-x: auto;}
+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+ /* The extra [class] is a hack that increases specificity enough to
+ override a similar rule in reveal.js */
+ ul.task-list[class]{list-style: none;}
+ ul.task-list li input[type="checkbox"] {
+ font-size: inherit;
+ width: 0.8em;
+ margin: 0 0.8em 0.2em -1.6em;
+ vertical-align: middle;
+ }
+ .display.math{display: block; text-align: center; margin: 0.5rem auto;}
+ /* CSS for syntax highlighting */
+ pre > code.sourceCode { white-space: pre; position: relative; }
+ pre > code.sourceCode > span { line-height: 1.25; }
+ pre > code.sourceCode > span:empty { height: 1.2em; }
+ .sourceCode { overflow: visible; }
+ code.sourceCode > span { color: inherit; text-decoration: inherit; }
+ div.sourceCode { margin: 1em 0; }
+ pre.sourceCode { margin: 0; }
+ @media screen {
+ div.sourceCode { overflow: auto; }
+ }
+ @media print {
+ pre > code.sourceCode { white-space: pre-wrap; }
+ pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
+ }
+ pre.numberSource code
+ { counter-reset: source-line 0; }
+ pre.numberSource code > span
+ { position: relative; left: -4em; counter-increment: source-line; }
+ pre.numberSource code > span > a:first-child::before
+ { content: counter(source-line);
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; display: inline-block;
+ -webkit-touch-callout: none; -webkit-user-select: none;
+ -khtml-user-select: none; -moz-user-select: none;
+ -ms-user-select: none; user-select: none;
+ padding: 0 4px; width: 4em;
+ color: #aaaaaa;
+ }
+ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
+ div.sourceCode
+ { }
+ @media screen {
+ pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
+ }
+ code span.al { color: #ff0000; font-weight: bold; } /* Alert */
+ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
+ code span.at { color: #7d9029; } /* Attribute */
+ code span.bn { color: #40a070; } /* BaseN */
+ code span.bu { color: #008000; } /* BuiltIn */
+ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
+ code span.ch { color: #4070a0; } /* Char */
+ code span.cn { color: #880000; } /* Constant */
+ code span.co { color: #60a0b0; font-style: italic; } /* Comment */
+ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
+ code span.do { color: #ba2121; font-style: italic; } /* Documentation */
+ code span.dt { color: #902000; } /* DataType */
+ code span.dv { color: #40a070; } /* DecVal */
+ code span.er { color: #ff0000; font-weight: bold; } /* Error */
+ code span.ex { } /* Extension */
+ code span.fl { color: #40a070; } /* Float */
+ code span.fu { color: #06287e; } /* Function */
+ code span.im { color: #008000; font-weight: bold; } /* Import */
+ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
+ code span.kw { color: #007020; font-weight: bold; } /* Keyword */
+ code span.op { color: #666666; } /* Operator */
+ code span.ot { color: #007020; } /* Other */
+ code span.pp { color: #bc7a00; } /* Preprocessor */
+ code span.sc { color: #4070a0; } /* SpecialChar */
+ code span.ss { color: #bb6688; } /* SpecialString */
+ code span.st { color: #4070a0; } /* String */
+ code span.va { color: #19177c; } /* Variable */
+ code span.vs { color: #4070a0; } /* VerbatimString */
+ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+ </style>
+</head>
+<body>
+<h1 id="nip-71">NIP-71</h1>
+<h2 id="video-events">Video Events</h2>
+<p><code>draft</code> <code>optional</code></p>
+<p>This specification defines video events representing a dedicated post
+of externally hosted content. These video events are <em>parameterized
+replaceable</em> and deletable per <a href="09.md.css.html">NIP-09</a>.</p>
+<p>Unlike a <code>kind 1</code> event with a video attached, Video
+Events are meant to contain all additional metadata concerning the
+subject media and to be surfaced in video-specific clients rather than
+general micro-blogging clients. The thought is for events of this kind
+to be referenced in a Netflix, YouTube, or TikTok like nostr client
+where the video itself is at the center of the experience.</p>
+<h2 id="video-events-1">Video Events</h2>
+<p>There are two types of video events represented by different kinds:
+horizontal and vertical video events. This is meant to allow clients to
+cater to each as the viewing experience for horizontal (landscape)
+videos is often different than that of vertical (portrait) videos
+(Stories, Reels, Shorts, etc).</p>
+<h4 id="format">Format</h4>
+<p>The format uses a parameterized replaceable event kind
+<code>34235</code> for horizontal videos and <code>34236</code> for
+vertical videos.</p>
+<p>The <code>.content</code> of these events is a summary or description
+on the video content.</p>
+<p>The list of tags are as follows: * <code>d</code> (required)
+universally unique identifier (UUID). Generated by the client creating
+the video event. * <code>url</code> (required) the url to the video file
+* <code>m</code> a string indicating the data type of the file. The <a
+href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME
+types</a> format must be used, and they should be lowercase. *
+<code>title</code> (required) title of the video *
+<code>"published_at"</code>, for the timestamp in unix seconds
+(stringified) of the first time the video was published *
+<code>"aes-256-gcm"</code> (optional) key and nonce for AES-GCM
+encryption with tagSize always 128bits * <code>x</code> containing the
+SHA-256 hexencoded string of the file. * <code>size</code> (optional)
+size of file in bytes * <code>dim</code> (optional) size of file in
+pixels in the form <code>&lt;width&gt;x&lt;height&gt;</code> *
+<code>duration</code> (optional) video duration in seconds *
+<code>magnet</code> (optional) URI to magnet file * <code>i</code>
+(optional) torrent infohash * <code>text-track</code> (optional,
+repeated) link to WebVTT file for video, type of supplementary
+information (captions/subtitles/chapters/metadata), optional language
+code * <code>thumb</code> (optional) url of thumbnail with same aspect
+ratio * <code>image</code> (optional) url of preview image with same
+dimensions * <code>content-warning</code> (optional) warning about
+content of NSFW video * <code>alt</code> (optional) description for
+accessibility * <code>segment</code> (optional, repeated) start
+timestamp in format <code>HH:MM:SS.sss</code>, end timestamp in format
+<code>HH:MM:SS.sss</code>, chapter/segment title, chapter thumbnail-url
+* <code>t</code> (optional, repeated) hashtag to categorize video *
+<code>p</code> (optional, repeated) 32-bytes hex pubkey of a participant
+in the video, optional recommended relay URL * <code>r</code> (optional,
+repeated) references / links to web pages</p>
+<div class="sourceCode" id="cb1"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34235</span> <span class="er">|</span> <span class="dv">34236</span><span class="fu">,</span></span>
+<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;summary / description of video&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;UUID&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-9"><a href="#cb1-9" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-10"><a href="#cb1-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;title&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;title of video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-11"><a href="#cb1-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;thumb&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail image for video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-12"><a href="#cb1-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;published_at&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;unix timestamp&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-13"><a href="#cb1-13" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;alt&quot;</span><span class="ot">,</span> <span class="er">&lt;description&gt;</span><span class="ot">],</span></span>
+<span id="cb1-14"><a href="#cb1-14" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-15"><a href="#cb1-15" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Video</span> <span class="er">Data</span></span>
+<span id="cb1-16"><a href="#cb1-16" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;url&quot;</span><span class="ot">,</span><span class="er">&lt;string</span> <span class="er">with</span> <span class="er">URI</span> <span class="er">of</span> <span class="er">file&gt;</span><span class="ot">],</span></span>
+<span id="cb1-17"><a href="#cb1-17" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;m&quot;</span><span class="ot">,</span> <span class="er">&lt;MIME</span> <span class="er">type&gt;</span><span class="ot">],</span></span>
+<span id="cb1-18"><a href="#cb1-18" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;x&quot;</span><span class="ot">,</span><span class="er">&lt;Hash</span> <span class="er">SHA</span><span class="dv">-256</span><span class="er">&gt;</span><span class="ot">],</span></span>
+<span id="cb1-19"><a href="#cb1-19" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;aes-256-gcm&quot;</span><span class="ot">,</span><span class="er">&lt;key&gt;</span><span class="ot">,</span> <span class="er">&lt;iv&gt;</span><span class="ot">],</span></span>
+<span id="cb1-20"><a href="#cb1-20" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;size&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">bytes&gt;</span><span class="ot">],</span></span>
+<span id="cb1-21"><a href="#cb1-21" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;duration&quot;</span><span class="ot">,</span> <span class="er">&lt;duration</span> <span class="er">of</span> <span class="er">video</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="ot">],</span></span>
+<span id="cb1-22"><a href="#cb1-22" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;dim&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">pixels&gt;</span><span class="ot">],</span></span>
+<span id="cb1-23"><a href="#cb1-23" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;magnet&quot;</span><span class="ot">,</span><span class="er">&lt;magnet</span> <span class="er">URI&gt;</span> <span class="ot">],</span></span>
+<span id="cb1-24"><a href="#cb1-24" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;i&quot;</span><span class="ot">,</span><span class="er">&lt;torrent</span> <span class="er">infohash&gt;</span><span class="ot">],</span></span>
+<span id="cb1-25"><a href="#cb1-25" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;text-track&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;encoded `kind 6000` event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;recommended relay urls&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-26"><a href="#cb1-26" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;content-warning&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;reason&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-27"><a href="#cb1-27" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;segment&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">,</span> <span class="st">&quot;&lt;title&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-28"><a href="#cb1-28" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-29"><a href="#cb1-29" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Participants</span></span>
+<span id="cb1-30"><a href="#cb1-30" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-31"><a href="#cb1-31" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-32"><a href="#cb1-32" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-33"><a href="#cb1-33" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Hashtags</span></span>
+<span id="cb1-34"><a href="#cb1-34" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-35"><a href="#cb1-35" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-36"><a href="#cb1-36" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-37"><a href="#cb1-37" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Reference</span> <span class="er">links</span></span>
+<span id="cb1-38"><a href="#cb1-38" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-39"><a href="#cb1-39" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb1-40"><a href="#cb1-40" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb1-41"><a href="#cb1-41" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
+<h2 id="video-view">Video View</h2>
+<p>A video event view is a response to a video event to track a user’s
+view or progress viewing the video.</p>
+<h3 id="format-1">Format</h3>
+<p>The format uses a parameterized replaceable event kind
+<code>34237</code>.</p>
+<p>The <code>.content</code> of these events is optional and could be a
+free-form note that acts like a bookmark for the user.</p>
+<p>The list of tags are as follows: * <code>a</code> (required)
+reference tag to kind <code>34235</code> or <code>34236</code> video
+event being viewed * <code>d</code> (required) same as <code>a</code>
+reference tag value * <code>viewed</code> (optional, repeated) timestamp
+of the user’s start time in seconds, timestamp of the user’s end time in
+seconds</p>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34237</span><span class="fu">,</span></span>
+<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;note&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;a&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional relay url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;e&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;event-id&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;relay-url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;viewed&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">],</span></span>
+<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
+</body>
+</html>
+
+
+
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
<head>
@@ -13900,6 +14296,263 @@ class="sourceCode json"><code class="sourceCode json"><span id="cb2-1"><a href="



+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
+<head>
+ <meta charset="utf-8" />
+ <meta name="generator" content="pandoc" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+ <title>35</title>
+ <style>
+ html {
+ color: #1a1a1a;
+ background-color: #fdfdfd;
+ }
+ body {
+ margin: 0 auto;
+ max-width: 36em;
+ padding-left: 50px;
+ padding-right: 50px;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ hyphens: auto;
+ overflow-wrap: break-word;
+ text-rendering: optimizeLegibility;
+ font-kerning: normal;
+ }
+ @media (max-width: 600px) {
+ body {
+ font-size: 0.9em;
+ padding: 12px;
+ }
+ h1 {
+ font-size: 1.8em;
+ }
+ }
+ @media print {
+ html {
+ background-color: white;
+ }
+ body {
+ background-color: transparent;
+ color: black;
+ font-size: 12pt;
+ }
+ p, h2, h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2, h3, h4 {
+ page-break-after: avoid;
+ }
+ }
+ p {
+ margin: 1em 0;
+ }
+ a {
+ color: #1a1a1a;
+ }
+ a:visited {
+ color: #1a1a1a;
+ }
+ img {
+ max-width: 100%;
+ }
+ svg {
+ height: auto;
+ max-width: 100%;
+ }
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 1.4em;
+ }
+ h5, h6 {
+ font-size: 1em;
+ font-style: italic;
+ }
+ h6 {
+ font-weight: normal;
+ }
+ ol, ul {
+ padding-left: 1.7em;
+ margin-top: 1em;
+ }
+ li > ol, li > ul {
+ margin-top: 0;
+ }
+ blockquote {
+ margin: 1em 0 1em 1.7em;
+ padding-left: 1em;
+ border-left: 2px solid #e6e6e6;
+ color: #606060;
+ }
+ code {
+ font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
+ font-size: 85%;
+ margin: 0;
+ hyphens: manual;
+ }
+ pre {
+ margin: 1em 0;
+ overflow: auto;
+ }
+ pre code {
+ padding: 0;
+ overflow: visible;
+ overflow-wrap: normal;
+ }
+ .sourceCode {
+ background-color: transparent;
+ overflow: visible;
+ }
+ hr {
+ background-color: #1a1a1a;
+ border: none;
+ height: 1px;
+ margin: 1em 0;
+ }
+ table {
+ margin: 1em 0;
+ border-collapse: collapse;
+ width: 100%;
+ overflow-x: auto;
+ display: block;
+ font-variant-numeric: lining-nums tabular-nums;
+ }
+ table caption {
+ margin-bottom: 0.75em;
+ }
+ tbody {
+ margin-top: 0.5em;
+ border-top: 1px solid #1a1a1a;
+ border-bottom: 1px solid #1a1a1a;
+ }
+ th {
+ border-top: 1px solid #1a1a1a;
+ padding: 0.25em 0.5em 0.25em 0.5em;
+ }
+ td {
+ padding: 0.125em 0.5em 0.25em 0.5em;
+ }
+ header {
+ margin-bottom: 4em;
+ text-align: center;
+ }
+ #TOC li {
+ list-style: none;
+ }
+ #TOC ul {
+ padding-left: 1.3em;
+ }
+ #TOC > ul {
+ padding-left: 0;
+ }
+ #TOC a:not(:hover) {
+ text-decoration: none;
+ }
+ code{white-space: pre-wrap;}
+ span.smallcaps{font-variant: small-caps;}
+ div.columns{display: flex; gap: min(4vw, 1.5em);}
+ div.column{flex: auto; overflow-x: auto;}
+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+ /* The extra [class] is a hack that increases specificity enough to
+ override a similar rule in reveal.js */
+ ul.task-list[class]{list-style: none;}
+ ul.task-list li input[type="checkbox"] {
+ font-size: inherit;
+ width: 0.8em;
+ margin: 0 0.8em 0.2em -1.6em;
+ vertical-align: middle;
+ }
+ .display.math{display: block; text-align: center; margin: 0.5rem auto;}
+ </style>
+</head>
+<body>
+<h1 id="nip-35">NIP-35</h1>
+<h2 id="torrents">Torrents</h2>
+<p><code>draft</code> <code>optional</code></p>
+<p>This NIP defined a new <code>kind 2003</code> which is a Torrent.</p>
+<p><code>kind 2003</code> is a simple torrent index where there is
+enough information to search for content and construct the magnet link.
+No torrent files exist on nostr.</p>
+<h2 id="tags">Tags</h2>
+<ul>
+<li><code>x</code>: V1 BitTorrent Info Hash, as seen in the <a
+href="https://www.bittorrent.org/beps/bep_0053.html">magnet link</a>
+<code>magnet:?xt=urn:btih:HASH</code></li>
+<li><code>file</code>: A file entry inside the torrent, including the
+full path ie. <code>info/example.txt</code></li>
+<li><code>tracker</code>: (Optional) A tracker to use for this
+torrent</li>
+</ul>
+<p>In order to make torrents searchable by general category, you SHOULD
+include a few tags like <code>movie</code>, <code>tv</code>,
+<code>HD</code>, <code>UHD</code> etc.</p>
+<h2 id="tag-prefixes">Tag prefixes</h2>
+<p>Tag prefixes are used to label the content with references, ie.
+<code>["i", ".md.css.htmlb:1234"]</code></p>
+<ul>
+<li><code>tcat</code>: A comma separated text category path, ie.
+<code>["i", "tcat:video,movie,4k"]</code>, this should also match the
+<code>newznab</code> category in a best effort approach.</li>
+<li><code>newznab</code>: The category ID from <a
+href="https://github.com/Prowlarr/Prowlarr/blob/develop/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs">newznab</a></li>;
+<li><code>.md.css.htmlb</code>: <a href="https://www.themoviedb.org/">The movie
+database</a> id.</li>
+<li><code>ttvdb</code>: <a href="https://thetvdb.com/">TV database</a>
+id.</li>
+<li><code>.md.css.htmlb</code>: <a href="https://www..md.css.htmlb.com/">IMDB</a>; id.</li>
+<li><code>mal</code>: <a href="https://myanimelist.net/">MyAnimeList</a>;
+id.</li>
+<li><code>anilist</code>: <a href="https://anilist.co/">AniList</a>;
+id.</li>
+</ul>
+<p>A second level prefix should be included where the database supports
+multiple media types. - <code>.md.css.htmlb:movie:693134</code> maps to
+<code>themoviedb.org/movie/693134</code> -
+<code>ttvdb:movie:290272</code> maps to
+<code>thetvdb.com/movies/dune-part-two</code> -
+<code>mal:anime:9253</code> maps to
+<code>myanimelist.net/anime/9253</code> - <code>mal:manga:17517</code>
+maps to <code>myanimelist.net/manga/17517</code></p>
+<p>In some cases the url mapping isnt direct, mapping the url in general
+is out of scope for this NIP, the section above is only a guide so that
+implementers have enough information to succsesfully map the url if they
+wish.</p>
+<pre class="jsonc"><code>{
+ &quot;kind&quot;: 2003,
+ &quot;content&quot;: &quot;&lt;long-description-pre-formatted&gt;&quot;,
+ &quot;tags&quot;: [
+ [&quot;title&quot;, &quot;&lt;torrent-title&gt;&quot;],
+ [&quot;x&quot;, &quot;&lt;bittorrent-info-hash&gt;&quot;],
+ [&quot;file&quot;, &quot;&lt;file-name&gt;&quot;, &quot;&lt;file-size-in-bytes&gt;&quot;],
+ [&quot;file&quot;, &quot;&lt;file-name&gt;&quot;, &quot;&lt;file-size-in-bytes&gt;&quot;],
+ [&quot;tracker&quot;, &quot;udp://mytacker.com:1337&quot;],
+ [&quot;tracker&quot;, &quot;http://1337-tracker.net/announce&quot;],
+ [&quot;i&quot;, &quot;tcat:video,movie,4k&quot;],
+ [&quot;i&quot;, &quot;newznab:2045&quot;],
+ [&quot;i&quot;, &quot;.md.css.htmlb:tt15239678&quot;],
+ [&quot;i&quot;, &quot;.md.css.htmlb:movie:693134&quot;],
+ [&quot;i&quot;, &quot;ttvdb:movie:290272&quot;],
+ [&quot;t&quot;, &quot;movie&quot;],
+ [&quot;t&quot;, &quot;4k&quot;],
+ ]
+}</code></pre>
+<h2 id="torrent-comments">Torrent Comments</h2>
+<p>A torrent comment is a <code>kind 2004</code> event which is used to
+reply to a torrent event.</p>
+<p>This event works exactly like a <code>kind 1</code> and should follow
+<code>NIP-10</code> for tagging.</p>
+<h2 id="implementations">Implementations</h2>
+<ol type="1">
+<li><a href="https://git.v0l.io/Kieran/dtan">dtan.xyz</a></li>;
+<li><a
+href="https://github.com/hzrd149/nostrudel/tree/next/src/views/torrents">nostrudel.ninja</a></li>;
+</ol>
+</body>
+</html>
+
+
+
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
<head>
@@ -21270,7 +21923,7 @@ difficult, or impossible to resolve when an event references another but
is not a reply.</p>
</blockquote>
<h2 id="marked-e-tags-preferred">Marked “e” tags (PREFERRED)</h2>
-<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;]</code></p>
+<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;, &lt;pubkey&gt;]</code></p>
<p>Where:</p>
<ul>
<li><code>&lt;event-id&gt;</code> is the id of the event being
@@ -21282,6 +21935,8 @@ associated with the reference. Clients SHOULD add a valid
<li><code>&lt;marker&gt;</code> is optional and if present is one of
<code>"reply"</code>, <code>"root"</code>, or
<code>"mention"</code>.</li>
+<li><code>&lt;pubkey&gt;</code> is optional, SHOULD be the pubkey of the
+author of the referenced event</li>
</ul>
<p>Those marked with <code>"reply"</code> denote the id of the reply
event being responded to. Those marked with <code>"root"</code> denote
@@ -21296,6 +21951,10 @@ replies (those replying directly to the root event), only the
without confusing them with <code>&lt;reply-id&gt;</code> or
<code>&lt;root-id&gt;</code>.</p>
</blockquote>
+<p><code>&lt;pubkey&gt;</code> SHOULD be the pubkey of the author of the
+<code>e</code> tagged event, this is used in the outbox model to search
+for that event from the authors write relays where relay hints did not
+resolve the event.</p>
<h2 id="the-p-tag">The “p” tag</h2>
<p>Used in a text event contains a list of pubkeys used to record who is
involved in a reply thread.</p>
Author Public Key
npub1gz2e2vmlwwjqqrkdsjxld3d80dwjp6egm52t0fgdt58tcpeslwsqg6sld2