You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Astro site currently contains a social-images buildscript that uses Playwright to render image previews for each blog post.
We want to move these to this repo as a separate task in the NodeJS worker/ so that they can be cached between builds.
Create a task implementation for "social-image" in worker/, which accepts the post parameters
(dependent on layout - there are two different types of social images that should be independent of each other)
This should store the resulting image in S3
Add a database table to store the generated social image filename and a hash of the input data.
Add an endpoint to the REST api/ to queue a social image job or return its result. This should fetch the post data and check that it matches the hash in the database if there is a preexisting image. If it is missing or doesn't match the hash, a new social-image task should be queued.
The text was updated successfully, but these errors were encountered:
The Astro site currently contains a social-images buildscript that uses Playwright to render image previews for each blog post.
We want to move these to this repo as a separate task in the NodeJS
worker/
so that they can be cached between builds."social-image"
inworker/
, which accepts the post parameterslayout
- there are two different types of social images that should be independent of each other)api/
to queue a social image job or return its result. This should fetch the post data and check that it matches the hash in the database if there is a preexisting image. If it is missing or doesn't match the hash, a newsocial-image
task should be queued.The text was updated successfully, but these errors were encountered: