Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic og-images in Sveltekit with Satori #146

Open
swyxio opened this issue Dec 11, 2022 · 3 comments
Open

Dynamic og-images in Sveltekit with Satori #146

swyxio opened this issue Dec 11, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@swyxio
Copy link
Owner

swyxio commented Dec 11, 2022


subtitle: thanks to Nate Moore and Geoff Rich

I've had #125 open for months, but didn't quite crack how best to do it. In October, Shu Ding from the Nextjs team released satori, but it only had docs for React and even though the underlying library is framework agnostic it was very hard to understand.

Thanks to @geoffrich for figuring it out:

{% twitter https://twitter.com/geoffrich_/status/1580954774434119680?s=20&t=jBpyCINN4woG6n_c8TLNJg %}

and now in #145 i have implemented it in swyxkit and you can see the PR for more details.

image

@swyxio
Copy link
Owner Author

swyxio commented Dec 11, 2022

unfortunately i am not able to ship this until thx/resvg-js#175 is resolved. :/

@swyxio
Copy link
Owner Author

swyxio commented Jan 3, 2023

@swyxio
Copy link
Owner Author

swyxio commented Jan 3, 2023

i manage to repro my issue merely by changing the code fence language: geoffrich/sveltekit-satori-mdsvex-test#1

@swyxio swyxio added the help wanted Extra attention is needed label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant