iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🗒️

Rebuilding My Personal Tech Blog with Astro for Blazing-Fast Performance

に公開

I Created a Blazing Fast Personal Tech Blog

I have rebuilt my personal tech blog.

This time, I aimed for a blog that is as simple as possible, as fast as possible, and easy to maintain in the long run.

You can find the blog here:

https://engineer-blog.tomoki-ttttt.workers.dev

Why I Built It

I had always wanted a place to write technical articles and records of my personal projects, but my previous setup felt a bit over-engineered.

Even though it was a personal blog, I had spent too much time building it like an app, with unnecessary features and animations, until I gradually started questioning, "Do I really need all of this?"

So, I rebuilt it by stripping it down to only what a blog truly needs.

Here are my priorities:

  • Fast loading speeds
  • Readability
  • Easy to keep writing
  • Reliability (Hard to break)
  • Avoiding unnecessary JavaScript

I believe a personal blog doesn't necessarily need to be a rich web application.

First and foremost, the content should be readable immediately. It should run smoothly on smartphones. And it should be easy for me to keep writing content.

I focused on those aspects this time.

Tech Stack

The main tech stack is as follows:

Item Technology
Framework Astro
Styling Tailwind CSS
Language TypeScript
Content Management Markdown / Content Collections
Lint / Format Biome
Deployment Cloudflare Workers Static Assets

I chose Astro because it is a great fit for static blogs.

For most article pages, plain HTML and CSS are basically sufficient. Astro's approach of adding JavaScript only where it is needed aligned perfectly with my goals for this project.

For deployment, I chose Cloudflare Workers Static Assets. Since it allows serving static sites from the edge, I think it is an ideal setup for a lightweight personal blog.

A Bit of Philosophy

My theme for this project, broadly speaking, is "Don't make your blog too much of an app."

The modern frontend ecosystem can do almost anything. However, for a personal blog, I believe what matters more than elaborate UI is readability, speed, and sustainability.

Of course, animations and smooth page transitions are nice. But this time, I focused on building a fast, "raw" web foundation first.

I have written more about my design philosophy and considerations regarding performance on my personal blog.

https://engineer-blog.tomoki-ttttt.workers.dev/articles/about-this-blog/

What I Plan to Write About

On this blog, I plan to write about personal development, frontend engineering, performance optimization, and development using AI.

I intend to continue writing polished technical articles here on Zenn, while using my personal blog to document more rough trial-and-error processes and design notes.

If you're interested, please feel free to check it out.

https://engineer-blog.tomoki-ttttt.workers.dev


Update

I have published the source code on GitHub.

Please take a look at that as well.

https://github.com/tomoki013/tech-blog

Discussion