Skip to content
Image albums and gallery with local filesystem, imgur, and flickr support.
Python CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
content
hooks
media
templates
.gitignore
.sriracha-cache
README.md
config
sriracha

README.md

sriracha

Image albums and gallery with local filesystem, imgur, and flickr support. Powered by wok, a static website generator.

Authors:

Requirements (through pip):

  • PIL
  • requests
  • wok

Live Sites

Sriracha is hot!

Setup

Run wok or wok --server to generate the site.

Local Filesystem Images

Albums are folders located in media/img/gallery/.

Store images in the album folder.

The name of the album folder must match the slug in the album's .mkd content file in content/gallery.

Imgur Images

Albums are albums created on imgur.com.

Create a imgur client key and store in hooks/config.py in IMGUR_CLIENT_ID.

In the album's .mkd content file in content/gallery, set the source to imgur. Set the album-id to the album slug from imgur.

Flickr Images

Albums are photosets created on flickr.com.

Create a flickr client key and store in hooks/config.py in FLICKR_CLIENT_ID.

In the album's .mkd content file in content/gallery, set the source to flickr. Set the album-id to the photoset ID from flickr.

Screenshots

gallery

album

Something went wrong with that request. Please try again.