- Install GraphicsMagick:
sudo apt-get install graphicsmagick
- Install ExifTool following these instructions
- Install thumbsup:
npm i -g thumbsup
- Create a hard-to-guess directory:
dir=$(pwgen -Bcns 16 1) && (echo Dir: $dir; mkdir $dir)
- Generate the gallery:
thumbsup --input photos/ --output $dir --usage-stats false --theme flow --title 'WHAT (WHERE, WHEN)' --footer 'Copyright © tripu 2020 — all rights reserved'
- Remove inconvenient file:
rm $dir/public/.gitkeep
exiftool "-DateTimeOriginal=YYYY:MM:DD HH:MM:SS" image.jpeg