Source for goosewin.com. Personal site and writing.
- MDX-based posts
- Newsletter signup via Resend
- Open Graph images and sitemap generation
- Analytics via Vercel
- Clone the repository
git clone https://github.com/goosewin/blog.git cd blog - Install dependencies
bun install
- Set up environment variables
cp .env.example .env.local
- Run the development server
bun dev
GITHUB_TOKEN=
NEXT_PUBLIC_BASE_URL=http://localhost:3000
RESEND_AUDIENCE_ID=
RESEND_API_KEY=
NEWSLETTER_SECRET=
SITE_URL=http://localhost:3000Add new MDX files to posts/. Each post includes metadata at the top:
export const metadata = {
title: 'Your Post Title',
date: 'YYYY-MM-DD',
description: 'A brief description of your post',
};
Your post content goes here...- Next.js
- TypeScript
- Tailwind CSS
- MDX
MIT © Dan Goosewin