photo log

Hacked together a go program using the output of exiftool to turn a directory of photos into a photolog based on the tinylog format. I already had a very light weight statically generated photo log in the big web, although the side by side comparison is somewhat amusing.

The gemini photolog (excluding the images) is ~800 times smaller than the html version. I was going to exclude the tag folder as it drives functionality that isn't fully available to see all images of a specific tag but you can actually do this by just searching for the tag name.

30K    ./about
93K    ./categories
38K    ./css
4.5K   ./index.html
25K    ./index.xml
99K    ./page
922K   ./posts
13K    ./sitemap.xml
13M    ./tags
5.0K   ./xml

vs

17K photolog.gmi

Here is my own photolog

obscure photo log

And if you are brave enough to read this very rough code, feel free to peruse the source. You will need to source exiftool on your own. Since originally posting this I have moved the code to be part of spsg, my overall site generator.

spsg