photomk/README.md
Paul Brinkmeier 046e80f4f7 Remove todo
2025-02-20 14:32:19 +01:00

748 B

photomk

Makefile-based static site generator for sharing photos.

Building a Page

nix develop drops you into a shell with all prerequisites. Running

IMAGE_DIR=path/to/image_dir make

builds a self-contained static page and stores it in ./dist (or DIST_DIR if set). You can use all the usual make goodies such as -j to enable parallel builds.

Data Model

The data model is simply the list of all .jpg files in IMAGE_DIR and its subdirectories, enriched with EXIF metadata.

TODO

  • Generate .zip archive of all photos and offer it for download
  • Write a faster ./extract-metadata.py alternative
  • Make a pretty index page
  • Generate .webp thumbnails for index page
  • Make a mobile page