Live data from Hacker News

Static Website Generators

netlify.com

41–50 of 241 posts

Re: Static Website Generators

#41
post #21
post #12

I use Hugo for several websites and I enjoy it a lot. One favorite part is the ability to create content of different types.

This statement caught my attention in the article: > It is optimized for speed (Hugo sites can be built in milliseconds) Is that true, or does it just happen to be fast? It seems to me that the performance of a static site generation is irrelevant, and thus time spent on this is really wasted effort. I don't care if it takes several minutes to build.. it'll happen on the CI server in the background, and so long as th…

Yea gonna agree with u:bobfunk here that it's really about local development where it matters. And yes it is very fast in my experience, although I don't push it as much as others do.

It's also amazing to just have a single binary (or go get -u command) to get going unlike jekyll or the gems to run github's jekyll environment locally. I can't tell you how many times I'd just not blog in a while and need to setup this whole crazy setup for local jekyll and I'd just never write the post because of it. Hugo makes things simple, fast, and extensible.

edit: also I usually do the build locally and commit that to a specific repo which has the final rendered version for easy deployment to github and other places. I've made a `Makefile` just to do this easily as `make publish` to get any changes I have build, commited to the rendered repo, and commited to the source repo.

Re: Static Website Generators

#42
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.

I think one reason there is so many is there tends to be at least one for a given language. That way you can fire up npm, pip, cargo, whatever you're most comfortable with and have one installed.

Re: Static Website Generators

#45
post #7

Earlier quoted context omitted.

> single-page app SSGs How does that work? Isn't "single-page app" the exact opposite of a "static site"?

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.

Re: Static Website Generators

#46
I just use emacs + org mode -> org-publish to generate my site [1] from org-mode with some customizations; it's been the most flexible and fun way to build a site I've had across all my attempts so far, particularly given that I can go meta and also publish the htmlized raw org files at the same time [2].

[1] Publishing config: http://explog.in/config.html [2] Org Source: http://explog.in/config.org.html

Re: Static Website Generators

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

Re: Static Website Generators

#48
post #25

Sort of related and shameless plug but I'm building a "comments as a service" application that isn't disqus. My first target market is static sites. Check it out here: http://www.remarkbox.com

Since we're shameless pluggin', I have a Jekyll plugin that will display an image gallery from a folder (with a single liquid tag).

https://github.com/callmeed/jekyll-image-set

Re: Static Website Generators

#49
I am a long time WordPress user. I tried a few but didn't like them much. WordPress is the nice middle point of internet publishing. A well designed web, desktop, and mobile interface, themes, plugins, and commenting system. Cost of hosting is a little prohibitive but it works pretty well.

I am currently trying out Hexo which seem to work just time too.

Re: Static Website Generators

#50
post #25

Sort of related and shameless plug but I'm building a "comments as a service" application that isn't disqus. My first target market is static sites. Check it out here: http://www.remarkbox.com

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.

Post reply on HN