Astro博客

kiri — Astro 博客模板

作者 yogeshbhutkar

Kiri 是一个用 Astro 与 Tailwind CSS 构建的极简个人博客模板,内置明暗主题,采用 MIT 许可,可作为公开模板使用。

看看你的网站会是什么样

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

1 个预览视图
作者提供的预览
作者提供的预览

来自项目 README 的原始预览。

目前有 1 张原始预览,可打开完整图片查看设计细节。

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

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

值得关注的模板亮点

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

01

使用 Astro 与 Tailwind CSS 构建的极简博客模板

02

内置明暗主题与主题切换器

03

支持 RSS 订阅与站点地图生成

04

提供代码语法高亮、文章目录与阅读进度指示

05

在标记层面注重可访问性,包含跳转链接与 ARIA 标签

06

采用 MIT 许可,可作为公开模板使用

模板详细介绍

Kiri 是一个面向写作的个人博客模板,使用 Astro 与 Tailwind CSS 构建,定位为干净、无干扰的阅读与写作空间。模板自带明暗两套主题与主题切换器,并提供 RSS 订阅、站点地图生成、代码语法高亮、文章目录、阅读进度指示等博客常用能力,同时在标记层面强调可访问性,包含跳转链接、ARIA 标签与语义化结构。

内容以 Markdown/MDX 文件形式组织,放在 src/content/blogs/ 目录下,文件名即 URL 路径;每篇文章通过 frontmatter 声明标题、作者、头像、标签、发布日期、封面图与摘要,封面图建议尺寸为 1024x576 像素。项目使用 Bun 作为包管理器,提供开发与构建脚本,演示站点部署在 Vercel。

需要留意的是,仓库采用 MIT 许可,免费范围仅限该版本代码;演示图片、字体、图标等第三方素材需按各自许可单独核对,域名、托管等外部服务也可能产生费用。README 中提到的 Lighthouse 分数与“快速、轻量”等表述属于作者描述,未在本次资料中独立验证。

Astro博客

适合你的项目吗?

适用场景

  • 搭建个人写作博客并发布 Markdown/MDX 文章
  • 撰写带代码片段的技术教程或笔记
  • 需要明暗主题切换与 RSS 订阅的静态博客
  • 以 Astro 为基础做二次定制的前端练习项目

适合人群

  • 希望用 Markdown 写作、不依赖数据库的写作者
  • 熟悉或愿意使用 Astro 与 Bun 的开发者
  • 需要极简阅读界面与明暗主题的个人站点
  • 接受 MIT 许可并自行核对第三方素材授权的人

上手与定制指南

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

  1. 1

    通过 GitHub 的 Use this template 创建仓库后克隆到本地

  2. 2

    使用 Bun 安装依赖并运行开发服务器,默认地址为 http://localhost:4321/

  3. 3

    构建产物输出到 .astro 目录

  4. 4

    文章放在 src/content/blogs/ 目录,使用 .mdx 文件,文件名作为 URL 路径

  5. 5

    frontmatter 需包含标题、作者、头像、标签、发布日期、封面图与摘要,封面图建议 1024x576 像素

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 项目使用 Bun 作为包管理器,安装依赖与运行开发/构建脚本均需先安装 Bun 运行时,未安装时需从 bun.com 获取。
  • 演示站点部署在 Vercel,若自行部署到 Vercel 等托管平台,可能涉及外部服务账号与费用。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

If you don't have Bun installed, you can get it from [bun.com](https://bun.com/).

README 原文

Deployed with [Vercel](https://vercel.com) at [kiri-ten.vercel.app](https://kiri-ten.vercel.app/)

README 原文
https://github.com/yogeshbhutkar/kiri/blob/main/LICENSEhttps://github.com/yogeshbhutkar/kiri/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 111c8c3b9887d41af5ac6c58400181586c63a3eed0c73fd420f67c71e74a28b0

2026-10-05T15:52:08.643Z

来源文件 / 仓库
# 🌿 Kiri

**Kiri** is a **minimalistic personal blogging space** built with [Astro](https://astro.build) and [Tailwind CSS](https://tailwindcss.com).

It’s fast, lightweight, and accessible — designed for writers and developers who want a clean, distraction-free space to share their thoughts.

Kiri comes with **light & dark themes**, thoughtful typography, and modern blog essentials. It’s open-source, customizable, and ready to deploy as your personal corner on the web.  

---

## ✨ Features

- ⚡ **Blazing fast** — optimized with near-perfect Lighthouse scores  
- 📰 **RSS feed** — keep readers connected to your latest posts  
- 🌍 **Sitemap generation** — better SEO out of the box  
- 💻 **Syntax highlighting** — beautiful code snippets for technical posts  
- 🌗 **Light & dark mode** — built-in theme switcher  
- 📑 **Table of contents** — easy navigation for long-form articles  
- 📊 **Reading progress indicator** — know how far you’ve come  
- ♿ **Accessibility-first** — skip links, ARIA labels, and semantic markup  

---

## 🚀 Preview

![Kiri Screenshot](./screenshot.png)  
*Minimal design, thoughtful details, and a space built for writing.*

Deployed with [Vercel](https://vercel.com) at [kiri-ten.vercel.app](https://kiri-ten.vercel.app/)

---

## 🛠️ Getting Started

1. **Create a repository with Kiri**  
   Click the "Use this template" button at the top of this page to create a new repository based on Kiri.

2. **Clone your new repository**

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

3. **Install dependencies**

   ```bash
   bun install
   ```

   If you don't have Bun installed, you can get it from [bun.com](https://bun.com/).

4. **Run the development server**

   ```bash
   bun run dev
   ```

   The site will be live at `http://localhost:4321/`.

5. **Build for production**

   ```bash
   bun run build
   ```

   The output will be in the `.astro` directory.

---

## ✍️ Writing Blog Posts

1. **Create a new Markdown file**

   Add a new `.mdx` file in the `src/content/blogs/` directory. The filename will be used as the URL slug.

2. **Add frontmatter**

   At the top of your Markdown file, include the following frontmatter:

   ```yaml
   ---
   title: Your Post Title
   author: Author Name
   avatar: ./images/default-avatar.webp
   tags: ["Tag 1", "Tag 2"]
   publishedDate: 2025-10-02
   coverImage: ./images/default-background.webp
   excerpt: A brief summary of your post.
   ---
   ```

   Recommended dimensions for `coverImage` are 1024x576 pixels.

3. **Write your content**

   Use standard Markdown syntax to write your post. You can also include JSX components if needed.

---

## 📝 License

Kiri is open-source under the MIT License. Feel free to fork, tweak, and make it your own.

---

## 💡 Why Kiri?

The web is full of heavy, bloated blog engines. Kiri takes a different path —
it focuses on the essentials: speed, readability, ease of use, and accessibility.

Whether you’re journaling, writing technical tutorials, or just experimenting,
Kiri gives you a simple foundation that grows with you.

---

## ✨ Want a feature?

Feel free to open an issue or submit a pull request on GitHub. Contributions are welcome!

---

## ❤️ Like Kiri?

If you find Kiri useful, please give it a ⭐ on GitHub! It helps others discover the project and motivates me to keep improving it. Thank you!
反馈内容错误

看看同类模板

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