Welcome to the repository powering goosewin.com.
- Next.js - React framework for server-side rendering and static site generation
- TypeScript - Typed superset of JavaScript
- Tailwind CSS - Utility-first CSS framework
- MDX - Markdown for the component era
-
Clone the repository:
git clone https://github.com/goosewin/blog.git
-
Install dependencies:
bun install
-
Run the development server:
bun dev
This project uses environment variables for configuration:
GITHUB_TOKEN: Your GitHub personal access token (required for fetching GitHub repositories)
You can copy the .env.example file and replace the values with your own:
cp .env.example .env.localThen edit .env.local and replace your_github_token_here with your actual GitHub token.
Add new MDX files to the posts/ directory. Each post should include 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...