Well, I finally did it. I used codex to build this blog site from scratch and was really impressed with how well it worked. This literally took me a couple hours. Yes, it's not fancy, but then again, I did not need it to be.

A few new features I had Codex add.
- Accessibility improvements (aria-labels, roles, etc)
- Dark mode toggle (which actually works and remembers your preference)
- Infinite scroll with IntersectionObserver
- Search functionality that filters posts by title and content
- Category and topic filters

The search is especially interesting. I long prompted the concept with some ideas on how client side javascript could make it work so I did not need anything fancy on the back end and codex took care of the rest!!!

Here is the Codex option that I ended up selecting.

Simple runtime indexing (recommended first)
On page load:
fetch data/posts.json
fetch each posts/*.html
strip HTML to plain text (DOMParser + textContent)
build an in-memory index: {title, date, category, topics, bodyText}
On search input:
debounce (150–250ms)
filter posts where query matches title/body/topics
show/hide existing post cards (or rebuild filtered list)
Why this is good:

No backend needed
No post format changes
Minimal code and easy to maintain


The javaScript code it generated for this is pretty straightforward and easy to understand and as I'm probably too time constrained to build this any other way, this ended up being a pretty cool experience!