# A new, bespoke static site generator to replace Jekyll

DevFeed: [A new, bespoke static site generator to replace Jekyll](<https://devfeed.tech/articles/a-new-bespoke-static-site-generator-to-replace-jekyll-64652.md>)

Original publisher: [Read original article](<https://nullprogram.com/blog/2026/10/04/>)

Published: 2026-10-04T16:35:49Z

Content type: article

Language: en

Sources: [Chris Wellons](<https://devfeed.tech/sources/chris-wellons.md>)

Topics: [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>), [Jekyll](<https://devfeed.tech/topics/jekyll.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-plus-plus-20](<https://devfeed.tech/tags/c-plus-plus-20.md>), [cpp](<https://devfeed.tech/tags/cpp.md>), [generator](<https://devfeed.tech/tags/generator.md>), [github](<https://devfeed.tech/tags/github.md>), [jekyll](<https://devfeed.tech/tags/jekyll.md>), [meta](<https://devfeed.tech/tags/meta.md>), [performance](<https://devfeed.tech/tags/performance.md>), [static-site-generator](<https://devfeed.tech/tags/static-site-generator.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>), [templates](<https://devfeed.tech/tags/templates.md>)

## AI overview

After 15 years using Jekyll, the author replaced it with a custom static site generator written in C++20, designed specifically for their blog. The article describes its implementation, build and deployment workflow, performance, and the use of Claude Opus 5.5 to generate most of the code. The author reports that the model produced code matching their coding style, with two follow-up fixes during review.

## Source excerpt

My blog began as a blosxom (Perl) site running on a VPS. In 2011 I moved to the new GitHub Pages, with the site generated statically by Jekyll (Ruby) on a GitHub server. It was a no-brainer: easier, faster, and cheaper, better in every way. After 15 years of Jekyll, this week I replaced it with a new, custom-built static site generator, dubbed ssg, in "C with templates" C++20. The ~8KLoC source closely follows my personal coding style including templated arenas and slices, zero dependencies, and a libc-free core. It's wicked fast, and a complete, cold generation of my blog takes 150ms on my MacBook. That is, it's done before Ruby would even reach Jekyll's entry point. It's a been a great, real-world demonstration of the effectiveness of my coding philosophy. Look around and you'll find almost nothing visually changed. Outside of syntax highlighting, the HTML is semantically identical. I did not try to match Rouge's syntax highlighting, just its CSS selectors so that I could use my style sheet unmodified. With that in my own hands, I now get syntax highlighting that better suits my needs, some Rouge bugs gone and support for new languages, particularly assembly (WAT, AT&T, Aarch64) and QBasic. Because ssg only supports my site, and its source lives along side it, I don't need a template system, i.e. Liquid. I can modify the C++ source as needed. So the upgrade was three steps: (1) fix 19 years of accumulated site bugs that Jekyll quietly tolerated, (2) add the new generator, (3) delete Liquid templates and pre-generated tag pages (now dynamically generated, with preservation of original feed UUIDs). Jekyll and ssg both work simultaneously at step #2, allowing side-by-side comparisons from the same site source. This is where most of the time was spent. Dropping templates means performance comparisons with Jekyll are unfair, as Jekyll is solving a different problem. (But I think it's fair to speculate that ssg with Liquid templates would still smoke Jekyll!) Historical