diff --git a/NIP.md b/NIP.md index 623bc2e..d2c42bf 100644 --- a/NIP.md +++ b/NIP.md @@ -3322,6 +3322,28 @@ This prevents anyone from spamming the community newsletter feed. } ``` +### Weekly draft (kind 30078) + +`scripts/newsletter-weekly.ts` publishes the generated issue as a **public +NIP-78 draft** before an admin publishes it: + +```json +{ + "kind": 30078, + "content": "", + "tags": [ + ["d", "skatespots:newsletter:draft"], + ["t", "skatespotsnewsdraft"], + ["alt", "SkateSpots weekly newsletter draft #007"] + ] +} +``` + +The draft is authored by an admin and read only by the admin composer. It is +plaintext/public (no subscriber list, keys or private messages) and is **not** +an issue: subscribers only see a later kind-30023 publish. Set +`NEWSLETTER_AUTOPUBLISH=1` to have the same run publish the issue and teaser. + ### Subscription marker (kind 30078) A reader opts in to the in-app newsletter mailbox by publishing a per-user