▲ | raffraffraff 4 days ago | |
I created a static site generator for my wife's business using go + js + git. She has no tech skills whatsoever, but had very specific ideas about how the website should work. Once the basic functionality was worked out in js (with a simple JSON schema and Lourm Ipsum text), I created a Samba share on the network, mapped it to her computer. Her first post was an edit of the Lorum Ipsum markdown and some new images, and from then on she had a pattern to follow: add a directory with a markdown file and assets. The NAS runs a Go program that generates a JSON file for the static site js, starts a http server for testing. She can access the http server over the network to preview the static site. If it's ok, she can trigger a git commit and push (with a click). She didn't have to learn anything (like Hugo or jinja), because markdown is kinda obvious. She has exactly the website she wants. Of course, I had more work to do initially, coming up with the static site, the JSON schema and the go generator, but it was over a week of evenings. She's been happily adding to it regularly without my interaction. And this, my friends, is why I (a mere DevOps / Cloud guy) "vibe code" with Claude. | ||
▲ | hk1337 4 days ago | parent | next [-] | |
That’s really cool for you but for your wife, I would find something simpler. What happens if you’re not around and that all breaks and she cannot get content published? At the very least, assuming you want to keep it somewhat techy, I would setup a repository with a Hugo config, theme pulled in as a module, with ci to auto deploy it. Make it so the repository is just her markdown content, some css/js overrides if needed, and a hugo.toml. Or just setup a Wordpress or similar site for her | ||
▲ | skylurk 4 days ago | parent | prev [-] | |
This sounds exactly like how I use Hugo. It's sweet that you made your own thing! But if you ever end up wanting to use a prebuilt Hugo theme, I bet it would be super easy to switch over. |