Astro博客

fumika — Astro 博客模板

作者 iyanarmanda

Fumika 是一个基于 Astro 的静态博客模板,由 Fuwari 大幅修改而来,提供明暗模式、响应式布局、Pagefind 搜索、RSS 与 Giscus 评论等功能。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-02查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

基于 Astro 的静态博客模板,由 Fuwari 大幅修改而来

02

支持明暗模式、响应式布局与页面过渡动画

03

内置 Pagefind 搜索、RSS 订阅、目录与 i18n 翻译

04

通过 Giscus 提供评论,通过 Partytown 接入 Google Analytics

05

Markdown 扩展包含提示块、GitHub 仓库卡片、Expressive Code 代码块与 Mermaid 图表

06

采用 MIT 许可证,可免费使用、修改、商用与分发

模板详细介绍

Fumika 是一个用 Astro 构建的静态博客模板,作者 iyanarmanda 在 Fuwari 基础上做了较大改动。仓库 README 说明其技术栈包括 Astro、Svelte、Tailwind CSS 与 SCSS,并列出明暗模式、响应式设计、平滑动画与页面过渡、可自定义主题与横幅、Pagefind 搜索、目录、RSS、Meta 与 Open Graph 标签、i18n 翻译、Giscus 评论以及通过 Partytown 接入的 Google Analytics。

内容层面,模板在 Astro 默认支持的 GitHub Flavored Markdown 之外,还提供提示块(Admonitions)、GitHub 仓库卡片、基于 Expressive Code 的增强代码块、Mermaid 图表与排版特性,这些扩展语法在演示站有对应示例页面。文章使用 frontmatter 定义标题、发布日期、描述、封面图、标签、分类、ogImage 与草稿状态。

使用方式上,README 建议从模板生成新仓库或 fork,本地用 pnpm 安装依赖,通过 src/config.ts 定制博客,用 pnpm new-post 创建文章,部署前需修改 astro.config.mjs 中的站点配置,可部署到 Netlify、GitHub Pages 等平台。README 中提到的 npm create fumika 等脚手架命令标注为“soon”,尚未提供。

许可方面,仓库采用 MIT 许可证,允许免费使用、修改、商用与分发该版本代码,分发时需保留版权声明与许可声明;演示图片、字体、图标等第三方素材以及域名、托管等外部服务需另行核对或可能产生费用。

Astro博客

适合你的项目吗?

适用场景

  • 搭建个人技术博客或写作站点
  • 需要静态输出并部署到 Netlify、GitHub Pages 等平台
  • 希望在 Markdown 中使用提示块、Mermaid 图表与增强代码块
  • 需要明暗模式、搜索、RSS 与评论等常见博客功能

适合人群

  • 熟悉 Astro 或愿意按 README 步骤配置的开发者
  • 以 Markdown 写作、需要静态博客的个人作者
  • 需要中英等多语言界面与内容的博客
  • 接受使用 pnpm 作为包管理器的项目

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    从模板生成新仓库或 fork 后,克隆到本地并运行 pnpm install 安装依赖

  2. 2

    编辑 src/config.ts 定制博客,使用 pnpm new-post <filename> 创建文章

  3. 3

    部署前需在 astro.config.mjs 中修改站点配置

  4. 4

    README 中 npm create fumika 等脚手架命令标注为 soon,暂不可用

  5. 5

    演示图片、字体、图标等第三方素材需按各自许可核对,托管等外部服务可能另行收费

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 评论功能依赖 Giscus 外部服务,需在 GitHub 仓库启用 Discussions 并配置 Giscus 应用,评论数据托管于 GitHub,使用前需完成相应账号与仓库设置。
  • Google Analytics 集成需自行提供 GA 跟踪 ID 并接受 Google 的服务条款,数据由 Google 收集,属于外部服务依赖。
  • 部署需使用 Netlify、GitHub Pages 等第三方托管平台,可能涉及账号注册及平台自身的服务条款或费用。
  • 本地开发需预先安装 pnpm 包管理器,未安装时需通过 npm 全局安装。
  • README 中 npm create fumika 等脚手架命令标注为 soon,尚未提供,当前只能通过生成仓库或 fork 的方式使用模板。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Comment feature with [Giscus](https://giscus.app/)

README 原文

Google Analytics using [Partytown](https://partytown.qwik.dev/)

README 原文

Deploy your blog to Netlify, GitHub Pages, etc.

README 原文

Install [pnpm](https://pnpm.io) `npm install -g pnpm` if you haven't.

README 原文

Or run one of the following commands (*soon*)

README 原文
https://github.com/iyanarmanda/fumika/blob/main/LICENSE.txthttps://github.com/iyanarmanda/fumika/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
Astro Themes
资料与维护参考分
资料较完整 · 87 / 100
技术栈
Astro
网站类型
博客
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-09-28
截图检查日期
2026-10-02

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 4e59ae45c81772dddbddfbe5266ae6e233d0a18137331d1473e5717dfb866357

2026-10-02T08:10:20.399Z

来源文件 / 仓库
# Fumika🐈
![Node.js >= 22](https://img.shields.io/badge/node.js-%3E%3D20-brightgreen) 
![pnpm >= 11](https://img.shields.io/badge/pnpm-%3E%3D9-blue) 
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fiyanarmanda%2Ffumika.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fiyanarmanda%2Ffumika?ref=badge_shield&issueType=license)

A clean, minimalist, and modern, static blog template built with [Astro](https://astro.build). **Fumika** is heavily modified from [Fuwari](https://github.com/saicaca/fuwari).

[**Live Demo**](https://fumika-demo.netlify.app)

**Preview**:

Light Mode:
![Preview Image Light Mode](https://raw.githubusercontent.com/iyanarmanda/resource/main/fumika/home-light.png)

Dark Mode:
![Preview Image Dark Mode](https://raw.githubusercontent.com/iyanarmanda/resource/main/fumika/home-dark.png)

## Tech Stacks

- [Astrojs v7](https://astro.build)
- [Svelte v5](https://svelte.dev/)
- [Tailwind CSS v4](https://tailwindcss.com) 
- [SCSS](https://sass-lang.com/)

## Features

- [x] Smooth animations and page transitions
- [x] Light / dark mode
- [x] Responsive design
- [x] Customizable theme, banner, and other components
- [x] Search functionality with [Pagefind](https://pagefind.app/)
- [x] [Markdown extended features](https://github.com/iyanarmanda/fumika?tab=readme-ov-file#-markdown-extended-syntax)
- [x] Table of contents
- [x] RSS feed
- [x] Meta and Open Graph Tag
- [x] i18n translation
- [x] Comment feature with [Giscus](https://giscus.app/)
- [x] Google Analytics using [Partytown](https://partytown.qwik.dev/)

*See upcoming features in [ROADMAP](https://github.com/iyanarmanda/fumika/blob/main/ROADMAP.md)

### Markdown Extended Features

In addition to Astro's default support for GitHub Flavored Markdown ([Docs](https://github.github.com/gfm/)), several extra Markdown features are included:

- Admonitions ([Preview and Usage](https://fumika-demo.netlify.app/posts/markdown-extended/#admonitions))
- GitHub repository cards ([Preview and Usage](https://fumika-demo.netlify.app/posts/markdown-extended/#github-repository-cards))
- Enhanced code blocks with Expressive Code ([Preview](https://fumika-demo.netlify.app/posts/expressive-code/) / [Docs](https://expressive-code.com/)) 
- Mermaid Diagram ([Preview](https://fumika-demo.netlify.app/posts/mermaid/) / [Docs](https://mermaid.js.org/))
- Typography features ([Preview and Usage](https://fumika-demo.netlify.app/posts/markdown-extend/#typography-features))

## Getting Started

1. Create your blog repository:
    - [Generate a new repository](https://github.com/iyanarmanda/fumika/generate) from this template or fork this repository.
    - Or run one of the following commands (*soon*):
       ```sh
       npm create fumika@latest
       yarn create fumika
       pnpm create fumika@latest
       bun create fumika@latest
       deno run -A npm:create-fumika@latest
       ```
2. To edit your blog locally, clone your repository, run `pnpm install` to install dependencies.
    - Install [pnpm](https://pnpm.io) `npm install -g pnpm` if you haven't.
3. Edit the config file `src/config.ts` to customize your blog.
4. Run `pnpm new-post <filename>` to create a new post and edit it in `src/content/posts/`.
5. Deploy your blog to Netlify, GitHub Pages, etc. following [the guides](https://docs.astro.build/en/guides/deploy/). You need to edit the site configuration in `astro.config.mjs` before deployment.

## Frontmatter of Posts

```yaml
---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg
tags: [Foo, Bar]
category: Front-end
ogImage: /media/images/cover.webp   # by default is empty and use `image` frontmatter if it from public directories or url.
draft: false
---
```

## Commands

All commands are run from the root of the project, from a terminal:

| Command                    | Action                                                                   |
|:---------------------------|:-------------------------------------------------------------------------|
| `pnpm install`             | Installs dependencies                                                    |
| `pnpm dev`                 | Starts local dev server at `localhost:4321`                              |
| `pnpm build`               | Build your production site to `./dist/`                                  |
| `pnpm preview`             | Preview your build locally, before deploying                             |
| `pnpm check`               | Run checks for errors in your code                                       |
| `pnpm format`              | Format your code using **Biome**                                         |
| `pnpm lint`                | Lint your code using **Biome**                                           |
| `pnpm new-post <filename>` | Create a new post                                                        |
| `pnpm astro ...`           | Run CLI commands like `astro add`, `astro check`                         |
| `pnpm astro --help`        | Get help using the Astro CLI                                             |
| `pnpm test`                | Running unit testing using **Vitest**                                    |

## License

This project is licensed under the MIT License.

反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。