Compare commits

...

6 Commits

Author SHA1 Message Date
Barış Aydek 04e9ccf409
Merge f5692fd036 into 2ace01cf1a 2025-10-08 18:32:12 +03:00
Pablo Fernandez 2ace01cf1a
NWC Deep Links (#1777) 2025-10-08 14:34:47 +03:00
Baris Aydek f5692fd036 duration in seconds, tags have to be string 2025-09-12 13:28:16 +03:00
Barış Aydek d27e8c4592
fix title
Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
2025-09-12 00:23:44 +03:00
Barış Aydek 13a6951012
Update NIP-PO to NIP-XX for now (PO is not hexadecimal)
Co-authored-by: Kayhan Alizadeh <kehiiiiya@gmail.com>
2025-09-11 14:06:22 +03:00
Baris Aydek a41ae16cf0 PO.md for podcast episodes 2025-09-11 00:14:09 +03:00
2 changed files with 84 additions and 0 deletions

18
47.md
View File

@ -667,3 +667,21 @@ Here are some properties that are recognized by some NWC clients:
"sig": "31f57b369459b5306a5353aa9e03be7fbde169bc881c3233625605dd12f53548179def16b9fe1137e6465d7e4d5bb27ce81fd6e75908c46b06269f4233c845d8"
}
```
### Deep-links
Wallet applications can register deeplinks in mobile systems to make it possible to create a linking UX that doesn't require the user scanning a QR code or pasting some code.
`nostrnwc://connect` and `nostrnwc+{app_name}://connect` can be registered by wallet apps and queried by apps that want to receive an NWC pairing code.
All URI parameters, MUST be URI-encoded.
URI parameters:
* `appicon` -- URL to an icon of the client that wants to create a connection.
* `appname` -- Name of the client that wants to create a connection.
* `callback` -- URI schema the wallet should open with the connection string
Once a connection has been created by the wallet, it should be returned to the client by opening the callback with the following parameters
* `value` -- NWC pairing code (e.g. `nostr+walletconnect://...`)

66
PO.md Normal file
View File

@ -0,0 +1,66 @@
NIP-XX
======
Podcasts
--------------
`draft` `optional`
This NIP defines `kind:30025` for podcast episodes and content. Podcast events represent audio content with associated metadata, transcripts, chapters, and show notes.
## Event Kind
This NIP defines `kind:30025` as a podcast event.
The `.content` field may contain markdown-formatted show notes, or episode description.
## Required Tags
- `d` - Episode identifier (slug or unique identifier for this episode)
- `title` - Episode title
- `audio` - URL to the audio file
- `duration` - Episode duration in seconds
## Optional Tags
- `summary` - Episode summary or description
- `image` - URL to episode artwork/image
- `episode` - Episode number
- `transcript` - URL to transcript file (VTT, or SRT)
- `chapters` - URL to chapters file (JSON format following [Podcast Namespace specification](https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/examples/chapters/example.json))
- `rss` - URL to the podcast RSS feed
- `ai_generated` - Boolean indicator if content is AI-generated ("true" or "false")
- `published_at` - Unix timestamp of when episode was first published
- `i` - External content identifier following [NIP-73](73.md) format for podcast episodes
- `t` - Topic tags
## Example Event
```json
{
"kind": 30025,
"created_at": 1757442746,
"content": "Sleep is essential for our physical and mental health. In this episode, we explore the latest research on how sleep affects memory, mood, and overall well-being.\n\nExperts share tips on improving sleep quality and discuss common myths about rest...",
"tags": [
["d", "the-science-of-sleep"],
["title", "The Science of Sleep: Why We Need Rest"],
["audio", "https://my-podcast.com/the-science-of-sleep/audio.mp3"],
["duration", "635"], // duration in seconds (tags have to be string)
["summary", "Discover the science behind why sleep is essential for our health. This episode explores how sleep impacts memory, mood, and well-being, and shares expert tips for improving sleep quality."],
["image", "https://my-podcast.com/the-science-of-sleep/image.png"],
["episode", "1"], // episode number (tags have to be string)
["transcript", "https://my-podcast.com/the-science-of-sleep/transcript.vtt"],
["chapters", "https://my-podcast.com/the-science-of-sleep/chapters.json"],
["rss", "https://my-podcast.com/podcast.rss"],
["ai_generated", "false"],
["published_at", "1757442746"],
["i", "podcast:item:guid:https://my-podcast.com/the-science-of-sleep"],
["t", "podcast"],
["t", "sleep"],
["t", "health"]
],
"pubkey": ".....",
"id": "....",
"sig": "...."
}
```