Software Alternatives & Reviews

Why I built my own static site generator

mkws(1) Hugo Metalsmith Handlebars
  1. Efficient Static Site Generator

    #HTML #JavaScript #Web Development 19 social mentions

  2. 2
    Hugo is a general-purpose website framework for generating static web pages.
    Pricing:
    • Open Source
    I'm surprised nobody mentioned Hugo[0] yet. I write Markdown and commit to a git repo, then a web hook in Caddy pulls and builds the static site, anything I commit is up in a matter of seconds. I'd much rather spend what little time I have writing blogs to help people learn new things than write YASSG. Someone below linked to a site with over 400 SSGs.I think OPs "why" was really "because I wanted to", after having only tried Jekyll and Gatsby (apparently). [0]https://gohugo.io/.

    #Static Site Generators #Blogging #Blogging Platform 354 social mentions

  3. An extremely simple, pluggable static site generator.
    Pricing:
    • Open Source
    A static site generator I've been enjoying lately (and using for my blog) is Metalsmith: https://metalsmith.io/ It feel like it's the best of both worlds, because it's simple to learn and customize, but there are plugins for the things you don't want to spend time writing yourself. For example, I'm using plugins to: check for broken links, generate an RSS feed, and run a test server with automatic reloading. But then I was able to easily add in my own code to handle relative links, generate Graphviz diagrams, and format dates. One other recommendation: I hated almost every template language I ran across (Hugo's, Liquid, Nunjucks, EJS), but I'm thrilled with the simplicity of Handlebars (https://handlebarsjs.com/), although it is a bit limiting and the "block helper with parameters" syntax is strange (perhaps an indicator that I'm trying to do too much in the templating language!).

    #Blogging #CMS #Blogging Platform 6 social mentions

  4. Handlebars is a JavaScript template library that is, more or less, based on ...
    Pricing:
    • Open Source
    A static site generator I've been enjoying lately (and using for my blog) is Metalsmith: https://metalsmith.io/ It feel like it's the best of both worlds, because it's simple to learn and customize, but there are plugins for the things you don't want to spend time writing yourself. For example, I'm using plugins to: check for broken links, generate an RSS feed, and run a test server with automatic reloading. But then I was able to easily add in my own code to handle relative links, generate Graphviz diagrams, and format dates. One other recommendation: I hated almost every template language I ran across (Hugo's, Liquid, Nunjucks, EJS), but I'm thrilled with the simplicity of Handlebars (https://handlebarsjs.com/), although it is a bit limiting and the "block helper with parameters" syntax is strange (perhaps an indicator that I'm trying to do too much in the templating language!).

    #Development #Javascript UI Libraries #Tool 58 social mentions

Discuss: Why I built my own static site generator

Log in or Post with