Tony D’Addeo
@deodad
this is a great idea but I bet someone could do it better (and faster) than I could in general would love to see more content on making mini apps—think it's an underserved niched (@jc4p has been pulling weight here)
1 reply
0 recast
8 reactions
Kasra Rahjerdi
@jc4p
is this useful? it's the commit going from not having this feature in a mini app to having this feature, https://github.com/jc4p/what-x-are-you-template/commit/f2a8573e1f855c1e1544238e6aa7f7a237375e9b --- it's Nextjs AND Cloudflare bc i hate seeing a white loading screen waiting for the embed to generate on the fly
1 reply
0 recast
3 reactions
Kasra Rahjerdi
@jc4p
@jpfraneto.eth ^ this commit has updating a nextjs app for: 1. adding dependencies and setting up basic custom share image generation (just puts their PFP and result in a rectangle) 2. coordinating a generate share link -> generate image -> generate url flow 3. updating the app so when it gets ?image=blah-1234.png it sends that as the imageUrl in the fc:frame
1 reply
0 recast
1 reaction
jp 🎩
@jpfraneto.eth
do you think i can figure out from that repo how to do it on a nodejs server? i don't like using nextjs and that's part of what makes this difficult (most of the examples are for next, which has server side rendering for routes)
1 reply
0 recast
1 reaction
Kasra Rahjerdi
@jc4p
would you like nodejs server making calls to a (free) serverless api or would you like nodejs server handling the entire flow? the diff is first method scales up to like 30 people sharing at same time, second does too but with tons of extra work
1 reply
0 recast
0 reaction