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
Link Cards
Links are automatically rendered as nice preview cards:
Callouts
Different types for different purposes:
Code with tabs
npm create astro@latestpnpm create astro@latestyarn create astro@latestSyntax 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
- Framework: Astro 6
- Styling: Tailwind CSS 4
- Content: MDX with custom widgets
- Search: Pagefind
- Hosting: Cloudflare Pages
- Syntax highlighting: Shiki
More posts coming soon. Stay tuned!