Chapter 5. Bye, JSON editor đź‘‹
In March I said bye to WordPress and built this site out of JSON files. The whole blog was one file. Then I built an editor for writing entries into that file, and wrote a chapter about the editor using the editor. Peak Inception.
It was fast and fun. It was also quietly bad at one thing.
Every chapter lived inside that one file and only turned into a page after your browser ran some JavaScript. You never noticed. Search engines did: to them, every chapter looked like the same empty page.
That bothered me more than I expected, because this site has a second job now. It's where everything I build comes together: Paukku.app, Konekellari, and soon my own company's site. When this site links to them, I want those links to count.
So the site got rebuilt again, this time only underneath:
- The code lives on GitHub, and Vercel publishes it whenever something changes. No more FTP.
- Every chapter is its own Markdown file.
- A small build script, written for this site and nothing else, turns those files into finished pages. Every chapter has a real address now, like this one.
- The JSON editor is retired. It did exactly what I needed for exactly as long as I needed it.
Claude did most of the typing again, same as last time.
The design didn't change at all, and that was the point. If you didn't notice anything, it worked.