Crates.io | galerio |
lib.rs | galerio |
version | 1.2.0 |
source | src |
created_at | 2022-11-06 20:22:20.140235 |
updated_at | 2023-12-16 22:46:52.592368 |
description | Generate static HTML galleries from a directory containing JPEGs. |
homepage | |
repository | https://github.com/dbrgn/galerio/ |
max_upload_size | |
id | 706705 |
size | 433,500 |
Galerio is a simple generator for HTML flexbox galleries written in Rust. From a directory with JPEG files, it generates a self-contained gallery without external dependencies.
Demo gallery: https://tmp.dbrgn.ch/galerio-demo/
Through cargo:
cargo install galerio
From Arch Linux AUR:
yay -S galerio
cargo build --release
Note: Make sure to create a release build, otherwise processing will be insanely slow.
galerio 1.1.0
USAGE:
galerio [FLAGS] [OPTIONS] <input-dir> <output-dir> <title>
FLAGS:
--help Prints help information
--no-download Disallow full gallery download as ZIP
-p, --resize-include-panorama Resize panoramas as well
--skip-processing Skip processing image files
-V, --version Prints version information
OPTIONS:
-l, --max-large-size <max-large-size> Max large image size in pixels
-h, --height <thumbnail-height> Max thumbnail height in pixels [default: 300]
ARGS:
<input-dir> Input directory
<output-dir> Output directory
<title> Gallery title
Example:
galerio /home/user/pictures/switzerland2020/ /srv/www/galleries/switzerland2020/ "Switzerland 2020"
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.