I've crafted with the help of Claude several scripts to download the
contents of the builtwithwicket.tumblr.com blog and store the images
locally to serve the screenshots from Apache's servers in order to
have the carroussel and be compliant with the CSP and privacy
policies of the ASF.

The Content Security Policy prohibits downloading resources from
external sites due to the GDPR. This prevented the Built With Wicket
carroussel to load images. This is fixed by downloading all images to
the site and serve them from the ASF servers together with the other
site resources.

Updating the site with content from tumblr should be as simple as
running the script `_tumblr/run_all.sh`. This will perform the following
tasks:

1. Fetch all posts from Tumblr
2. Download all images that have not yet been cached
3. Generate a tumblr.json file in the root with the latest 20 posts

This is tested running in a devcontainer in VSCode and should be
portable across all machines.

I hope the script(s) work on other folks' machines as well. Running jekyll
in a devcontainer is a godsend.

Martijn

Reply via email to