Notes

One Go binary for a whole site

I moved this site off WordPress. The pages are now built with Astro and embedded in a single Go binary, which also serves the contact form and the AI assistant.

What I gained: no database, no PHP, no plugin updates. The container runs read-only as a non-root user and the image is about 50 MB. The 68 old WordPress addresses redirect to their new pages, so existing links keep working.

What I gave up: an editor in the browser. Writing is now a Markdown file and a deploy, which I prefer anyway.

GoSelf-hosting