4 ms·
Ask HN: Best Node.js static blog generator?
I'm interested in the various views for the best NodeJS static blog generator.
Which is the best?
Why are you giving your recommendation?
- rattray 10y agoTry Gatsby. Pretty full featured and works well. Also very easy to get up and running quickly.
- whsheet 10y agoWhile Gatsby looks good, I remember that the last time I looked at it Gatsby was always loading all blog posts. This isn't a problem for a small blog but with a blog with hundreds of posts this wouldn't be efficient. Plus there are some SEO issues because of its SPA nature. Are this issues still valid or did Gatsby changed in these regards?
- rattray 10y agoIt's not SPA, it's static. You can load without any JS on the frontend if you want I believe. Code splitting is an expected part of an upcoming 1.0 release I believe (may be misremembering)
- whsheet 10y agoI am also looking into this space and found https://www.staticgen.com/ https://www.staticgen.com/ quite helpful. You can filter by language and then, you get Hexo, GitBook and Gatsby as the front runners for Javscript ranked by Github stars.
- diegorbaquero 10y agoNice site! Has really helped me know what the "market" looks like. Thanks for sharing
- fariz_ 10y agoTry phronomic.io, the front end use react.
- aloisdg 10y agoHexo is by far the most popular. Easy to use, lot of themes, I really like it.
- jorgthuijls 10y agoYeah hexo is pretty good
- drinchev 10y agoI'm using metalsmith [1]. It's quite "Do it yourself", but very flexible on the result. 1: http://metalsmith.io http://metalsmith.io
- wattt 10y agoI second this!
- gotofritz 10y agoIt's nice because simple, but the quality of the plugins and the documentation is not very good. You end up wasting a bit of time discovering how to do even simple stuff. The nice thing is that you can easily knock together a plugin to do what you need
- drinchev 10y ago> The nice thing is that you can easily knock together a plugin to do what you need Precisely. I guess one of the reasons why metalsmith doesn't have any pre-installed plugins is that. Fortunately with a combination of metalsmith & gulp you can do wonders and it's quite flexible, compared to any other `blackbox`-utility on the market.
- tvjames 10y agoDoes it have to be node.js? Are you looking to expand your JS skills, or do you just want a decent static site generator? (If B, then hugo is awesome, and awesome fast)
- wattt 10y agoIf that is the case why not use Jekyll? It is the most popular thing out there that I am aware of.
- diegorbaquero 10y agoI want to be able to understand and modify if needed. Although I do program in other languages, I want to focus in NodeJS for now.
- itamarst 10y agoJust pick the most popular one. The differences will be minor enough that what matters is documentation and support.