Live data from Hacker News

Static Website Generators

netlify.com

51–60 of 241 posts

Re: Static Website Generators

#51
post #47

Nobody's mentioned Hexo yet (edit: here), so I will. A while back I reviewed the top 5-6 Node-based SSGs and hexo seemed like the best tradeoff between simple and flexible. https://hexo.io/ I also wrote up all the stuff I learned migrating and existing Wordpress blog to static: http://aphall.com/2016/01/migrating-wordpress-to-static/

> Nobody's mentioned Hexo yet

Hexo is #2 in the list in the article...?

Re: Static Website Generators

#55
post #7

Earlier quoted context omitted.

The "app" in this case would be client-side logic (e.g. written in JS) which might then render the blog client-side by pulling down the text for the blog. Ultimately, everything on the server is unchanging until you do a rebuild with new content. So long as the hosted content isn't dynamically generated server-side when you visit, it's static.

Single page app uses .js to load page inside index.html w/ push state. I like this 'serverless' approach.

It most certainly is not serverless.

Re: Static Website Generators

#56

What are people using for hosting? I've thought about using github pages, but css ended up being severely limited.

Github Pages can serve any static files, so I don't understand what you mean by "css being severely limited"?

If you meant the Jekyll support build into GitHub, you could use a free CI service to run any other SSG, and push it to GitHub pages or any of the other suggested solutions. If you want everything from one service, GitLab uses their CI service for GitLab Pages and have prepared templates for many SSGs already.

Re: Static Website Generators

#57

Earlier quoted context omitted.

Also sort of a related, shameless plug-- I've been working on Formingo ( https://www.formingo.co ), a form processing service for static sites so you can receive your form submissions directly to your email without the need for server side code or your own backend. I've actually had a couple people ask me about comment systems that were an alternative to (and more simple than) Disqus, so it's cool to see someone work…

This is cool. When do you plan to have paid plans available? I'm working on some Jekyll landing pages and I need form options for people.

Not sure at this point. If you need more than the default 500 submissions per month, shoot me an email (andrew@ the Formingo domain) and I can hook you up ;) (same goes for anyone else reading).

I'm working on expanding the service a bit before I get into paid plans or anything. The drag and drop form builder is coming soon, which will also work with static sites (using JS to embed the form, and eventually have a couple other options such as just generating the HTML for you so JS isn't required for your visitors)

Re: Static Website Generators

#58
And I guess, Lektor and Pollen are still the only ones with a (dynamic) web interface for writing articles and then exporting them (statically)?

Besides Bricolage (ancient, abandoned?, never got it to work – even the VM image they provide as a demo) and Movable Type (expensive), of course.

Re: Static Website Generators

#60
post #37

Are there any real differentiating factors or are there so many because they're so easy to do? I built a custom one for a client once for no real reason.

When I reviewed a bunch of SSGs looking for the one for me, the differentiators were:

* What language it's in (assuming you want to be able to hack around issues if you need to)

* What intermediary formats it uses (EJS/jade/stylus/LESS/SASS, etc. - assuming you don't want to publish a site that looks like the SSG's demo page)

* How opinionated it is about its output pipeline. Some SSGs have fully-formed plugin systems, so you can choose your favorite minifier, add a transpiler, etc., which is powerful but more work. Others just do what they know how to do and if you want to add steps you'll have to post-process the output.

That said, running through the "publish a hello-world page with default theme" was pretty much the same for every SSG I tried. You have to really start futzing with things to see the differences.

Post reply on HN