Skip to content
/ blog Public template
forked from saicaca/fuwari

A static personal blog site built with Astro and Fuwari.

License

Notifications You must be signed in to change notification settings

Duke486/blog

 
 

Repository files navigation

Personal Tech Blog

This is a personal tech blog built with Astro, mainly sharing technical learning and ACGN-related tech articles, tutorials, and experience.

🔧 Tech Stack

🚀 Local Setup

  1. Clone this repository

    git clone <your-repo-url>
    cd AstroBlog
  2. Install dependencies

    pnpm install
    pnpm add sharp
  3. Start the development server

    pnpm dev
  4. Create a new post

    pnpm new-post <post-filename>

    Then edit the newly created post in the posts directory.

📝 Post Format

Posts use Markdown format. You need to add frontmatter information at the beginning of the file:

---
title: Post Title
published: 2025-04-10
description: Post description, which will be displayed on the article card on the homepage
image: ./assets/cover.jpg
tags: [Tag1, Tag2]
category: Category Name
draft: false
---

📦 Build & Deployment

Build the static website:

pnpm build

Preview the build result:

pnpm preview

📋 Available Commands

Command Description
pnpm dev Start the development server at localhost:4321
pnpm build Build the production site to the ./dist/ directory
pnpm preview Preview the build result locally before deployment
pnpm new-post <filename> Create a new post

About

A static personal blog site built with Astro and Fuwari.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Astro 65.3%
  • TypeScript 13.0%
  • Svelte 12.1%
  • JavaScript 9.6%