Combine all static assets for a single instance of the blog into a single R2 bucket.
The current architecture of the blog R2 buckets are both a public and private bucket. The private bucket (flinnlab-blog) is used to host the static posts.json "database" and the static rss.xml, which is then tucked behind a worker. The public bucket is used for hosting images. There is no reason to prevent the direct read of posts.json and rss.xml from the bucket, so there is no reason to keep that bucket private. The images in the flinnlab-blog-images bucket can be moved over to the main blog bucket and be hosted from there.
Sub Tasks
[ ] Set up new custom domain on flinnlab-blog to make it public
[ ] Copy over all images into an /images directory
[ ] Update frontend configurations to point to the new location
[ ] Update Taskfile and workflows to put images in the correct bucket (as needed)
Combine all static assets for a single instance of the blog into a single R2 bucket.
The current architecture of the blog R2 buckets are both a public and private bucket. The private bucket (
flinnlab-blog
) is used to host the staticposts.json
"database" and the staticrss.xml
, which is then tucked behind a worker. The public bucket is used for hosting images. There is no reason to prevent the direct read of posts.json and rss.xml from the bucket, so there is no reason to keep that bucket private. The images in theflinnlab-blog-images
bucket can be moved over to the main blog bucket and be hosted from there.Sub Tasks
flinnlab-blog
to make it public