HEYHEY Is BACK!
Yes, HEYHEY was rewritten from scratch. Yes, mostly by AI.
Gürgün Dayıoğlu4 min readEveryone is busy rewriting software these days. A recent example would be the famous TypeScript compiler— first in Go, then in Rust, then again in Rust, then back in TypeScript*. And indeed, every iteration resulted in significant performance improvements while passing the same conformance tests.
I found this pretty crazy to be honest. Things previously considered practically impossible can now be built in a matter of days by teams of one or two engineers.
While most of my spare time is spent working on open-source projects such as Node.js and Fastify, I knew HEYHEY was starting to show its age, so I finally decided to build it from scratch in a weekend.
HEYHEY is mostly two things: a simple link-in-bio tool that I'd want to use myself, and a way for me to learn about upcoming software trends, experience building a feature-complete product end-to-end, and then deal with maintaining it. In other words, your usual SaaS.

Now, maintainability and LLMs aren’t usually mentioned in the same breath. They have a tendency to make complexity spiral out of control if a human doesn't steer them in a direction from time to time. However, we've learned that putting more trust in them is possible through better models, workflows, and technologies.
This post will focus on the last part. Technologies that allow for the most efficiency while making it easy for a human to occasionally step in.
The Tech Stack
Originally, HEYHEY's stack was the following: Node.js, Fastify, Tailwind CSS, and Alpine.js. It might seem odd today, but this was the pre-LLM era and so I wanted to keep things as simple as possible. I was also really turned off by the state of build tools in the web dev ecosystem. Therefore I mostly used server-side rendering— also for SEO— and sprinkled in some JS when needed. But I was always an admirer of what React promised.
In 2026 however, we have much, much, better tooling thanks to Vite, Oxc, TanStack, etc. This time I was ready (with Claude/Codex) to jump in and use the best stuff available.

Cloudflare Workers
It might sound weird coming from a Node.js collaborator, but I love Workers! I think Cloudflare positioned it really well after ironing out most compatibility issues. It uses V8, the engine that runs your JavaScript code, to its fullest potential, has a great security model, and is open-source!
I have no worries about a future where Node.js and Workers coexist peacefully, pushing each other forward on standards, features, and performance.
Not gonna lie, Cloudflare's products are dirt cheap as well. Not complaining!
Just be careful of the limitations. For instance, it allows you to have 6 simultaneous open connections at most during the lifecycle of a request. Very easy to miss and shoot yourself in the foot.
TanStack Start
Another departure from my roots. Instead of Fastify, I chose to go all in on full-stack React.
Now don’t get me wrong. Fastify is still the fastest framework for Node.js with the best possible DX. But the AI rewriters have a point here: anything Fastify/Node.js does can be replaced with Rust, Go, or [YOUR_FASTER_LANG]. On a pure backend, the only advantage JavaScript has left is the ecosystem. And long live the ecosystem. ORMs like Drizzle and libraries like Better Auth are truly one of a kind.
What can’t be easily replaced, and matters more than ever, are full-stack frameworks that let you generate HTML on the server and hydrate it on the client. Being able to do that is key to having a great website in 2026.
People vastly underestimate the power of having JavaScript run on both the client and the server. Immediate type feedback that can’t drift, isomorphic functions, the same mental model in every environment... These are huge benefits that even AI would have a hard time replacing.
That’s pretty much why I chose TanStack Start. On top of all that, it has an amazing type system that helps agents write better code. I could write a whole post about it (spoiler?).
The same logic applies to mobile. If you’re on X, you’ve probably seen people migrating React Native apps to Swift or Kotlin, backends included. In my contrarian nature, I’m doubling down on React Native.
In this case, the killer feature is OTA updates. Imagine your users running 120 different versions of your app against your servers. Now imagine the app stores making you wait two weeks to ship a crucial fix. OTA updates solve a big chunk of that, and I'm sorry but superintelligence will be powerless against Apple.
Drizzle
If you know SQL, you already know Drizzle. That’s the whole pitch.
Schemas are plain TypeScript, queries look like the SQL they generate, and the types flow all the way from tables to React components. There’s no magic query engine and no codegen step to forget. When something is slow, you know exactly which query is running.
It’s equally great for agents.
Better Auth
Auth is something I gave up on building myself, probably for the better. Better Auth just works. Better Auth has hooks. Better Auth has a huge plugin ecosystem. Obvious choice.
Better Result
Exceptions suck. TypeScript hates them as much as I do. Better Result fixes that with a simple Result<T, E> type. Errors become part of the contract and TypeScript makes sure you handle them.
I know what you’re thinking. Why not Effect? Effect is impressive. But I prefer Better Result, for... reasons...
That's the main stack.
Nearly everything else is custom code. Why install a FIFO package when AI can one-shot it with ease? The supply chain risk is not worth it. I'll go into more detail about the technical challenges of maintaining HEYHEY in the age of bots in a future post.
That's HEYHEY 2.0: a link-in-bio tool I actually want to use, rebuilt in a weekend and built to last. Grab your page at heyhey.bio, break it, and tell me what sucks. We'll be shipping a lot of features in the coming weeks.
