pieshelf is a static gallery generator written in PHP. It's inspired by gerallery, but tries to be entirely a CLI tool.