·5 min read·Made with AI

Welcome to My New Blog

Why I moved from Ghost to a self-built Astro blog, and what this blog can do.

This blog is my new home on the web. Built with Astro, styled with Tailwind CSS, and hosted on Cloudflare Pages. All open source, all under my control.

Why the switch?

Ghost was good — the editor is fantastic, and slash commands are fun. But I wanted full control over my design and my components. And I wanted my posts as Markdown in a Git repo.

What this blog can do

Links are automatically rendered as nice preview cards:

A
Astro
Astro builds fast content sites, powerful web applications, dynamic server APIs, and everything in-between.
astro.build
→

Callouts

Different types for different purposes:

Code with tabs

npm create astro@latest
pnpm create astro@latest
yarn create astro@latest

Syntax highlighting

interface BlogPost {
  title: string;
  date: Date;
  tags: string[];
  draft: boolean;
}

function getPublishedPosts(posts: BlogPost[]): BlogPost[] {
  return posts
    .filter((post) => !post.draft)
    .sort((a, b) => b.date.valueOf() - a.date.valueOf());
}

Accordion

How is this blog built?

The blog uses Astro as a static site generator, with MDX for the posts. Tailwind CSS handles the styling, and Pagefind provides search. Everything is hosted on Cloudflare Pages.

Can I see the source code?

Sure! The entire source code is available on GitHub.

Tech stack


More posts coming soon. Stay tuned!