Maybe we need an open source tool to convert anything into Nostr-signed events..

Just saying...

Reply to this note

Please Login to reply.

Discussion

I had this thought but in a different way. Since notedeck apps will be sandboxed, i wanted to encourage notes as the main way to persist state.

Maybe notes in their raw form are too scary. There could be a struct serializer that automatically serializes/deserializes structs to notes. Could decorate the fields on your data types to include which ones should be indexed (encoded as single-character tags on the note)

Although this does give me ORM vibes which is triggering, but saves the dev from having to think about how to encode their data into notes.

Yeah, that is definitely an ORM :)

The issue with hiding how the note is encoded from devs is the fact that the other devs will interfere with the chosen conversion and add their own variation to the event. It's easy to do if the conversion is the standard for everybody and enfornced by relays in some form. If not, then we are back to manipulating tag arrays by hand.

I had that structure in the early versions of Amethyst. I ended up giving up to allow the screen itself to load from and write to tag arrays directly.

yeah i was only thinking about this for the local embedded relay, would definitely not broadcast this stuff.

Maybe its better to just have some docs on best practices on how to persist your data

Isn't this what NIP-78 was merged for?

maybe, never understood the point of that nip

It’s easy , if you want to be private choose NIP69

If you want to be public choose NIP57

😁

they could be signed, but only by the npub copy/pasting the thing - not by the actual author. how does it differ to a screenshot or link? Better nostr discoverability? What am i missing here….?

You can log in and convert it, signing with your own key