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

Add scripts to generate og image for post title #64

Merged
merged 44 commits into from
Nov 28, 2024

Conversation

aaronmbos
Copy link
Owner

@aaronmbos aaronmbos commented Nov 28, 2024

To this point the og:image URLs for all of the posts have pointed to the same static image. This PR introduces a few scripts that can be run locally to generate a PNG for a given post, upload it to Cloudinary, and save the Cloudinary URL to the database.

This PR also includes a script that back-filled existing posts with their respective image URLs.

Example of a post image

image

Copy link

vercel bot commented Nov 28, 2024

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

Name Status Preview Comments Updated (UTC)
personal-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 0:56am

@aaronmbos aaronmbos merged commit ab129ae into main Nov 28, 2024
2 checks passed
@aaronmbos aaronmbos deleted the q2/feat/post-images-gha branch November 28, 2024 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant