Vibe coding in Hugo

Anyone using AI to write Hugo code? I have used Grok AI before, but Claude AI is much better with Hugo templates. It has saved me the effort of posting multiple questions in this forum. Most of the vibe code is custom features such as search, generating images with dict and manipulating JSON data.

I don’t do ā€œvibe codingā€ (spit!), I treat AI for what it is: an expert system often not terribly accurate, depending on the topic. As you said, it’s very useful to piss code with a simple, straightforward logic you understand and can layout out well.
And yet even for that I usually have to nudge it several times to get to the best solution. Meaning, everything I ask, I could very well do it myself but can’t be arsed because I’m not that kind of autist.

2 Likes

I’ve used it for a few projects - including creating a custom theme, a self-hosted search tool, a self-hosted comments management tool, some shortcodes etc. I used Claude Code to build a standalone Mac app for processing image files exported from Photos and making markdown files for photo posts (including Claude-generated alt-text and tags as a starting point). I’ve written up some of my vibecoding experiments - some Hugo, some Obsidian, some standalone.

Here’s the ā€˜vibecoding’ tag of posts on my blog: Vibecoding - D'Arcy Norman, PhD

and a list of LLM projects: Generative AI Projects - D'Arcy Norman, PhD

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

I just used Claude Code to add a better mobile menu to the Hugo docs theme, and I’m pretty impressed. Claude showed no hesitation in using any of the involved tech, including Hugo. It took a few short iterations to get it just right:

1 Like