From d9b252cfcd70d18880df53e214e95fae6487e32c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 18 Jul 2026 11:05:44 +0300 Subject: some personal album --- so.war.das/Justfile | 17 +++++++++++++++++ so.war.das/README.md | 3 +++ so.war.das/incoming | 1 + so.war.das/shuriken.conf | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 so.war.das/Justfile create mode 100644 so.war.das/README.md create mode 120000 so.war.das/incoming create mode 100644 so.war.das/shuriken.conf diff --git a/so.war.das/Justfile b/so.war.das/Justfile new file mode 100644 index 0000000..a8f8d75 --- /dev/null +++ b/so.war.das/Justfile @@ -0,0 +1,17 @@ +# Generate the photo album using shuriken + +# Default recipe: generate the album +generate: + shuriken --generate + +# Dry-run to preview changes without writing +dry-run: + shuriken --dry-run + +# Publish generated dist/ to configured rsync destinations +sync: + shuriken --sync + +# Publish with a dry-run to preview what sync would do +sync-dry-run: + shuriken --sync --dry-run diff --git a/so.war.das/README.md b/so.war.das/README.md new file mode 100644 index 0000000..f57ebd4 --- /dev/null +++ b/so.war.das/README.md @@ -0,0 +1,3 @@ +# So war das + +Some personal photos. diff --git a/so.war.das/incoming b/so.war.das/incoming new file mode 120000 index 0000000..2ab71bb --- /dev/null +++ b/so.war.das/incoming @@ -0,0 +1 @@ +/home/paul/Pictures/so.war.das.bis.juni/ \ No newline at end of file diff --git a/so.war.das/shuriken.conf b/so.war.das/shuriken.conf new file mode 100644 index 0000000..dbca98e --- /dev/null +++ b/so.war.das/shuriken.conf @@ -0,0 +1,37 @@ +# The title of the photoalbum +TITLE='So war das bis Juni' + +# Thumbnail height geometry +THUMBHEIGHT=400 +# Normal geometry height when viewing a photo. +HEIGHT=1800 +# Max previews per page. +MAXPREVIEWS=40 +# Parallel ImageMagick jobs. +IMAGE_JOBS=3 + +# Randomly shuffle all previews. +SHUFFLE=yes +# Generate a no-JavaScript splash landing page at index.html. +SPLASH_PAGE=yes +# Generate the EXIF stats site (off by default in shuriken); enable it here. +STATS_PAGE=no +# Set to any non-empty value for repeatable output. +# RANDOM_SEED=irregular-ninja + +# Directories. +INCOMING_DIR=$(readlink -f incoming) +DIST_DIR=$(pwd)/dist +TEMPLATE_DIR=/usr/share/shuriken/templates/default + +# Includes a .tar of the incoming dir in the dist, can be yes or no. +TARBALL_INCLUDE=no +TARBALL_SUFFIX=.tar +TAR_OPTS=(-c) + +# Publish destinations for `shuriken --sync`. +SYNC_DELETE=yes +SYNC_DESTINATIONS=( + paul@pi0.lan:/var/www/html/fotos/2026-so.war.das.bis.juni + paul@pi1.lan:/var/www/html/fotos/2026-so.war.das.bis.juni +) -- cgit v1.2.3