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

Added Satori (OG Image generation, tailwind) #80

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Fabrizz
Copy link
Contributor

@Fabrizz Fabrizz commented May 6, 2024

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuwari-yags ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 7, 2024 0:01am

@Fabrizz Fabrizz changed the title Dynamic OG images (Autogenerated OpenGraph/SocialContent images for posts) Added Satori (OG Image generation, tailwind) May 7, 2024
@i5nipe
Copy link

i5nipe commented May 30, 2024

Would be cool if instead of generate it, the OG image is defined as the cover's post (if it has one).

@saicaca
Copy link
Owner

saicaca commented Jun 5, 2024

Thank you for your hard work!

@JoeyC-Dev
Copy link
Contributor

I am thinking what should we do to the original post image like so:

image: "./cover.jpeg"

Fallback path:
post image > post og image > site og image

Or completely ignore the "post image" when "post og image" is enabled.

@Fabrizz
Copy link
Contributor Author

Fabrizz commented Jun 7, 2024

Something like this: astro-og-canvas img cache to cache alreaady generated images could be good for larger blogs

@saicaca saicaca force-pushed the main branch 2 times, most recently from 10be379 to 02865aa Compare June 22, 2024 12:29
@saicaca saicaca mentioned this pull request Jun 27, 2024
@davidvkimball
Copy link
Contributor

This is excellent, thanks for sharing this. I have implemented a version of this for my site, but I also added the ability to set custom OG images for pages under spec and a way to manually override any dynamically-generated open graph image. It's the best of all worlds!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants