Live data from Hacker News

Static Site Generators

staticsitegenerators.net

51–60 of 123 posts

Re: Static Site Generators

#52
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

#53
I use gulp with gulp-nunjucks-render as my static-site generator. It offers the most flexibility to me and in the end any static-site generator is just rendering templates.

Re: Static Site Generators

#54
post #52

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?

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

#56
post #52

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?

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

#57
post #11

I'm really pleased with FrozenFlask. It lets you develop a normal site with python and flask with all of the flexibility: routing, databases, modules, etc. that you'd expect while still outputing a static website. I made my current blog site with it. https://pythonhosted.org/Frozen-Flask/ https://github.com/bendoan/bendoan.me

Did you need to write any URL generator, or was it able to identify all URLs by itself?

Re: Static Site Generators

#58
post #52

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?

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

#60

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

Movable Type does this.

Moveable Type was the first blog system I used, over 12 years ago. Oh the memories... my first exposure to Perl and setting up sites on a shared host. Slacking off in university labs to tweak the theme files/write posts/work out why site rebuilds were taking a stupidly long amount of time... fun times :)
Post reply on HN