Week 47: EmDash

J.Gong

2026-11-28

3.61min

I think you can’t guess where I am while writing this post. Right now I’m sitting in my bathroom. This is my second time writing this post. The first time, my browser crashed and I lost everything, so this time I decided not to type. I recorded my voice and transcribed it into text.

So why am I in the bathroom? If you check my podcast from the last few weeks, you will see I was sick for about a month. It’s hard for me to talk for long, because I got a bad cold. I had an important meeting in Helsinki, so I went there. I recovered a little, but after I came back, the cold got worse. At first I thought it was because of the trip. Then I thought it was the weather, because it is winter in Estonia and I don’t get enough vitamins. I also tried a humidifier to make the air in the room better. Still, my recovery was very slow.

Yesterday I found out the real problem. My apartment costs 600 EUR a month, and it was too cold. At first I thought the cold feeling came from my illness. Then I found that the bathroom has heating under the floor. The bathroom is much warmer than my room, and my room has a heater that doesn’t really heat it up. So this morning I tried sleeping in the bathroom, and I got very good sleep for a few hours. After that, I decided to work here.

What I did last week

OK, let’s talk about the post. In the last few days, I rebuilt my blog site on EmDash.

EmDash is a content management system (CMS) built on Astro. It has a lot of plugins and it supports Web MCP. I like the Astro community because it supports a lot of advanced stuff.

Why EmDash

This is a long story. If you check my source code, you will see my website was built with Astro as a static site. So it is easy to move an Astro static site to an Astro-based CMS.

The website used to be built with Strapi, which is a headless CMS. I used it to manage the content. At some point I changed my mind. After a lot of content was published, I felt there were too many things to maintain, and the editor didn’t fit what I wanted. I even updated to the latest editor and put the VS Code Monaco editor into the admin system, but I still didn’t like it.

You can see why I’m transcribing this from voice. I just finished writing this post in the browser, then it crashed and everything was lost. This used to happen in Strapi too. That was about 2016, almost ten years ago, and I still have the same problem.

Back then I moved the website to a Markdown static site generator. That was too much to maintain. Now I have a home machine and a lot of AI tools, so I think it’s a good time to put the documents on a central server. It is also good for analysis of my documents. For example, I have a UMAP feature that shows a map of my posts. It needs embeddings of each post. Every time I published a post, I had to run the embedding myself. I still have to do it now, but it runs automatically online. This was my core reason for using EmDash.

How I built it

How did I do it? This part was exciting for me, because I have always wanted to use Linear in production. I tried it with people, but it depends on who is using it. So I used Linear with AI agents, and that works pretty well.

I told the AI agent what I wanted: move the old Astro website to EmDash, but keep my frontend and use EmDash only as a headless CMS. The result is a CQRS architecture. I learned this from the book Learning Domain-Driven Design.

I gave my requirements to Claude, and Claude generated all the tickets. I checked each ticket. If a ticket was good, I asked Claude to create a sub-agent to work on it. At the start there were only about 40 tickets, not many. In the end, 119 tickets were finished. For comparison, I usually do about 25 tickets by hand in a week.

There are still a lot of bugs, I have to say, but the website is usable.

What readers will notice

How does it feel to readers? I don’t think they will see any difference between the old website and the new one.

One thing did change. In the old URL there was a category between the date and the slug. I designed that when I was learning RESTful APIs, and the site was built with Jekyll back then, around 2016. Looking at it now, it was a bad design. Many posts belong to several categories, but I could only use one. So I removed the category from the URL and added a 301 redirect. For readers, almost nothing changed.

What changed for me

For me, I now have an admin system. I used to manage all the posts with the VS Code editor, offline. I can still do that, but now I can also manage posts in the browser or on my phone.

Problems I ran into

One thing frustrated me. EmDash says the system can run on Cloudflare Workers, and that is possible. But Workers bills by CPU time in milliseconds. I have about a thousand posts, and running the admin API would cost 5 to 15 ms each time. I didn’t want to pay for that, so I moved the server to Altare.

Altare is a startup in Stockholm, so sometimes it crashes. I don’t know if it’s the server, because the web editor itself is terrible. When it crashed, my post was lost. I still have to do the posts locally.

Where everything runs now

I’m pretty happy with it. I implemented the system as a CQRS version. The readers who read the pages are served from Cloudflare, deployed all around the world. All the data is stored in Supabase in Singapore. The management system is deployed in Stockholm. So it’s a global setup.

OK, that’s all about the system.