yadfig2 is a static galleries generator.
- Clone it
- Create a repository with your gallery pictures
- From that directory run
../yadfig2
It will generate a zip, the thumbnails as well as a standalone web-app to navigate through the pictures.
That's it, your gallery has been generated. Serve it anywhere, it is ready.