Hacı Mert Gökhan

Writing·Note

I rewrote this site in Rust

From a Next.js page full of 3D particles to a quiet, server-rendered Rust app. Why, and how.

The previous version of this site was full of 3D particles that morphed as you scrolled. It looked nice, but nobody could actually read what I do. While rewriting it I kept asking one question: what should someone see in their first five seconds here?

The answer was simple: what I do, what I've built and how to reach me.

Why Rust?

The site is now written with Topcoat, a Rust web framework that renders HTML on the server. Components are async functions and their props are type-checked, so a typo shows up in the compiler instead of the browser.

For the interface I wrote a small component library of my own, structui. Every colour is a CSS variable, so the same components look like warm paper here and like a black terminal in another project.

Writing should be easy

The biggest change is this post itself: I now write in Markdown from the site's admin panel instead of opening code. I took its security seriously — passwords are hashed with argon2, repeated failed logins get locked out, and every form carries a CSRF token.

Less motion

I didn't remove motion, I put it where it belongs: smooth scrolling and sections that ease in as they appear. Both switch off if you prefer reduced motion.

The source is on GitHub.

More writing

  1. A virtual server panel for TREAS, from scratchProject
  2. Zeslee: someone is always there to pick upProject
  3. Denis: why I wrote my own databaseProject
  4. Arcus Labs: a system for every jobProject