A very simple script fetches 5000 photos from the JSONPlaceholder Fake API, and builds a static website with an index and one page per photo.
This repository is used in this blog post: Build and deploy huge static websites with Caddy
The script has no external dependency, you just need to run it with Python 3 :
python3 build.py /tmp/www