VitePress博客

vitepress-theme-akari — VitePress 博客模板

作者 OasisAkari

基于 VitePress 的博客主题,采用 Material You 风格,结合 Vue3、MDUI 与 GSAP 构建,支持中英双语与文章 CC 许可展示。

看看你的网站会是什么样

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

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

来自项目 README 的原始预览。

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

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

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

值得关注的模板亮点

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

01

基于 VitePress 的博客主题,使用 Vue3、MDUI 与 GSAP 构建

02

提供 en-US 与 zh-CN 双语支持,可在 config.ts 中配置

03

文章 frontmatter 设置 cc_license: true 后可在页面底部显示 CC 许可组件

04

构建时运行 content-fixer.mjs,自动补全文章缺失的 color、color_dark、date 参数

05

提供可选的页面浏览量计数器与备案信息配置,计数器需自行部署后端

模板详细介绍

vitepress-theme-akari 是一个面向 VitePress 的博客主题,作者将其描述为 Material You 风格,使用 Vue3、MDUI、GSAP 等技术构建。它提供在线演示站点,作者本人也在个人站点上做了定制使用。

主题的配置集中在 config.ts 中,作者在文件内添加了注释说明。内置页面浏览量计数器选项,但默认隐藏,需要自行部署后端,参考代码为仓库中的 counter.py;同时提供备案信息配置,可填写公安备案与 ICP 备案的图标、链接和文本。文章 Markdown 的 frontmatter 中可设置 cc_license: true,在页面底部显示 CC 许可组件,显示文本可在 translation.ts 中配置。

构建流程中会运行 content-fixer.mjs,自动补全文章缺失的 color、color_dark、date 等参数,因此无需手动填写。主题目前支持 en-US 与 zh-CN 两种语言,可在 config.ts 中配置,其他语言需自行提交 PR。作者在 README 中说明这是其首个 Vue 项目,动画部分自认存在不足,且风格并非严格遵循 MD3 规范。

VitePress博客

适合你的项目吗?

适用场景

  • 搭建个人博客站点并希望使用 Material You 视觉风格
  • 需要中英双语博客,且希望文章底部展示 CC 许可信息
  • 面向中国大陆服务器部署,需要配置公安备案与 ICP 备案信息
  • 希望构建时自动补全文章元数据,减少手动填写 frontmatter

适合人群

  • 使用 VitePress 并希望更换为博客主题的开发者
  • 接受自行部署浏览量计数后端、或不需要该功能的用户
  • 需要中英双语内容展示的个人站点作者

上手与定制指南

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

  1. 1

    克隆仓库后执行 npm install 安装依赖,再在 config.ts 中完成配置

  2. 2

    开发使用 npm run docs:dev,构建使用 npm run docs:build,预览产物使用 npm run docs:preview

  3. 3

    页面浏览量计数器默认隐藏,需要自行部署后端,参考仓库中的 counter.py

  4. 4

    备案信息在 config.ts 的 footer.beian 中配置,可分别填写公安备案与 ICP 备案

  5. 5

    文章如需显示 CC 许可,在 frontmatter 中设置 cc_license: true,显示文本在 translation.ts 中调整

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 页面浏览量计数器默认隐藏,需要自行部署后端服务(参考仓库中的 counter.py)才能使用该功能。
  • 使用浏览量计数功能需自行部署后端,属于外部服务依赖,非主题开箱即用。
  • 备案信息配置仅在中国大陆服务器场景下有用,属于可选配置,非强制要求。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

it required backend things, so I just hide it by default.

README 原文

However, you can just deploy it by yourself, the reference code is in `counter.py`.

README 原文

If your server are located in China, these options may be useful.

README 原文
https://github.com/OasisAkari/vitepress-theme-akari/blob/main/LICENSEhttps://github.com/OasisAkari/vitepress-theme-akari/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 9c4b91a948c593157ed06605f72a33caec75f98df351ae84ed6a29710685467c

2026-10-01T03:56:45.959Z

来源文件 / 仓库
## Description

A Material You stylized theme for vitepress, built with Vue3 + MDUI + GSAP and etc.


## Showcase

![](/assets/20240514185649.jpg)


## Demos

[vitepress-theme-akari.vercel.app](https://vitepress-theme-akari.vercel.app)

[stray-soul.com](https://stray-soul.com) (I made some customs for my self, but however you can make your own too!)

## Usage

Just clone this repo, install dependencies (`npm install`), then configure some things:

### config.ts

I added some comments so you can just go open and see it, it could be easily understand. (Maybe...)

However, some fields are not included, the following are the details:

#### Views counter

```js
const themeConfig: AkariThemeConfig = {
    ...
    viewsCounter: '',
    ...
}

```

Basically, it is just links to a simple counter for page total views, it required backend things, so I just hide it by default.

However, you can just deploy it by yourself, the reference code is in `counter.py`.


#### Beian

```js
const themeConfig: AkariThemeConfig = {
    ...
    footer: {
        ...
        beian:{
            use: true,
            gongan: {
                icon: '',
                link: '',
                text: ''
            },
            icp: {
                link: '',
                text: ''
            }
        }
        ...
    }
    ...
}

```

If your server are located in China, these options may be useful. :>

### Article

```md
---
...
cc_license: true
...
---
```

When set to true, the cc license component will be displayed at the bottom of the page. The display text can be configured in `translation.ts`


## Run & Build

Dev: `npm run docs:dev`

Build: `npm run docs:build`

Preview dist: `npm run docs:preview`

Note that content-fixer.mjs will be run when executing the build to fix missing parameter fields in the article, so there is no need to add `color`, `color_dark`, `date` manually.


## Translations

Currently, the theme supports `en-US` and `zh-CN` language, it can be configured in `config.ts`.

If you want to support another language, the PR is welcome.


## Q&A

### Wait, why Akari, not MDxx?

I added my flavor to it, so it may not designed in MD3 style precisely. Also I have no idea about name it... so that.

### Your code smells so terrible...

This is my first project built with Vue and etc. so... you probably know. But however PR is welcome.

### Animations are so buggy...

I tried my best... sorry.

### What else you want to say?

I dunno at this point, so that's all.

## References

[MDUI](https://mdui.org/)

[GSAP](https://gsap.com/)

[vitepress-blog-pure](https://github.com/airene/vitepress-blog-pure)

[vitepress-blog-zaun](https://github.com/clark-cui/vitepress-blog-zaun)

[vitepress-theme-trigger](https://github.com/laplacetw/vitepress-theme-trigger)

[bsblog](https://github.com/bsdayo/blog)

反馈内容错误

看看同类模板

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