News for hackers. Stuff that matters.
Re:Static Site Generators by rmc on Thursday May 15, 2014 @05:15AM (#7748473)
Is there any static site generators for photos? Something like "host your own flickr"? Something that uses exif tags, directory hierarchy, etc to make a static browsable list of your photos?
Re:Static Site Generators by hpaavola on Thursday May 15, 2014 @05:29AM (#7748514)
Jalbum http://jalbum.net/en/software/features

It's been about 10 years since I last used it, but looks like it's still basically the same thing; reads your photos directory, creates html pages with thumbnails and links to bigger pictures based on the directory structure. Can display EXIF data next to the images if you want.

Re:Static Site Generators by raving-richard on Thursday May 15, 2014 @05:36AM (#7748536)
Build your own. I've written something like that. It's not static, because I don't want to have to rebuild everything just 'cause I added a new photo, or fix a type. However, you do literately just use the file system to add and manage photos. I won't link to it because I don't want to link to my real ID.

But it's pretty simple. You just have to recursively go over the folder, and get each photo. Make sure there is a thumbnail, and build your HTML.

Re:Static Site Generators by icebraining on Thursday May 15, 2014 @05:54AM (#7748595)
It's not static, because I don't want to have to rebuild everything just 'cause I added a new photo, or fix a type.

Some generators (e.g. gostatic) can track changes and dependencies, rebuilding just what changed.

Re:Static Site Generators by rmc on Thursday May 15, 2014 @06:20AM (#7748656)
Yeah I was gonna do that, but wanted to check if anyone else had done it before I reinvent the wheel. :)
Re:Static Site Generators by raving-richard on Thursday May 15, 2014 @10:31AM (#7749609)
Where's the fun in that? Re-inventing the wheel to scratch your own itch is part of the process of improving yourself as a developer.

:p

Re:Static Site Generators by Matrixik on Thursday May 15, 2014 @05:27AM (#7748509)
There aren't many tools like that.

Personally I like and use `lazygal`: http://sousmonlit.zincube.net/~niol/playa/oss/projects/lazyg... Source: https://bitbucket.org/niol/lazygal

It's live and maintained. I also contributed some code fixes and theme to it.

Re:Static Site Generators by knitatoms on Thursday May 15, 2014 @06:40AM (#7748700)
I can highly recommend Photofloat by Jason Donenfeld:

http://git.zx2c4.com/PhotoFloat/about/

Re:Static Site Generators by MrRed on Thursday May 15, 2014 @05:54AM (#7748594)
I've built a Flickr plugin https://pypi.python.org/pypi/pelican-flickr for Pelican. You can embed your photosets alongside your posts & pages...
Re:Static Site Generators by allenlsy on Thursday May 15, 2014 @05:45AM (#7748567)
If you are familiar with Jekyll, I have made a plugin for Jekyll, for easy album generation. You just need to put your photos in a folder, and the web page can be generated. But you need to customise the theme yourself.
Re:Static Site Generators by danbee on Saturday May 17, 2014 @04:33AM (#7759596)
Could you post a link to your plugin?
Re:Static Site Generators by tenfingers on Thursday May 15, 2014 @10:31AM (#7749607)
Re:Static Site Generators by wosc on Thursday May 15, 2014 @06:29AM (#7748678)
I've been quite happy with https://pypi.python.org/pypi/curator
Re:Static Site Generators by matthiasv on Thursday May 15, 2014 @10:51AM (#7749730)
You may give Sigal a try: https://github.com/saimn/sigal/