Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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 64.9%
  • TypeScript 12.9%
  • Svelte 12.1%
  • JavaScript 9.5%
  • HTML 0.6%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /