I should be able to edit and expand the list of kinds in my feed, by adding a yaml definition file or filling in a form, and then just using a checkbox to turn them on and off.

#Nostr #devs

Reply to this note

Please Login to reply.

Discussion

I just added such an event-definition file to my uploader, so that users can expand the optional tags used, and it's like...

Hold up. Why don't I have this everywhere?

Why do y'all hardcode every event type? An event is literally just a json data structure and yaml is the human-readable version...

>An event is literally just a json data structure and yaml is the human-readable version...

Which is how I recently added yaml to my original json apps. Just convert yaml over to json (with a little coaxing because yaml only worth with strings)

I get so tired, going on these client dev begging tours.

Please, sir, can you add my event? 🙏

This is why everyone uses kind 01 for their events. Only way to get the notes to show up anywhere else.

That would be pretty hot

Yeah, it's sort of a no-brainer. A template function.