I rebuilt tomitaku.net
I have rebuilt tomitaku.net. It is a blog I started in 2009, and it had not been updated for about eight years, since 2018.
With the rebuild, I decided to bring in a personal encyclopedia I had been writing separately since this autumn, and to keep it here alongside the blog. It is a collection of words that caught my interest, each looked up and written down as an entry of its own. A blog is a record that piles up over time; an encyclopedia is a record of words connecting to one another. I wanted to try handling these two different kinds of record in one place.
It started with PHP2shell
What set it off was PHP2shell, a pair of PHP vulnerabilities disclosed in October 2026 (CVE-2026-109618 and CVE-2026-109619). They were serious enough to allow arbitrary code to be executed remotely, and they made the news in a big way. The blog ran on WordPress, so updating PHP could not be avoided. But rather than keep alive a site I had not touched in eight years, I judged it better to take the chance to rebuild it.
If I was rebuilding, there was no reason not to use AI. I had also wanted for some time to move away from the way WordPress works, running PHP on the server to build each page on every request. With no program running on the server, there should be less room for attack, and pages should load faster. So I decided to adopt an approach that writes out HTML from source files such as Markdown each time something is updated, and serves the results as static files (SSG). And if the work itself could be left to AI, perhaps there was no need for a CMS to update the site either. The current form is what came out of working through these ideas with Claude.
Keeping the encyclopedia as text at hand
At the centre of the new site is the encyclopedia I mentioned above. Its entries are words that caught my attention in the course of everyday life. Take the circular diversion works: a structure for dividing irrigation water accurately into fixed shares, which pushes water up from the centre of a cylinder and splits it by the angles of partitions around its rim. Because the division can be seen, it has also served to settle disputes over water. Others include PEBCAK and dazzle camouflage; the fields are all over the place.
If all you want is the meaning of a word, Wikipedia will do. I write my own because a record of which words interested me, and what I connected them to, is not kept anywhere else. As I add to that record one entry at a time, I think the outline of where my interests lie will gradually come into view.
The entries are written as Markdown files on my own machine, and the site carries the ones set aside for publishing. Text can be read by AI as it is. If Claude Code is told to consult this encyclopedia, it searches for the entries it needs and reads them as it answers. It is close to a RAG setup, and it lets a conversation start from my interests and way of seeing things without my having to explain them.
Not arranged by date
The front page has no list of the newest posts. What it shows is a single paragraph written to link several entries together, and when you finish reading, links to the entries it touched on appear below.
For an encyclopedia, an entry's connections to other entries mean more than the date it was written. Arrange entries by date and the older ones get buried; make the connections the way in, and an entry from any time can be reached just as easily.
This is close to what is called a digital garden. In a 2015 talk, Mike Caulfield, a researcher in digital literacy, called the web that flows by in time order the "stream", and the web that is tended and grown the "garden". The front page of this site follows the latter.
The paragraphs on the front page were drafted by Claude after reading the entries, and edited by me. They could be generated on each visit, but that costs money and time, so what you see was written in advance.
Making it with AI
On WordPress I wrote posts from an admin screen; the new site has none. Writing and fixing alike come down to editing a text file and pushing it to Git.
Most of the actual work is done by Claude Code. I do not write code myself, and I had barely used GitHub. The script that generates the HTML and the migration from WordPress were both written by Claude Code. My part was to put into words what I wanted, check what came back, and say it again. It was that back-and-forth.
The encyclopedia entries, too, are researched and written together with Claude. Sources consulted are always listed; anything that cannot be confirmed is left marked "To verify". These rules are kept in a Claude Code skill (a file describing how to do the work).
How the site is put together
Finally, a brief outline of how the site is built.

The encyclopedia's source lives in a private GitHub repository. Because it also holds personal notes that are not published, it is kept separate from the site's repository. When something changes in the publishing folder, GitHub Actions runs and syncs only that folder's contents to the site. On my own machine, I use Obsidian as a viewer.
The HTML is generated by a script of about 400 lines, written using only the standard features of Node.js, with no dependence on outside libraries. That way, even if the site goes untouched for a few years, it will not be chasing library updates. PHP2shell drove home how much of a burden that can be.
The generated files are served statically from Cloudflare, with no server-side program and no database. Related entries are worked out mechanically from the similarity of the text (TF-IDF). The old blog posts were exported from WordPress and converted to Markdown; they keep their post numbers, and the old URLs redirect to the new ones.
Having built it
What surprised me was that the structure I had pictured at the start came out almost exactly as planned. Someone who cannot write code and was new to GitHub managed, with a great deal of help from AI, to put together the system he had in mind. Getting it to work took less than a day.
I will keep adding to the encyclopedia little by little. As for the blog, I plan to write now and then about the things I am interested in.
References
- Similar
- Chainguard
- Devine Lu Linvega
- ENIAC
- PPAP
- REA
- RockYou.txt
- Sketchpad
- Stand Alone Complex
- Zettelkasten
- Andy Matuschak
- Beinecke MS 408
- Edsger Dijkstra
- Jeremy Keith
- Joseph Popp
- Security theater
- Zero-knowledge proof
- Design Harness
- Digital garden
- Byzantine Generals Problem
- Bit Valley
- Buddha's ear illusion
- No brown M&M's clause
- Circular diversion works
- Red Star OS