27

For those of you who host their own website, do you use a static site generator, or have you in the past, and if so what static site generators were your favorite to work with?

top 13 comments
sorted by: hot top controversial new old
[-] communism@lemmy.ml 3 points 2 days ago

I just use Hugo. I'm sure there are other SSGs that are either objectively better or better for my specific use case (text-based blog) but it works fine for me.

[-] alexandra_kollontai@hexbear.net 7 points 3 days ago

I don't use one. I write HTML and use server-side includes to jam together the navigation and the page. It helps me spend more time actually writing and less time reading the documentation of some configuration file.

[-] shrek_is_love@lemmy.ml 4 points 3 days ago

Doing exactly this was why I learned PHP years ago

[-] git@hexbear.net 10 points 3 days ago

I've used many in the past but ultimately migrated to https://www.getzola.org/. Once you've set it up it just gets out of your way.

[-] RedWizard@hexbear.net 4 points 3 days ago

I was just looking at Zola. It seems nice.

[-] Imnecomrade@hexbear.net 2 points 2 days ago* (last edited 2 days ago)

I'm going to plug this in here to help people search for SSGs:

https://github.com/myles/awesome-static-generators

Some of the ones I noticed that were not listed include...Zine, written in Zig:

https://zine-ssg.io/

https://github.com/kristoff-it/zine

Frog, written in Racket Scheme:

https://docs.racket-lang.org/frog/index.html

https://github.com/greghendershott/frog

Pollen, written in Racket Scheme:

https://docs.racket-lang.org/pollen/index.html

https://gitlab.com/mbutterick/pollen

[-] RedWizard@hexbear.net 2 points 2 days ago

Ooo more interesting things to check out. Thanks!

[-] shrek_is_love@lemmy.ml 8 points 3 days ago

I'm a big fan of Astro. The sites it produces are really fast and they make it easy to integrate libraries like Vue, Svelte, or React. It overall has a nice developer experience as well.

[-] edie@lemmy.encryptionin.space 3 points 3 days ago* (last edited 3 days ago)

Astro doesn't look to be an SSG?


This user is suspected of being a cat. Please report any suspicious behavior.

[-] shrek_is_love@lemmy.ml 9 points 3 days ago

It originally was just a static site generator, but it can do both now:

By default, Astro pages, routes, and API endpoints will be pre-rendered at build time as static pages. However, you can choose to render some or all of your routes on demand by a server when a route is requested.

https://docs.astro.build/en/guides/on-demand-rendering/

[-] hellinkilla@hexbear.net 3 points 3 days ago

They can be simple in theory but also big time sinks if you are susceptible to that kind of thing. I feel like a gambling addict trying to set these things up sometimes. If you aren't getting anywhere after a little while, cut your losses and bail

I have had best experiences with the ones that are "documentation"-oriented like mkdocs.

Make sure to consider the environment required to run the generator and avoid anything that will be excessively fragile or that require you to run a whole tool chain you wouldn't otherwise have installed. And may be in conflict with your OS.

As with all open source, "customizable" is a euphemism for "you will need to read a lot of documentation and futz around in a bunch of configuration files in order to obtain even basic functionality".

[-] edie@lemmy.encryptionin.space 5 points 3 days ago* (last edited 3 days ago)

I use lektor for my own websites... it works fine enough. It's not that big so it might not have great support. It also had some time where it kinda sat dormant, but it's been getting some more attention.

I also help with jekyll for sphynx, it was fine, don't have quite enough time with it so say much.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] zongor@hexbear.net 5 points 3 days ago

werc anti framework and hugo are what I have used in the past

this post was submitted on 21 Apr 2026
27 points (100.0% liked)

technology

24341 readers
289 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS