Static Gallery: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(Created page with "hard drive full of images? use a script to generate a static site for them. feature you might like: * access control * all files * filters == Contenters == ==saimn/sigal...") |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
* filters | * filters | ||
== | == Contenders == | ||
===[https://github.com/saimn/sigal saimn/sigal] === | |||
=== [https://github.com/thumbsup/thumbsup thumbsup/thumbsup] === | |||
I used this one which uses the "lightgallery" js library. | |||
=== [https://github.com/Cyclenerd/gallery_shell Cyclenerd/gallery_shell ] === | === [https://github.com/Cyclenerd/gallery_shell Cyclenerd/gallery_shell ] === | ||
icecreammatt/hugo-gallery | |||
sk1418/gallery | === [https://github.com/icecreammatt/hugo-gallery icecreammatt/hugo-gallery] === | ||
=== [https://github.com/sk1418/gallery sk1418/gallery] === | |||
=== [https://github.com/Psycojoker/prosopopee Psycojoker/prosopopee ] === | === [https://github.com/Psycojoker/prosopopee Psycojoker/prosopopee ] === | ||
=== [https://github.com/hillman/phog hillman/phog] === | === [https://github.com/hillman/phog hillman/phog] === | ||
== Deployment == | |||
used AWS bucket for hosting static content. | |||
== AWS bucket deploy == | |||
=== AWS bucket setup === | |||
=== Thumbs up run === | |||
<pre> | |||
cd ~/work/gallery | |||
mkdir input | |||
mkdir output | |||
thumbsup --input "./input" --output "./output" --concurrency 1 | |||
thumbsup --input "./input" --output "./output" | |||
</pre> | |||
=== Upload === | |||
=== Update === | |||
sync: | |||
cd output | |||
aws s3 sync . s3://media.fiatlux.ca | |||
just the non images first | |||
aws s3 sync . s3://media.fiatlux.ca --include "*" --exclude "*.jpg" |
Latest revision as of 01:57, 13 February 2024
hard drive full of images?
use a script to generate a static site for them.
feature you might like:
- access control
- all files
- filters
Contenders
saimn/sigal
thumbsup/thumbsup
I used this one which uses the "lightgallery" js library.
Cyclenerd/gallery_shell
icecreammatt/hugo-gallery
sk1418/gallery
Psycojoker/prosopopee
hillman/phog
Deployment
used AWS bucket for hosting static content.
AWS bucket deploy
AWS bucket setup
Thumbs up run
cd ~/work/gallery mkdir input mkdir output thumbsup --input "./input" --output "./output" --concurrency 1 thumbsup --input "./input" --output "./output"
Upload
Update
sync:
cd output aws s3 sync . s3://media.fiatlux.ca
just the non images first
aws s3 sync . s3://media.fiatlux.ca --include "*" --exclude "*.jpg"