11 ms·
Poll: What's your favorite static site generator?
Lately, I've been testing out different static site generators but it's a sea of alternatives. My favorite so far is Punch but the non-existing support for articles/blog-posts and subfolders makes it not so good...
So, what's your favorite?
(Let me know if I missed someone, poll options are taking from here: https://gist.github.com/4181764)
- lvh 14y agoI like wok. It appears to be missing :)
- sherl0ck 14y agono hyde?
- diggan 14y agoNope, not one hour ago. Added it as an option now.
- dochtman 14y agoI like Pelican (for blogs). Python, reST + Jinja. Looks like your list is basically Ruby, Node and PHP, excluding all the Python and other language options.
- jhull 14y agoA big fan of Pelican as well
- diggan 14y agoYeah, the list is only Ruby, JS and PHP currently but will add more generators from other languages as soon as possible.
- nnq 14y agoHow does it compare to Wok? http://wok.mythmon.com/ http://wok.mythmon.com/ (as said before, I'm looking for the simplest Jinja2 generator)
- haraball 14y agoSeems like Punch supports blog posts now: https://github.com/laktek/punch-blog https://github.com/laktek/punch-blog
- fsiefken 14y agonanoc, middleman and nestacms. i really like that you can push static markdown to the server it'll be exported to html automatically with static file caching as an added bonus. More elegant and easier to manage then a CMS or WebApp with Varnish.
- misleading_name 14y agojust converted my site from wordpress to jekyll, and I'm quite happy... mostly because of the simply syntax highlighting
- LeafStorm 14y agonanoc [1]. It takes more effort to set up the basic rules for your site, but it's incredibly powerful. For example, my blog [2] can generate archive pages for my articles by year, month, and tag, with the generation handled entirely in "user space," without any undocumented hacks to the system or extenal pre/postprocessing. Another site I created using nanoc has the ability to take recipes that are specified only in the YAML content metadata, and expand them into full-fledged HTML pages - again, entirely in "user space." In general, I find the ability to use code to control the site's generation very refreshing - the static site generators I had used beforehand (for example, Webgen) rely on configuration files to determine the rendering process, which for sufficiently complicated sites can be hard to trace. By contrast, nanoc's Rules file allows you to see and control exactly how a given file will be processed. The code is also very well-written (it resists using the hard-to-follow Ruby magic that Rails and company tend to use), although were I Denis Defreyne, I would have written some sort of plugin manager by now. [1] http://nanoc.stoneship.org/ http://nanoc.stoneship.org/ [2] https://bitbucket.org/leafstorm/leafstorm.us/src https://bitbucket.org/leafstorm/leafstorm.us/src
- ComputerGuru 14y agobash 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
- keithpeter 14y agoBash, markdown and hope. Sample... http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-scripts.html http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-s... it is horrid, but it works for me. Seriously, how about a voting option for something like 'homebrew'?
- nkuttler 14y agoKinda. When I need a 'static' site I just use whichever CMS/framework is best and wget --mirror the output.
- joeld42 14y agoThat sounds horrible. All of the added complexity of a heavyweight framework without any of the advantages. Most frameworks have an option to cache the output if you want to go that route, then you'll get the performance of a static site without losing the flexibility.
- jacquesm 14y agoI'm using octopress at the moment but it's terribly slow for anything over the trival level. Just a few hundred pages and it's minutes between generations.
- ralsina 14y agoAvoiding that problem was one of the main goals of Nikola's development, which is why it has a whole dependency build thing (based on doit, similar to a Makefile). I have a 1200+ post blog so it was that or death by boredom :-)
- jghrng 14y agoI like ikiwiki a lot because it plays nicely with git and there are many useful plugins: http://ikiwiki.info/ http://ikiwiki.info/
- qznc 14y agoI do not particularly like ikiwiki, but I use it and have no good reason to switch.
- mahmud 14y agoColeslaw, ye olde Common Lisp static site generator (with optional dynamic backends, if that's how you roll) http://www.cliki.net/coleslaw http://www.cliki.net/coleslaw
- astine 14y agoWow. the Cliki has gotten a makeover since the last time I checked it.
- redline6561 14y agoHa. The optional dynamic backend got taken out during a rewrite in August but it was never very interesting. The new plugin and theme support is much more interesting. ;)
- diggan 14y agoColeslaw looks very interesting, especially with the use of Git. Added it as an poll alternative!
- TeMPOraL 14y agoHoly frak! So why did I just wrote a homebrew static site generator in CL two weeks ago? :D. Anyway, it was a) a great experience, and b) gave me some insights into why building systems (stuff like rebar, rake, etc.) look the way they do.
- redline6561 14y agoNeat. :) Is yours online anywhere?
- TeMPOraL 14y agoIt's a kludge, but here you go: https://gist.github.com/4190622 https://gist.github.com/4190622 The original GitHub repo is private right now, because I'm not yet ready to reveal the site I'm building :). I plan to launch in two-three weeks; I'm working on content and styling right now.
- winton 14y agoYou spelled Stasis wrong :) http://stasis.me http://stasis.me
- diggan 14y agoShit... Correct now, thanks! :)
- bibinou 14y agoMovable Type.
- diggan 14y agoAdded!
- bearwithclaws 14y agoJekyll all the way. I even presented about it in my local meetup group: http://www.youtube.com/watch?v=GV6n9LU2B2w http://www.youtube.com/watch?v=GV6n9LU2B2w
- program 14y agoWhere is Movable Type?
- diggan 14y agoIt's in the list now!
- chipaca 14y agoNikola is missing from the list :) http://nikola.ralsina.com.ar/ http://nikola.ralsina.com.ar/
- diggan 14y agoNot anymore, added Nikola as an alternative!
- fmavituna 14y agoYears ago we want to do this and I didn't know any tool for it. I develop the application internally and we used wget mirroring to statically deploy it. Initially I thought it would suck but turns out wget is way better than I thought. With the combination of ssh etc. We build a simple script that deploys takes mirror of the website and deploys it. After about 5-6 years, it's still in production with no issues. Internally it's a wiki style, simple database model home grown ASP.NET application.
- Auguste 14y agoThat sounds pretty cool. Have you considered publishing it under an open-source license?
- fmavituna 14y agoI haven't actually, mostly making something open source takes time, if you don't have that extra time pretty much no one will use it. (at least that's my experience)
- fsiefken 14y agoexactly, i developed a solution based on pavuk (which has a bit more options then wget) - still in use as far as I know after almost 8 years!
- valuegram 14y agoHyde: http://ringce.com/hyde http://ringce.com/hyde
- SnowLprd 14y agoHyde has not been significantly modified in nearly a year. If you're looking for a Python-based static site generator, Pelican <http://getpelican.com/> http://getpelican.com/> is under active development. (Disclaimer: I'm a Pelican project committer.)
- jaskew 14y ago+1 for pelican https://github.com/getpelican/pelican/ https://github.com/getpelican/pelican/
- tuananh 14y agoI tried jekyll, octopress and toto. ended up with toto and a hosted my blog on a free instance on heroku.
- danieldk 14y agoHakyll, 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/ 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).
- shintoist 14y ago1+ for hakyll, has built in customizable deploy command too
- tikhonj 14y agoI 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.)
- biot 14y ago> I'm short, Hakyll is awesome. A good solution for the vertically challenged. :)
- tikhonj 14y agoAh yes, phone typos strike again. You'd think I would have learned to proof-read my posts by now...
- omaranto 14y ago> Maybe this doesn't matter to most people, but having Pandoc means support for math (e.g. TeX) is standard. I like the optimism in that "maybe" at the beginning of the sentence.
- lnanek2 14y agocached XSLT output :)
- plaes 14y agoouch.. :)
- marcuskaz 14y agoHastie - https://github.com/mkaz/hastie https://github.com/mkaz/hastie A static site generator in Golang. My favorite because I wrote it :-) but it is also super fast, however low on features.
- astine 14y agoI use nanoc rather than jekyll for my blog for reasons I give here: http://theatticlight.net/posts/nanoc3/ http://theatticlight.net/posts/nanoc3/
- xaa 14y agorst2html and Makefiles. Sometimes Sphinx.
- ddw 14y agoAlthough 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...
- deleted 14y ago[deleted]
- ddw 14y agoNevermind, found it: https://github.com/rigoneri/syte https://github.com/rigoneri/syte
- kevinconroy 14y agoIf you use/like Freemarker, FMPP is a terrific generator. http://fmpp.sourceforge.net/ http://fmpp.sourceforge.net/
- Techasura 14y agoNow,i'm a web developer and i'm new to this. why don't anyone write a html page from scratch? what is the real use of site generator? i have worked on wordpress, drupal, and others. Anyone please be helpful to me.
- apl 14y agoSite generators of this type form a happy medium between the inefficiency of writing HTML from scratch (after all, most boils down to templates filled with content) and the inefficiency of regenerating static content upon every request (as WP and Drupal are prone to do). If there's no dynamic stuff on your site, why pull everything from a database? And if you save time by using templates, why roll your own HTML?
- Techasura 14y agobut most of the best static sites so far have a different view.. so, to make a different view, we cant use a template. but i would be interested in leaning these things. i'm on a windows. can suggestion how to install and get started with octopress(seems to be the best)?
- rubinelli 14y agoThis should get you started: http://blog.zerosharp.com/setting-up-octopress-on-windows/ http://blog.zerosharp.com/setting-up-octopress-on-windows/
- glyphobet 14y agoCommence shameless plug for my project, "fragments": http://glyphobet.github.com/fragments/ http://glyphobet.github.com/fragments/ It could be used as a static site generator, among other things. But it uses version-control style diffs and merges, instead of any structure or language, which has the advantage that there's no generation step, and you can just edit the files as pure HTML.
- hboon 14y agoBlogofile
- edwardunknown 14y ago[Docpad](https://github.com/bevry/docpad https://github.com/bevry/docpad) is my lover. You can not have her.
- pbdiode 14y agoI like poole.py: https://bitbucket.org/obensonne/poole https://bitbucket.org/obensonne/poole Simple and to the point. Probably not good for larger sites, but it works for small ones.
- 1gor 14y agoWebby (http://webby.rubyforge.org/ http://webby.rubyforge.org/) Branch with ruby 1.9 fixes is at https://github.com/namelessjon/webby https://github.com/namelessjon/webby It is not under active development, but is for me feature-complete, stable and incredibly flexible. Advantages are: - pure ruby (no liquid templates needed) - each page has its own subdirectory where one can put images, scripts etc; your article becomes a 'package'. - chained templating filters; you can do erb->markdown->your custom filter with minimal effort. - mostly implemented by extending rake tasks, no extra api to learn and if you know rake you can continue adding features forever.
- jamesbritt 14y agoAnother Webby user here. I forked the repo when I learned it was no longer maintained and I got tired of patching string.rb with "#encoding: UTF-8" whenever I was installing the gem someplace. :) I tried something else at some point; I forget what, but it was more complicated, so I stuck with Webby. Extending it is just easy. I've been using it to create mobi and epub files from Textile, as well as plain old Web sites. I think I use it for pretty much every site I have that isn't hitting a database, and even with those I probably have a static section built using Webby.
- zem 14y agowebby +1. never had any problems with it.
- jnotarstefano 14y agoNestaCMS got my vote, because it's what I use for my blog. Is it really a static site generator, though? It can be used as one, I guess, but I think of it as a dyamic Sinatra app.
- bookcasey 14y agoI've used NestaCMS and it's great, but I also wouldn't really consider it a static site generator.
- smagch 14y agoMakefile + jade + stylus
- taeric 14y agoAny experience here with https://telegr.am/ https://telegr.am/?
- lousy_sysadmin 14y agoPhrozn. PHP based, still in beta but been using it for months now without any problems. http://phrozn.info http://phrozn.info
- zzzeek 14y agoBlogofile: http://blogofile.com/ http://blogofile.com/
- asselinpaul 14y agoOld post on my now defunct blog on Static Sites. Had a look at quite a few. https://www.dropbox.com/s/mk9w8r0zjkkwpqi/static_sites.md https://www.dropbox.com/s/mk9w8r0zjkkwpqi/static_sites.md
- SnowLprd 14y agoPelican <http://getpelican.com/> http://getpelican.com/> is a Python-based static site generator with a very active community behind it. It has a good mix of features without being overly complicated. Check it out! (Disclaimer: I'm a Pelican project committer.)
- clinth 14y agoI really enjoy Pelican. It's simple. For other devs: if you're familiar with Jinja, then you're 80% of the way there.
- ajays 14y agoI just moved to Pelican, and am liking it so far, except for one thing: the lack of mobile support. The theme I'm using, tuxlite, looks great in a browser; but on smartphones, it's squint city. I'd love it if Pelican automagically generated a mobile-friendly version of the site, which could then be used by some Rewrite rules based on the browser.
- dkuntz2 14y agoYou can extend pelican to make a mobile site, or you could just put together a responsive theme for it.
- madhukarah 14y agoOctopress FTW!
- bookcasey 14y agoI've used NestaCMS (which I would consider a more dynamic Sinatra app than a static site generator) and my current site is built with Jekyll. A lot of these seem interesting (specifically Middleman), but I really don't have the endurance to try them all out. So, let's hear it. What makes your favorite better than Jekyll?
- edwinyzh 14y agoJust plain html/css plus Mustache (the logic-less tempaltes). Not much new things to learn, literally no limits and a lot of freedom. And here is my toolset: LIVEditor: Edit html and css and see the result instantly (http://liveditor.com http://liveditor.com, my own project, you can imagine LIVEditor = Web Browser + Code Editor + Html Inspector like the one in Firebug). Mustache: Use this logic-less template system to represent reusable content in the html. Python: Call pystache to stuff the {{mustache}} templates in the html files.
- floatboth 14y agoI liked Nanoc, Middleman, Nesta CMS… But then I wanted to publish posts from my iPhone (without connecting to an EC2 micro instance). So I made a Dropbox-based blog engine: https://github.com/myfreeweb/markbox https://github.com/myfreeweb/markbox
- koenbok 14y agohttps://github.com/koenbok/Cactus https://github.com/koenbok/Cactus Simple. Quick deployments. Python/django based.
- graue 14y agoI tried Octopress, but didn't like the default theme/layout — I wanted to design my own theme, and was hoping to build up a site from scratch, not rip out what was already there. After considering a bunch of Python-based SSGs which didn't impress me for various reasons, I went with Jekyll and have been quite happy. One feature on my todo list is to find a way to add infinite scrolling (this is 2012, I don't think blogs should have “Next Page” anymore!). It seems it shouldn't be too hard but a quick search suggests nobody has tried this with Jekyll (or Octopress) yet.
- ciupicri 14y agoWhat Python-based SSGs?
- graue 14y agoI looked at Hyde, Cactus and Pelican, but confess I can't recall what I didn't like about the first two. Nothing seems obviously wrong with them. Maybe they looked unmaintained or not as mature as Jekyll, although Cactus has a bunch of recent commits so that doesn't seem right. With Pelican I was scared off when I saw the license (Affero GPL, which forces you to provide source if you use the code on a live site, or something like that). Sorry this isn't a more useful comparison. I wanted to find a good-enough SSG quickly, so my search was pretty shallow.
- p4bl0 14y agoMy own : https://gitorious.org/fugitive https://gitorious.org/fugitive ;-).
- pubby 14y agoThat name is very close to vim fugitive.
- mappu 14y agoThere are only two hard problems in computer science: cache invalidation and naming things (and off-by-one errors)
- p4bl0 14y agoI know, and it's actually even linked from fugitive's Gitorious page if you click "more…" in the description, but as an Emacs user, I didn't know about fugitive.vim before choosing the name of fugitive, and the name is too awesome to change.
- transfire 14y agosmeagol
- mstef 14y agoi use utterson: http://www.ctrlc.hu/~stef/blog/posts/utterson_v1.0.html http://www.ctrlc.hu/~stef/blog/posts/utterson_v1.0.html
- BigNuts 14y agonotepad
- danpalmer 14y agoHammer http://hammerformac.com/ http://hammerformac.com/
- arcatek 14y agoDocpad is really, really a great static generator. It doesn't use a lot of files, its file architecture is easy to understand, and it's node, so I don't have to hack with ruby versions.
- unoti 14y agoI was glad to discover do pad based on your comments. Thanks!
- balupton 14y agoAuthor of DocPad here. For a bit of history, DocPad was created 2 years ago now out of my utter frustration with all the other static site generators - frustration from not being able to use it for anything besides trivial use cases (Jekyll is the worst offender here). Building DocPad, it's goal has always been to set you free, ensuring you never hit another brick wall or constrain yourself. That's why we're seeing it used for such an awesome wide range of use cases easily and freely - personal sites, company sites, huge corporate sites, web applications, chat servers, whatever. Because of its plugin system and that it is built with express.js, you can extend it easily as well as add dynamic (re-render on each request) abilities when needed. Well worth checking it out if you got a while, here is a great intro video to it: https://vimeo.com/53755097 https://vimeo.com/53755097 My advice to other people considering making a static site generator - please don't make another compiler or caching layer just like the rest, anyone can do that. But if you want to make a large difference, one that you can't do alone, then see if you can team up with an existing project, they'd certainly welcome your insights and probably have a ton of ideas already - the conversations will always be valuable for all parties involved, and the end result for the world will be much better quality solutions rather than just merely more solutions. Cheers, Ben.
- simplify 14y agoFor those interested, StaticMatic 2 is a similar, ruby alternative (disclaimer: I'm a major contributor): https://github.com/mindeavor/staticmatic2 https://github.com/mindeavor/staticmatic2
- reefab 14y agoI recently made a couple of sites with Middleman and I've been really happy with it.
- roopeshv 14y agoemacs + org-mode + org-public
- squire12 14y agoServe (http://get-serve.com/ http://get-serve.com/). I usually pair it with a simple Rakefile to clean up any cruft.
- deleted 14y ago[deleted]
- softwarerero 14y agoI have done several sites with FMPP/Freemarker in the last 10 years and it still good. Right now I am using Brunch for a web app front end and it looks like the future to me.
- joeld42 14y agoI converted my site (http://www.tapnik.com http://www.tapnik.com) from Django to use Wok and it's been a great move. It's much simpler, and easier to add hooks to do stuff like cropping/resizing images. I don't update it very frequently, so I don't miss the admin interface at all, and even when I do it's usually on my laptop where the site code lives anyways.
- deleted 14y ago[deleted]
- vially 14y agoWhat do you guys use for form submission with these static site generators? I'm using Google Docs forms at the moment but I'm not very satisfied with it. All I need is a simple "Get a quote" page.
- nnq 14y agowhat's the simplest Jinja2 generator out there? ...the use case is for creating and tweaking basic html themes. I currently helped a designer/front-end-guy set-up Hyde but it was horrible and he only needed 20% of what hyde does to get his job done... finally found a forked version with a patched bug that worked on Windows (original pypi and git versions had a weird bug), figured out that the only way to put media files was in the deploy folder because otherwise Hyde still tries to do stuff to them and fails miserably, and for SASS I just taught him to do `sass --watch sass:css` as I was afraid to think what horrors lay in the land of Hyde/SASS integration... and after all this it still does weird shit (on the other hand, my own experience with Hyde on Linux was much smoother... maybe it's just that the devs only test it on *NIX)
- cbau 14y agoI wrote my own tool here because I too had little interest in complexity of some of the larger generators: https://github.com/Ceasar/staticjinja https://github.com/Ceasar/staticjinja. It's just 129 lines of code (https://github.com/Ceasar/staticjinja/blob/master/staticjinja/staticjinja.py https://github.com/Ceasar/staticjinja/blob/master/staticjinj...) and so far I've used it to build three sites with the ease I was hoping for. Might be what you're looking for, and at least, you should be able to edit it to fit your needs.
- ehudla 14y agoyst
- fallenhitokiri 14y agoI am a bit biased since I didn't like the existing solutions and wrote my own. My pages are delivered by drunken pandas (drupan) since October 2011. Jinja, markdown and stupid simple templates with some git magic. https://github.com/fallenhitokiri/drupan https://github.com/fallenhitokiri/drupan
- cbau 14y agoYet another plug: staticjinja is an extremely minimal static page generator. It's less that 130 lines of code, and really is hardly more than a useful wrapper on top of jinja. Perfect though for writing Github Pages sites if you're not a fan of Ruby. https://github.com/Ceasar/staticjinja https://github.com/Ceasar/staticjinja
- desbest 14y agoHalf of these static site generators, I could not find by typing their names in quotes with cms at the end in Google.
- wheely 14y agoomg, so many intelligent people reinventing the wheeeeeeeeel... makes me sad.
- PStamatiou 14y agoI'm a fan of Jekyll wrapped in rack so I can host it on Heroku (and do all the misc redirects I needed to convert it from my old WordPress setup and keep links the same, without any htaccess). For those interested I wrote a guide on WordPress to Jekyll migration: http://paulstamatiou.com/how-to-wordpress-to-jekyll http://paulstamatiou.com/how-to-wordpress-to-jekyll