Live data from Hacker News

Zola: A fast static site generator in a single binary

getzola.org

151–160 of 177 posts

Re: Zola: A fast static site generator in a single binary

#151
The name sounds like the Chinese phrase "zou le" which means something like "walked away" or "gone". Kind of appropriate since it's supposed to get out of you way.

There are a lot of homonyms with English and Chinese that you won't get from typical dictionary searches because even the romanized spelling is completely different.

Re: Zola: A fast static site generator in a single binary

#152

Earlier quoted context omitted.

We don't need to create one if we do not like Hugo. There are other SSGs like Hugo. Jekyll, Gatsby, etc., More here https://jamstack.org/generators/

NextJS is (by far) the best of the bunch, because it isn't limited to SSG.

They are not the right comparison, but we get your point.

Re: Zola: A fast static site generator in a single binary

#153

No mention of Eleventy [1] here. Definitely worth a look, my personal view is it nails the balance of simplicity, power and flexibility. I have used it for all sorts of projects, from marketing websites to quick client docs and presentations. For non-trivial usage in a project see google web.dev [2]. [1] https://www.11ty.dev [2] https://github.com/GoogleChrome/web.dev

I tried both Eleventy and Zola along with a few other SSGs for my blog [1], and ended up going with Eleventy. I love that it's flexible with my directory structure, that I can write shortcodes with JavaScript (without adding JS to the client), and preview my site from my phone without any extra setup. (It gives you a URL when you start up the development server! Magic!)

It was almost trivial for me to add a social sharing image generator for my posts. [2] That's something I never thought my SSG would be able to do.

Definitely check it out if you're looking at static generators. Zola too, which is amazing in its own right.

[1] https://mtm.dev/static

[2] https://mtm.dev/eleventy-social-sharing-images

Re: Zola: A fast static site generator in a single binary

#154
post #152

Earlier quoted context omitted.

NextJS is (by far) the best of the bunch, because it isn't limited to SSG.

They are not the right comparison, but we get your point.

Please explain how it's "not the right comparison".

The parent listed static site generators including Gatsby, Hugo, and Jekyll. I suggested NextJS is a superior option to those 3, because (among many other things) it supports "export" of a fully static, pre-rendered site, which puts it -- unambiguously! -- in the "JAMstack SSG tools" category. So I'm baffled by the downvotes, and your dismissal.

What am I missing? Thanks in advance!

PS Edit to add: NextJS is even listed, as the 1st result, in the parent's jamstack link!

Re: Zola: A fast static site generator in a single binary

#155

My input as a former technologist turned marketing guy over the years - where is a decent SSG (perhaps like Zola) with page building drag and drop tools like a Wix or a Squarespace? I'd love to move our site off of Wix - and have full control when needed and work offline before publishing pages - but inevitably you dive back into code or the guts of database queries once you leave these WYSIWYG tools. Between Wix and…

Blocs app (Mac only) is another alternative. You can even build WordPress themes with it.

Re: Zola: A fast static site generator in a single binary

#156
post #16

What is stopping someone writing an offline GUI for a static site generator? I think that would help a bit with non-technical adoption.

If you can run a local web server, WordPress has a static site generator: https://wordpress.org/plugins/simply-static/

WP2Static is another option.

https://wp2static.com/

Re: Zola: A fast static site generator in a single binary

#157
mkdocs is pretty easy and simple too:

    pip install --user mkdocs
    cd your-markdown-directory/../
    echo 'site_name: mysite' > mkdocs.yml
    ln -s your-markdown-directory docs
    mkdocs build && mkdocs serve
    # if you don't like the default theme:
    mkdocs build -t readthedocs && mkdocs serve
No you do not need add special meta info into your markdown files, any regular markdown files will work just fine.

Re: Zola: A fast static site generator in a single binary

#158

No mention of Eleventy [1] here. Definitely worth a look, my personal view is it nails the balance of simplicity, power and flexibility. I have used it for all sorts of projects, from marketing websites to quick client docs and presentations. For non-trivial usage in a project see google web.dev [2]. [1] https://www.11ty.dev [2] https://github.com/GoogleChrome/web.dev

The main template engine 11ty suggests is Nunjucks, which requires you to trust the template author. https://www.11ty.dev/docs/layouts/ https://mozilla.github.io/nunjucks/templating.html#user-defi...

Zola uses a similar template language called Tera that seems to be a lot safer.

Re: Zola: A fast static site generator in a single binary

#159
post #148

Earlier quoted context omitted.

I doubt people who want to avoid javascript will use a javascript based static site builder.

Isn't that a bit like saying that people who want small web pages wouldn't want to use hugo, as it's a 60 megabyte binary?

No not really. There is a large anti-javascript crowd who avoid anything and everything js based, and frameworks like Gatsby and NextJS require you to interact with js and its tooling.

Re: Zola: A fast static site generator in a single binary

#160
post #152

Earlier quoted context omitted.

They are not the right comparison, but we get your point.

Please explain how it's "not the right comparison". The parent listed static site generators including Gatsby, Hugo, and Jekyll. I suggested NextJS is a superior option to those 3, because (among many other things) it supports "export" of a fully static, pre-rendered site, which puts it -- unambiguously! -- in the "JAMstack SSG tools" category. So I'm baffled by the downvotes, and your dismissal. What am I missing? T…

https://github.com/vercel/next.js/issues/5054
Post reply on HN