+
Skip to content

goosewin/blog

Repository files navigation

goosewin.com

Welcome to the repository powering goosewin.com.

Tech Stack

  • 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

Getting Started

  1. Clone the repository:

    git clone https://github.com/goosewin/blog.git
  2. Install dependencies:

    bun install
  3. Run the development server:

    bun dev

Environment Variables

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.local

Then edit .env.local and replace your_github_token_here with your actual GitHub token.

Writing Blog Posts

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...

About

Personal blog of Dan Goosewin. Built with Next.js and TypeScript

Topics

Resources

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载