Ask HN: What's the simplest static website generator?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. shite

    The little hot-reloadin' static site maker from shell.

    Pandoc can be your friend. My site maker [1] is built around it.

    I think a hundred or so well-chosen lines of your favourite scripting language can do wonders. Mine is ~300 lines of Bash because I over-engineered a thing or two for kicks. The core of it is maybe 50 lines.

    [1] https://github.com/adityaathalye/shite

    The README documents the architecture and rationale. Maybe it will help you figure out yours. Happy hacking!

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. piper

    Playground for the Hugo CMS (by cpach)

    Hugo without a theme and some simple CSS could do that.

    Feel free to clone this repo: https://github.com/cpach/piper

  4. cmark

    CommonMark parsing and rendering library and program in C

    I use GNU make. Write content in markdown, feed it to https://github.com/commonmark/cmark to create html. I intended to splice files together using xslt but echo and cat written in the makefile sufficed.

    I'm not totally sure I'd recommend that but I do like the markdown => html flow.

  5. mishareyzlin.com

    My website built with HTML, CSS and JS

    You can iterate over files and collect them into a map from paths to contents and use a 2kb snarkdown if you need markdown parsing. Here’s mine (I use both files and a content.json file for the contents):

    https://github.com/gryzzly/mishareyzlin.com/blob/main/build....

  6. gutenberg

    A fast static site generator in a single binary with everything built-in. https://www.getzola.org

    I think you're thinking about Zola: https://github.com/getzola/zola

    But yes, if I were to recommend something, it'd be Zola given that there's just one executable that you need to run and there's absolutely no setup required.

  7. minimum-viable-hugo

    No CSS, no JS. One static HTML page to start you off.

    Hugo comes out of the box with headers and footers, but you'll probably want to grep around a bit before you understand them fully. I can still recommend my https://github.com/Siilikuin/minimum-viable-hugo as a decent way to get started with a "gears first" approach to Hugo, even though recent developments have made it a bit outdated (in a good way!).

  8. astro

    The web framework for content-driven websites. ⭐️ Star to support our work!

    Maybe a bit too elaborate for your taste, but I've used https://astro.build/ and loved every bit of it.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. eleventy 🕚⚡️

    A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

    I suggest you to try out eleventhy (https://www.11ty.dev/)

    Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.

  11. simplesite

    This handles templates (and reloading) and markdown.

    Just call `go run .` when developing, add the `-production` flag when deploying. Note that this is probably more relevant when running on a VPS, as this doesn't produce the HTML files. While simple it is quite powerful as is.

    It can be found here: https://github.com/BenStigsen/simplesite

  12. Wintersmith

    A flexible static site generator

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: What is the best way to author blogs in 2024v

    18 projects | news.ycombinator.com | 20 Jul 2024
  • State of the Web: Static Site Generators

    21 projects | news.ycombinator.com | 30 Jan 2022
  • Building bun-tastic: A Fast, High-Performance Static Site Server (OSS)

    5 projects | dev.to | 15 Jan 2025
  • The curious case of the paragraph with the bad CLS

    1 project | dev.to | 3 Dec 2024
  • Ask HN: Is It Time for a WordPress Alternative?

    1 project | news.ycombinator.com | 18 Oct 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?