A small static album generator.
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
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
title: my album
desc: | this is the album's description. it's rendered as markdown.
javascript: true
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 ```