Each album is keyed by a name (e.g. cityscapes) with three pieces:
_data/galleries/<album>.yml, full images in gallery/archive/<album>/, and
thumbnails in gallery/archive/<album>/thumbnails/.
Run these from the repository root.
gallery/_inbox/.python3 publish_gallery.py <album>
(e.g. python3 publish_gallery.py cityscapes)Flags:
--no-edit â skip the editor; new photos get blank captions to edit later.Notes:
mono_lake.jpg vs mono_lake.JPG) or that
lack a date, so you can clean up the data.piexif) so photos donât leak where they were taken. Copyright and other EXIF
are preserved. piexif is optional: install it (pip install piexif) to enable
stripping â without it, photos still publish but GPS is left in place (with a
warning).For a visual triage instead of the CLI:
gallery/_inbox/.python3 serve_gallery.py (opens a local page; --no-browser to print the URL only).git status / the diff, then commit and push.The page warns if a filename already exists in the album you pick, and the date field is required (pre-filled from EXIF).
Still manual: add _data/galleries/<album>.yml (can be []), create
gallery/archive/<album>/, add the album page and cover image, then publish as
above.
SUBSCRIBE TO RECEIVE POSTS DIRECTLY TO YOUR INBOX