Yet Another Static Gallery Generator
JavaScript CSS Python CoffeeScript
Switch branches/tags
Latest commit cd9edc3 Feb 2, 2014 @nomnomnom [BUMP] v0.2.0
Failed to load latest commit information.
yasgg [BUMP] v0.2.0 Feb 2, 2014
.gitignore [INITIAL] Oct 31, 2013
AUTHORS [INITIAL] Oct 31, 2013
LICENSE [CHG] pypi info Oct 31, 2013 Fixed typo in Jan 31, 2014
codekit-config.json [INITIAL] Oct 31, 2013
requirements.txt [CHG] README Nov 2, 2013


Yet Another Static Gallery Generator


YASGG is a static gallery generator with 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.



  • encryption (client side decryption of images)
  • responsive default theme
  • themeable



pip install yasgg
yasggctl -h

From source

git clone
cd yasgg
pip install -r requirements.txt
yasgg/bin/yasggctl -h


The build command creates a new album in 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

  -o <port>, --port <port>                                          Name of the new album. [default: 9000]
  -b <bind>, --bind <bind>                                          Address to run the test server on [default:]

Global options:
  -h, --help                                                        Show this help message and exit.
  -v, --version                                                     Show program's version number and exit.




  • @x3_nom
  • nomnomnom [at]