Welcome to my site. This is the first post.
What this is
This is a place for me to write about things I find interesting — software, tools, ideas, and whatever else I'm thinking about.
How it works
Posts are plain markdown files. I write them, push them, and they show up here. No CMS, no database, no fuss.
// lib/posts.ts
export function getAllPosts(): PostMeta[] {
const fileNames = fs.readdirSync(postsDirectory);
return fileNames
.filter((name) => name.endsWith(".md"))
.map(parsePost)
.sort((a, b) => (a.date < b.date ? 1 : -1));
}
What's next
More posts. Stay tuned.