Live data from Hacker News

Poll: What's your favorite static site generator?

news.ycombinator.com

31–40 of 124 posts

Re: Poll: What's your favorite static site generator?

#31

bash and wget. Simple example: for f in `ls *.php`; do wget http://myexample.com/$f -O $f.html; done; rename 's/\.php\.html/.html/' * sed -i 's/\.php/.html/g' *.html

Kinda.

When I need a 'static' site I just use whichever CMS/framework is best and wget --mirror the output.

Re: Poll: What's your favorite static site generator?

#33

Hakyll, since it has Haskell type safety goodness and is very customizable (it's basically a Haskell EDSL for static site generation): http://jaspervdj.be/hakyll/ The other nice thing about Hakyll is that it uses Pandoc, so it supports different input and output formats (such as HTML slide generation from Markdown).

1+ for hakyll, has built in customizable deploy command too

Re: Poll: What's your favorite static site generator?

#35
Although I'm not sure if it counts as a static site generator, about 3 months ago there was a Show HN for a blog generator that was entirely client-side that had a pane on the left where Instagram, Github, etc. content was displayed and the actual blog posts were from your Tumblr account.

Does anyone remember the name of that project? I've been looking everywhere for it...

Re: Poll: What's your favorite static site generator?

#37

Hakyll, since it has Haskell type safety goodness and is very customizable (it's basically a Haskell EDSL for static site generation): http://jaspervdj.be/hakyll/ The other nice thing about Hakyll is that it uses Pandoc, so it supports different input and output formats (such as HTML slide generation from Markdown).

I just started using Hakyll and it's really awesome. It's very configurable, and integrating with Pandoc makes it very versatile.

Maybe this doesn't matter to most people, but having Pandoc means support for math (e.g. TeX) is standard.

I have a fairly complicated setup at the moment, and yet it still has less than 100 lines of configuration.

Also, being in Haskell, I've found it pretty fast so far despite being written in and configured with a very high-level language.

I'm short, Hakyll is awesome. Much better than my old solution which was a bunch of hacked-together php. (I was using my school's shared Apache server, a don't judge me :P.)

Post reply on HN