Building My Digital Twin

I'd wanted a personal site for a while. Something I own and host myself, outside any platform. This is how it came together.

Why bother

I graduated from Bucknell, I work at an auto insurer, and I wanted a place to think out loud while I figure out what comes next. I also want something to look back on in 10 or 20 years, to see how my thinking changed and maybe laugh at myself a little.

The stack

I stuck with what I knew:

No database, no CMS, no auth. Posts are .mdx files in the repo, and the content system is one TypeScript file that reads the filesystem.

How I built it

I didn't write the code. I sketched the design, made the content and design decisions, and had AI write the TypeScript, components and CSS.

It started in a paper notebook: layout, sections, navigation. I wanted it clean and easy to read, and used leerob's website as a reference.

Around then I found Daniel Miessler's PAI architecture, a personal AI setup built on Claude Code. I'd been using it for about a month. A few of its skills helped with planning. Council had several AI perspectives debate whether to build a digital garden or a regular blog (I ended up with a mix). BeCreative threw out homepage ideas. RedTeam picked apart my first plans.

Then I built it one feature at a time, each on its own branch and PR. From the repo:

  1. Project scaffold
  2. Design foundation (colors, typography, MDX styling)
  3. Navigation and footer
  4. Home page
  5. About page
  6. Blog system
  7. Links page
  8. SEO (sitemap, robots, OG images, 404)
  9. Deploy
  10. Content restructure to next-mdx-remote with remark-gfm
  11. Interactive bookshelf
  12. 3D bookshelf redesign

Greptile as a check

Since I wasn't writing the code, I needed something to catch what I'd miss reading diffs. Greptile reviews each PR and scores it, and my rule was that nothing merged without a 5/5.

It found real bugs. On PR #4 (the home page) it flagged three I would have missed:

On PR #12 it caught a missing data-book attribute that would have broken focus restoration on the bookshelf, plus some duplicated utility functions.

A bit of code

The homepage taglines type and delete themselves with a small state machine:

const taglines = [
  "building things on the internet",
  "figuring it out as I go",
  "nerd in training",
  "runner, wrestler, builder",
  "chasing the next PR",
  "shipping my digital twin",
];

export function TypewriterRotator() {
  const [display, setDisplay] = useState("");
  const phase = useRef<"typing" | "pausing" | "deleting" | "waiting">("typing");
  const index = useRef(0);
  const charPos = useRef(0);

  useEffect(() => {
    let timeout: ReturnType<typeof setTimeout>;
    function step() {
      const current = taglines[index.current];
      switch (phase.current) {
        case "typing":
          charPos.current++;
          setDisplay(current.slice(0, charPos.current));
          if (charPos.current >= current.length) {
            phase.current = "pausing";
            timeout = setTimeout(step, 2000);
          } else {
            timeout = setTimeout(step, 60 + Math.random() * 40);
          }
          break;
        // ... delete, wait, cycle to next
      }
    }
    timeout = setTimeout(step, 500);
    return () => clearTimeout(timeout);
  }, []);

  return (
    <span className="text-secondary">
      {display}
      <span className="animate-pulse text-accent">|</span>
    </span>
  );
}

The random delay between keystrokes makes it feel a little more like a person typing.

The blog engine is lib/content.ts. It reads .mdx files, parses frontmatter, and sorts by date. A new post is just a new file in content/blog/.

What I took away

Deciding what I wanted took longer than building it. Once AI writes the code, knowing what you want becomes the slow part.

Automated review mattered more than I expected. I wouldn't have caught the timezone, sorting or colon bugs on my own.

I didn't write the code and I don't want to pretend I did. I did make the decisions about what the site should be.

Version one was 9 PRs. Then I restructured the content system and redesigned the bookshelf twice. I expect to keep changing it.

Next

More writing, a projects section, a place for rougher notes, and maybe an RSS feed. The code is at github.com/MaxHarar/PersonalWebsite, with Greptile's reviews on each PR.