
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
YASGG is a static gallery generator with optional encryption support written in python.
Yet Another Static Gallery Generator
YASGG is a static gallery generator with optional encryption support written in python.
If a password is chosen, the gallery generator encrypts the images with AES 256 bit. On the browser side the decryption process is done by the chosen password in JavaScript. As encrypted you can upload your gallery to any service that delivers static content like GitHub Pages, Amazon S3, Dropbox, Google Drive and so on with no privacy concerns.
pip install yasgg
yasggctl -h
git clone git@github.com:nomnomnom/yasgg.git
cd yasgg
pip install -r requirements.txt
yasgg/bin/yasggctl -h
The build command creates a new album the current working directory.
yasggctl build --recrusive 1 --photos-import-dir /tmp/photos_dir_2_import --album-name "YASGG demo album" -p 21f3a7f6373ccb42631b5671db4f5a5a60aed6dedf8e7b71d27e55288f41f6dc
cd yasgg_demo_album
yasggctl serve
Usage: yasggctl build -n <album-name> -i <photos-import-dir> [-t <theme>] [-p <password>] [-r <recrusive>]
yasggctl serve [-o <port>] [-b <bind>]
yasggctl [-h] [-v]
Build command:
Creates a new album in the current working directory.
Example: yasggctl build --recrusive 1 --photos-import-dir ./tests/sample --album-name "foo bar" --theme default
-n <ablum-name>, --album-name <album-name> Name of the new album.
-i <photos-import-dir>, --photos-import-dir <photos-import-dir> Directory of photos to import.
-p <password>, --password <password> Use encryption of images. Use a _STRONG_ password!
-r {0,1}, --recrusive Search recrusive for photos into --photos-import-dir [default: 0]
-t {default, galleria_classic}, --theme The theme to use. [default: default]
Serve command:
Serves a created album.
Example: yasggctl serve -o 9000 -b 0.0.0.0
-o <port>, --port <port> Name of the new album. [default: 9000]
-b <bind>, --bind <bind> Address to run the test server on [default: 127.0.0.1]
Global options:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
Enjoy!
FAQs
YASGG is a static gallery generator with optional encryption support written in python.
We found that YASGG demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.