Stuart Bowman on Nostr: Vivek So I’ve been thinking about this. To keep things simple, for Satellite, I’m ...
Vivek (npub1ltx…z40t) So I’ve been thinking about this.
To keep things simple, for Satellite, I’m going to go ahead and use kind 4549 as a direct clone of kind 1 as Vitor Pamplona (npub1gcx…nj5z) suggested. So the content string of 4549 will be text just like kind 1.
My initial concern was that having a single kind defined as a “community post” would preclude the reuse of other event kinds, which is why I suggested “wrapping” the events.
I still intend to use kind 4549 as a wrapper to post non-kind-1 events into communities. When a non-kind-1 event is posted, the 4549 event will include a “k” tag indicating the kind of event that was wrapped.
But for 4549 events that do not have a “k” tag (or a “k” tag equal to 1), Satellite will assume that they should be treated like kind 1 and render the content directly.
I like this cause it’s just doing the simple “clone kind 1 thing” but adding the “k” tag allows me to do also do the wrapping thing so I can support other event types on Satellite. If other apps only care about kind 1 that’s fine.
I’m also implementing this weekend and writing up some documentation. Lmk if you wanna collab 🤙
To keep things simple, for Satellite, I’m going to go ahead and use kind 4549 as a direct clone of kind 1 as Vitor Pamplona (npub1gcx…nj5z) suggested. So the content string of 4549 will be text just like kind 1.
My initial concern was that having a single kind defined as a “community post” would preclude the reuse of other event kinds, which is why I suggested “wrapping” the events.
I still intend to use kind 4549 as a wrapper to post non-kind-1 events into communities. When a non-kind-1 event is posted, the 4549 event will include a “k” tag indicating the kind of event that was wrapped.
But for 4549 events that do not have a “k” tag (or a “k” tag equal to 1), Satellite will assume that they should be treated like kind 1 and render the content directly.
I like this cause it’s just doing the simple “clone kind 1 thing” but adding the “k” tag allows me to do also do the wrapping thing so I can support other event types on Satellite. If other apps only care about kind 1 that’s fine.
I’m also implementing this weekend and writing up some documentation. Lmk if you wanna collab 🤙