SOFTWARE ENGINEERING
Welcome to My Blog
3 min read
Starting fresh with Astro, Tailwind CSS, and Cloudflare Workers — here's why and how.
Welcome
This is my new blog, built with Astro and deployed on Cloudflare Workers.
Why Astro?
- Performance first — ships minimal JavaScript by default
- Markdown native — write posts in
.mdor.mdx - Content Collections — type-safe frontmatter validation
Architecture
Here’s a simple diagram of how the deployment works:
flowchart LR
A[GitHub Push] --> B[Cloudflare Worker]
B --> C[Serve Static Assets]
B --> D[SSR Pages]
Code Example
interface BlogPost {
title: string;
pubDate: Date;
category: 'software-engineering' | 'machine-learning' | 'system-design';
}
More posts coming soon!