Content pfp
Content
@
0 reply
0 recast
0 reaction

Noah Bragg 🐟πŸ₯” pfp
Noah Bragg 🐟πŸ₯”
@nbragg
Is there a better way to make dynamic frame images then using Satori? Satori seems kind of clunky.
5 replies
0 recast
8 reactions

killjoy.eth 🎩  pfp
killjoy.eth 🎩
@killjoy
My flow is clunky too. SVG markup built with react, passed through sharp to get a png. Positioning items with SVG is tedious though. Wish I could get a good tool that would let me do HTML/CSS to SVG. Also hoping frames support SVG someday.
1 reply
0 recast
1 reaction

Noah Bragg 🐟πŸ₯” pfp
Noah Bragg 🐟πŸ₯”
@nbragg
yeah, debuggin the images isn't great and seeing that they are off compared to the vercel og image playground so do you do the positioning of image elements in satori or in sharp?
1 reply
0 recast
0 reaction

killjoy.eth 🎩  pfp
killjoy.eth 🎩
@killjoy
So right now I basically design the image in a vector program, export the SVG, run the SVG through an online converter to make it valid JSX, and then edit the JSX to insert dynamic text. I server side render the JSX so I’m back to SVG and I just pipe that through sharp on its way out the door.
1 reply
0 recast
1 reaction

Noah Bragg 🐟πŸ₯” pfp
Noah Bragg 🐟πŸ₯”
@nbragg
Ok, nice. Yeah, that's quite the process! So benefit of this I guess is that it's all jsx. I'm doing an extra request within my satori code to pull in a png and then put that in the jsx, What's the svg to jsx converter you use? I'm also wanting to use gifs so that could complicate things.
2 replies
0 recast
0 reaction