rabble on Nostr: Anybody played with Farcaster’s frames? It’s basically kind of taking an event ...
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
jb55 (npub1xts…kk5s)’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.
https://docs.farcaster.xyz/learn/what-is-farcaster/framesPublished at
2024-04-22 02:44:13Event JSON
{
"id": "6b664b6d2601c871421f204cc6f4a440d2ef7adf7073d761479f4b4d2cdb4f8d",
"pubkey": "76c71aae3a491f1d9eec47cba17e229cda4113a0bbb6e6ae1776d7643e29cafa",
"created_at": 1713753853,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "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. \n\nIt’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. \n\nThink 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.\n\nHow might it work?\n\nA 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. \n\nhttps://docs.farcaster.xyz/learn/what-is-farcaster/frames\n\n",
"sig": "27d7bbf5e3a52fb7c86a809b69753e125cd85627adb6ec884420cf35b101a53312667f11e57d2038a0439b6759243bae007cc9e0bacc479b202a80dd248cb549"
}