Astro博客

koibumi-blog — Astro 博客模板

作者 haruki-nikaidou

基于 Astro 的博客模板,采用 koibumi 设计系统,提供漫画风格字体、深色模式、标签系统与 MDX 内容支持。

看看你的网站会是什么样

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

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

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

全部页面与视图 3

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

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

值得关注的模板亮点

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

01

基于 Astro 的静态博客模板,采用 koibumi 设计系统与卡片式布局

02

支持 Markdown 与 MDX,集成 KaTeX 数学公式和 Expressive Code 代码高亮

03

内置标签系统,可按标签组织文章

04

提供深色模式与主题切换

05

自带自动生成的 sitemap 与 RSS feed

06

使用 TypeScript,样式以 SCSS 模块化组织

模板详细介绍

koibumi-blog 是一个用 Astro 构建的静态博客模板,配套 koibumi 设计系统。仓库以 MIT 许可发布,可直接通过 GitHub 的 Use this template 按钮创建自己的博客仓库。

内容方面,模板支持 Markdown 与 MDX 写作,内置标签系统用于归类文章,并集成 KaTeX 数学公式与 Expressive Code 代码高亮。站点配置集中在 content/site.json,可设置标题、描述、favicon、简介与版权署名;站点 URL 在 astro.config.mjs 中配置。

界面采用卡片式布局与漫画风格字体(英文 Comic Neue、日文 Klee One),提供深色模式与主题切换,并包含移动优先的响应式网格。模板自带自动生成的 sitemap 与 RSS feed,交互组件少量使用 Svelte,样式基于 SCSS 模块化组织,全站使用 TypeScript。

使用限制:包管理器要求 pnpm;演示图片、字体、图标等第三方素材需按各自许可单独核对,代码的 MIT 许可不覆盖这些素材;域名、托管等外部服务可能产生费用。README 中提到的 Lighthouse 分数、体积等指标属于作者自述,未在本资料中独立验证。

Astro博客

适合你的项目吗?

适用场景

  • 搭建个人技术博客或写作站点
  • 发布包含数学公式与代码片段的文章
  • 需要深色模式与标签分类的内容站点
  • 以 Markdown/MDX 文件管理内容的静态发布流程

适合人群

  • 熟悉或愿意使用 Astro 与 pnpm 的开发者
  • 以 Markdown/MDX 写作、偏好静态生成博客的作者
  • 需要标签分类、深色模式与 RSS 输出的个人站点
  • 接受漫画风格字体与卡片式视觉风格的使用者

上手与定制指南

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

  1. 1

    通过仓库的 Use this template 按钮创建新仓库,再克隆到本地

  2. 2

    使用 pnpm install 安装依赖,pnpm dev 启动开发服务器,pnpm build 构建,pnpm preview 预览

  3. 3

    编辑 content/site.json 设置站点标题、描述、favicon、简介与版权署名

  4. 4

    在 astro.config.mjs 中把 site 改为自己的域名

  5. 5

    在 content/blog/ 下新建 Markdown 文件并填写 title、description、pubDate、tags 等 frontmatter 字段

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 使用该模板需以 pnpm 作为包管理器安装依赖,其他包管理器(如 npm、yarn)未获支持。
  • 完整文档托管在作者的演示站点上,需访问外部网站获取,离线或无法访问该站点时文档不可用。
  • 参与社区展示需访问外部演示站点并通过 pull request 提交,涉及外部平台操作。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

# Install dependencies (requires pnpm) pnpm install

README 原文

Visit the [full documentation](https://astro.koibumi.art/blog/intro-document/) on our demo site.

README 原文

Check out the [community showcase](https://astro.koibumi.art/blog/show-cases/) and submit your own via pull request.

README 原文
https://github.com/haruki-nikaidou/koibumi-blog/blob/master/LICENSEhttps://github.com/haruki-nikaidou/koibumi-blog/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

记录的仓库更新时间
2025-10-31
截图检查日期
2026-10-05

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: [email protected] · 2026-10-06

查看当时使用的来源资料

SHA-256: b9c713da2e93dd83f45ae606c0e62bb2a008772a9f0b2b68852914a24dc1337b

2026-10-05T18:40:51.018Z

来源文件 / 仓库
# Koibumi Astro Blog

[![Astro](https://img.shields.io/badge/Astro-5.15-BC52EE?logo=astro&logoColor=white)](https://astro.build)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A beautiful, lightweight, and performant blog template built with Astro. Features comic-style typography, dark mode support, and achieves 98+ Lighthouse scores while keeping the entire site under 512KB gzipped.

[Demo](https://astro.koibumi.art/) • [Documentation](https://astro.koibumi.art/blog/intro-document/) • [Submit Your Site](https://astro.koibumi.art/blog/real-sites/)

## ✨ Features

- 🎨 **Beautiful Design** - Comic-style fonts (Comic Neue + Klee One), card-based layout
- 🌓 **Dark Mode** - Full dark mode support with theme toggle
- ⚡ **High Performance** - 98+ Lighthouse score, minimal JavaScript, <512KB gzipped
- 🏷️ **Tag System** - Organize posts with comprehensive tagging
- 📝 **Rich Content** - MDX, KaTeX math, syntax highlighting with Expressive Code
- 📱 **Responsive** - Mobile-first design with elegant grid layouts
- 🔍 **SEO Ready** - Auto-generated sitemap and RSS feed
- 🎯 **TypeScript** - Full type safety throughout

## 🚀 Quick Start

### Use This Template

1. Click the "Use this template" button at the top of this repository
2. Create your new repository
3. Clone your repository:

```bash
git clone https://github.com/your-username/your-blog-name.git
cd your-blog-name
```

### Install and Run

```bash
# Install dependencies (requires pnpm)
pnpm install

# Start development server
pnpm dev

# Build for production
pnpm build

# Preview production build
pnpm preview
```

### Configure Your Site

Edit `content/site.json`:

```json
{
  "title": "Your Blog Title",
  "description": "Your Blog Description",
  "favicon": "/favicon.svg",
  "bio": "Your bio or motto",
  "copyright_name": "Your Name"
}
```

Update `astro.config.mjs` with your site URL:

```javascript
export default defineConfig({
  site: 'https://yourdomain.com',
  // ...
});
```

### Write Your First Post

Create a new markdown file in `content/blog/`:

```markdown
---
title: 'My First Post'
description: 'This is my first blog post'
pubDate: 'Nov 1 2025'
tags: ['blog', 'first-post']
---

Your content here...
```

## 🛠️ Tech Stack

- **Framework**: [Astro](https://astro.build) - Static site generator
- **Styling**: SCSS with modular architecture
- **Interactive Components**: [Svelte](https://svelte.dev) (minimal usage)
- **Code Highlighting**: [Expressive Code](https://expressive-code.com/)
- **Typography**: Comic Neue (English) + Klee One (Japanese)
- **Icons**: [Iconify](https://iconify.design/)
- **Math**: [KaTeX](https://katex.org/)
- **Type Safety**: TypeScript
- **Package Manager**: pnpm

## 📖 Documentation

For detailed documentation including:
- Complete feature overview
- Customization guide
- Component documentation
- Styling and theming
- Performance optimization tips

Visit the [full documentation](https://astro.koibumi.art/blog/intro-document/) on our demo site.

## 🌟 Showcase

Using this template? We'd love to see your site! Check out the [community showcase](https://astro.koibumi.art/blog/show-cases/) and submit your own via pull request.

## 🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/haruki-nikaidou/koibumi-blog/issues).
反馈内容错误

看看同类模板

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