bupkis

A small static album generator.

Demo album.

Features

{Anti,mis}-features

Installation and use

Get it with cargo:

bash $ cargo install bupkis

Point it at an album directory:

bash $ bupkis generate my-album/ /var/www/my-site $ firefox /var/www/my-site/my-album/index.html

Album layout and configuration

bupkis loads album directories that are structured like this:

my-album/ img001.jpg img002.png img003.jpg album.yml

JPEG and PNG are the only officially supported image formats.

album.yml is a YAML-formatted configuration file that configures the album's order and description/individual photo descriptions:

```yaml

slugified as my-album

title: my album

album description, rendered in the album's index

desc: | this is the album's description. it's rendered as markdown.

whether or not to generate JavaScript for this album

javascript: true

each photo of the album, in presentation order

photos: - name: img001.jpg desc: | individual images have descriptions too, which are also markdown. - name: img002.png desc: | image descriptions are optional, so this next one doesn't have one. - name: img003.jpg ```