DropGallery is a project mainly written in RUBY and SHELL, it's free.
Create (and update) a website photo gallery from a dropbox folder structure.