Anybody played with Farcaster’s frames? It’s basically kind of taking an event and having it render with a html frame for some sort of interactivity.
It’s in someways a web based and cross app version of nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s’s idea of noscript. I kind of like the idea of frames. Like bluesky’s custom algorithms which are easy for third party developers to make and support, frames give developers a way to create a microapp.
Think a poll, or event, or even a little game. Remember back when Facebook had lots of apps. Some were stupid and annoying, but a lot were fun or interesting. Causes had an app which raised tens of millions of dollars by creating an interactive way to find charities and donate to support them. I feel like if we had something like this in Nostr, it’d be used and cool.
How might it work?
A nostr event could indicate that a type of ‘frame’ was able to handle its content. If the client wanted they could load the micro app from a web url, or perhaps something more decentralized, and hand the event content to the frame, which could then render something in a little html frame. Then that frame micro app could ask the enclosing web app for information about who the current user and permission to write new events and display a new frame state. This would be nifty and wouldn’t be too hard to learn.