Moving from WordPress to Jekyll (and static site generators in general) (demandsphere.com)

by rgrieselhuber 56 comments 97 points
Read article View on HN

56 comments

[−] jillesvangurp 35d ago
I've been using ai coding tools in the last few months with static site generators. This is hugely empowering and completely obsoletes most CMS systems. Especially for more complex publication workflows.

I'm using hugo, not jekyll. But I don't think it matters which site generator you pick. The key point is using something that is code driven. And then have AI drive the code changes. Basically all routine site maintenance and updates is now controlled via agentic coding.

We use guard rails and skills to impose structure and process. This includes tone checks (and fixing), making sure audio transcriptions are in sync with articles, ensuring everything is tagged correctly, dealing with translations and approved lists of translations of key phrases, SEO checks and much more. I've been dialing in a lot of this in steps. You can start without most of this. But essentially a lot of manual work melts away when you get a bit structured on this. Like the article, we also use vector search embeddings. Our search actually uses the same model and runs it in the browser via web GPU. I also use it for related articles.

Also we've been experimenting with using reveal.js for presentations. Same principle. Forget things like Keynote, Canva, etc. Reveal.js is meant for programmers. But if you replace those with agents, non technical people can prompt together some really amazing decks. Replacing applications and UIs with code driven systems removes the need for those applications and UIs. And using AI to drive those code based systems removes the need for having developers in the loop. Our non programmer CEO who was a heavy Canva user is now doing decks and huge website updates this way now. Pretty scary actually. I don't think he'll use Canva again. I'm barely involved beyond setting up some basic plumbing. One party trick he likes is adapting decks to customers by integrating their house colors and visuals. Only takes pointing the AI at their website.

https://querylight.tryformation.com/ is a hugo demo site for the search capabilities. It hosts the documentation for the vector (and lexical) search library I use on our websites. The entire documentation site is managed as I describe above.

[−] mickael-kerjean 35d ago

> This is hugely empowering and completely obsoletes most CMS systems.

I went the other direction: instead of replacing the CMS, I open sourced a FUSE like layer [1] that mounts any backoffice system as a filesystem while the source of truth is in WordPress, Mysql, Postgres, .... Most backoffice systems map naturally to a file tree, so you mount them locally and let your agent read and write through that.

In the POC I ran, I mapped a whole wordpress site as a fs which was versioned controlled via git so when you did a git checkout of something, the whole db would get updated on the fly

[1] https://github.com/mickael-kerjean/filestash

[−] yoz-y 35d ago
Literally yesterday I was thinking of writing a FUSE layer to expose email as a folder structure, in Go.

From a glance at you documentation I take it that I could just write a plugin for filestash ?

[−] mickael-kerjean 35d ago
[−] yoz-y 35d ago
Perfect. I’ll have fun with this.
[−] ThisNameIsTaken 35d ago
Like Maildir? Many mail clients support that format already.
[−] yoz-y 35d ago
Yes. From experience productivity tools are never good because either:

1. They are simplistic 2. They are too complex

If I want to get anything done I want to build my own system where nobody else has a say in how the thing should behave.

I’ve build my own workout app and journaling system because after trying a trillion none of them fit me.

Today it’s easy to build tailor made programs quickly so I’d rather use something I control end to end.

[−] jbverschoor 35d ago
Or just run BeOS
[−] fsloth 35d ago
This is super interesting! Thanks for sharing. I’m wondering myself how to put up a site with usual product stuff, blog and manual.

The blog is running already on hugo on full llm automation but I had though it would not work for documentation (this is for non-techies so want something more product-manual -like and less SDK-docs flavour) or landing page that well.

So this is you company’s site and it’s on Hugo? https://formationxyz.com/

[−] pdyc 35d ago
wow that looks beautiful. I want to migrate my hugo site to astro because astro is easier to manage and more friendly to local llm's than hugo but postponing it.
[−] Brajeshwar 35d ago
I did with mine too in 2021. Mine was 1000+ articles with even more comments. Luckily for me, I’ve already closed the comments. So, had to just throw them away. For the search, I tried Algolia but hit the limit. I’m with https://pagefind.app for now.

I wrote about my journey from WordPress to Jekyll at https://brajeshwar.com/2021/brajeshwar.com-2021/

[−] oliwarner 35d ago
I can't imagine picking Jekyll today.

I moved to Hugo after years of suffering long builds. Jekyll's stack complexity meant CI/CD was hard to implement and it just wasn't that fast. Hugo wasn't just fast, it had everything baked in. The only problem (back then) was the lack of useful feedback. It'd just build omitting half the site.

Now I use Astro. Simple to understand, none of the dark magicks that Hugo relies on to work, and Quick Enough™. It's well supported and it integrates with all the frontend/design tools I was already using.

Pagefind is stupidly easy to integrate. And it's what you probably ought to be using whatever your SSG. https://github.com/shishkin/astro-pagefind

[−] donohoe 36d ago
I don’t get it. Their setup is so much more complicated and limiting than what they had on Wordpress.

I won’t argue with their reasons to move (which don’t stack up for me either but agree to disagree).

[−] alwillis 36d ago
Been on the Jekyll bandwagon for a long time now; it's my go-to static site generator.
[−] AlienRobot 35d ago
I feel this article is more about all the tools they built with AI than about moving to Jekyll. None of these tools required the move in first place, since they could have literally just dumped the DB.
[−] brokegrammer 35d ago
Wordpress is better because it's easy to setup these days, can be fast if you enable caching, and has a comment system, which is a big deal if you want people to interact with your content. Other things like contact forms can easily be added. The CMS is also amazing.

With SSGs, you have a few options for comments, like Disqus, but the ad-free version costs money, it's slower because it needs to load JS, and your comments are owned by a third party company. Contacts forms can be built by integrating an external API. And anything else that requires storing data will require an integration with a third party service of some sort.

SSGs are a great concept but they're mostly for nerds who get boners by seeing over-engineered systems. They're also great for companies like Cloudflare because they can sell you services that come for free with Wordpress (CMS, image uploads, databases, workers, etc). For serious blogging, I'd opt for Wordpress.

[−] mc007 36d ago
interesting, we went from classic CMS to Jekyll, then Hugo, then Astro and finally built our own CMS - for larger sets of content and sites. Fiddling with custom DSLs, templates, weird builds and tricks ... was just way too time consuming - unthinkable my wife would ever touch it or write an article in there :)

Have a look at https://service.polymech.info/user/cgo/pages/poolypress-cms, agentic CMS, translates, creates and manages articles with a few prompts, widget aware.

[−] gmays 35d ago
I didn't want to hassle with migrating my WordPress blog, so now just deploy it to Github > Cloudflare Pages so it's served statically (fast + secure). It's free too, wrote a blog post on it a couple years back: https://gmays.com/how-to-host-wordpress-sites-free/

But these days any new site I build is on NextJS since coding agents make it a breeze.

[−] rmoriz 36d ago
I have a legacy WP blog that I wanted to migrate to some static architecture for ages but IMHO users should be able to comment and maybe even post a pingback. I know, old MT days. But social media is always about getting (positive) comments and feedback, not just dropping statements and knowledge.

I also don't want to tie my site to disqus or other 3rd party cloud services and their implication on GDPR.

[−] pseudosavant 36d ago
I recently retired my Wordpress blog and replaced it with a static-site generator. My requirements were straight-forward and I ended up having Codex build it for me.

It was the last thing using MySQL, PHP, and Wordpress on my site. 3 big things to not have to keep up-to-date and secured. I can check in markdown to my repo, it builds the site, and Nginx serves it. So fast, and secure.

[−] janvdberg 35d ago
Side-note, for those interested, I want to point out a new CMS: https://pureblog.org/ Not a SSG in the strict sense, but it generates md files and serves those on the fly.

There is a WordPress migrate-tool that worked flawlessly.

[−] sumanep 35d ago
Well, I migrates from wordpress to... Google Sites recently so...
[−] winddude 35d ago
I did something similar, but killed my old WP blog. played around with 11ty, sveltekit, i eventually settled on hugo.
[−] oriettaxx 35d ago
I really have the feeling many, like us, will finally make it to abandon Wordpress thanks to AI
[−] purplehat_ 36d ago
what's the advantage of a static site generator over pandoc + makefile?
[−] KaiShips 36d ago
[flagged]