This is cool, and if I had the time I'd want to do something like this for automatically generating a google-photos style site from my Pictures directory.
Also, if you're looking for a stable Python-based static site generator... I've been pretty happy with Pelican (https://blog.getpelican.com/).