From 3819694bbff1abadce322233e82bcbb1875d8610 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 23 Nov 2024 17:55:35 -0500 Subject: [PATCH] Build your own posts. --- 63.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 63.md diff --git a/63.md b/63.md new file mode 100644 index 0000000..aae04e5 --- /dev/null +++ b/63.md @@ -0,0 +1,35 @@ +NIP-64 +====== + +Build Your Own Story +-------------------- + +`draft` `optional` + +This NIP defines `kind:296` as a text note with options to navigate to the next text notes and continue reading. + +The idea is to replicate the dynamism of build your own adventure books, where each reader makes their own version of the story. + +## Story Section Events + +Story Section events contain a `title` tag and `option` tags for the next sections. + +Clients SHOULD render options in a way that users can select and move to that post. + +The story ends when there are no `option`s available. + +```jsonc +{ + "kind": 296, + "content": "", + "tags": [ + ["title", ""], + + ["option", "", "", ""], + ["option", "", "", ""], + // ... + ] +} +``` + +`.content` SHOULD use the same formatting rules as `kind:1` \ No newline at end of file