Content
@
0 reply
0 recast
0 reaction
Gavi Galloway
@gavi
Thinking about abstractions we could add to farcaster-js to help out devs building frame servers. Would love some thoughts. Our current thinking here 👇
1 reply
1 recast
6 reactions
Gavi Galloway
@gavi
Example frames app: a webserver that serves a quiz. Uses 3 frames: an initial welcome "splash page," a frame for rendering a multiple choice quiz question, and a frame showing the user if their guess was correct. Would be built to support multiple web frameworks. ExpressJS here for example:
1 reply
0 recast
0 reaction
Gavi Galloway
@gavi
Splash page is purely static content, and can be simple
1 reply
0 recast
0 reaction
Gavi Galloway
@gavi
The frame for a QuizQuestion will return dynamic HTML content for the image, which farcaster-js would render to PNG. Library handles creating the appropriate <meta> tags for buttons, and passing query params into the imageURL
1 reply
0 recast
0 reaction