A Fuwari-based Astro blog template, refactored for Argon-style UI and simpler maintenance.
- Astro
6.0.0-beta.14 - Tailwind CSS
4.2.1 - daisyUI
5.5.19 - Pagefind search
Site language supports only zh_CN and en.
- Node.js
>= 24 - pnpm
>= 10(recommended10.30.1)
corepack enable
corepack use pnpm@10.30.1
pnpm install
pnpm devVisit http://localhost:4321.
- Use this template (or fork it) on GitHub.
- Clone your own repo.
- Edit
src/config.ts(all site config is centralized there). - Run and verify locally.
- Deploy to Vercel / Cloudflare Pages / self-hosted server.
All configurable values are in src/config.ts:
globalConfig:siteUrl, repo name/url, RSS fallback, Astro base/trailingSlashsiteConfig: title, subtitle, language, theme set, banner, TOC, faviconnavBarConfig: top navigation linksprofileConfig: sidebar profile name/bio/avatar/social linkslicenseConfig: post license block switch/contentexpressiveCodeConfig: code block theme
No CMS config files are required.
Static output is in dist/.
- Build command:
pnpm build - Output directory:
dist - Cache headers:
vercel.json
- Build command:
pnpm build - Output directory:
dist - Cache headers:
public/_headers
- Run
pnpm build. - Upload
dist/to server. - Apply
deploy/nginx/astro-static-cache.confcache rules.
| Command | Description |
|---|---|
pnpm dev |
Start local dev server |
pnpm build |
Build dist/ and generate Pagefind index |
pnpm preview |
Preview production build |
pnpm check |
Run Astro type/content checks |
pnpm type-check |
Run TypeScript check (tsc) |
pnpm new-post <slug> |
Create a new post scaffold |
MIT