Skip to content

Why I Switched My Blog Framework from Jekyll to Astro

Published:

I recently gave my website a new look by switching from Jekyll to Astro as my static site generator.

Jekyll and Astro logos

Jekyll vs Astro (source)

Table of Contents

Open Table of Contents

The Need for Change

Jekyll, a site generator in Ruby and the engine behind GitHub pages, has served me well these past 14 months and has been perfectly sufficient to my needs. However, I got that developers itch and fancied a change.

Several factors prompted my switch:

I still highly recommend using Jekyll + GitHub pages for those looking to start a personal site. This video is a great tutorial to get started that I wish I had, would’ve saved a few headaches.

Exploring Static Site Generator Options

There are many static site generators for developers to choose from. I researched the most popular frameworks and found these contenders:

Each have their own strengths, but Astro resonated with me the most as it struck the right balance between being feature-rich, flexible and simple.

Why Astro Emerged as the Top Choice

After careful consideration, Astro stood out as the clear winner, despite being a relatively new player in the field. Launched in August 2022, Astro has quickly gained traction in the developer community, and for good reason. Its innovative approach to building websites addresses many of the pain points developers face with traditional frameworks.

Image of different Javascript frameworks

Popular Javascript frameworks

What sets Astro apart is not just its feature set, but its philosophy of providing powerful capabilities while maintaining simplicity and performance. This balance of power and efficiency made it an attractive choice for my blog redesign.

Here’s why Astro became the top choice:

Site Improvements Post-Switch

With Astro’s flexible framework and powerful features, I was able to implement a range of enhancements that significantly improved both the aesthetics and functionality of the site. These improvements not only modernised the look and feel of the blog but also made it more accessible and user-friendly for my readers.

The move to Astro enabled several enhancements (although many of these features are also possible in Jekyll with workarounds):

You can see my old site here and compare the changes yourself.

Future Plans

One of the most exciting aspects of switching to Astro is the potential it unlocks for future development. As I’ve become more familiar with the framework, I’ve started to think of new features and blog content that were previously not possible.

The switch to Astro opens up new possibilities:


Next Post
What Are Embeddings and Why They’re Incredibly Useful
-->