以 HonoX 为核心框架,配合 Vite 进行开发与构建
honox-blog-templete — Vite 博客模板
作者 yossydev
基于 HonoX 与 Vite 的博客模板仓库,提供本地开发、构建预览以及通过命令行交互生成 MDX 文章的脚本。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
内置 npm run create:post 脚本,通过交互问答生成 mdx 文章文件
集成 Biome 用于代码检查与格式化,highlight.js 用于代码块语法高亮
使用 Tailwind CSS 工具类编写页面样式
仓库采用 MIT 许可,允许修改、商用与分发
模板详细介绍
这是一个用于快速搭建博客站点的模板仓库,核心框架为 HonoX,构建工具为 Vite。仓库说明中列出的技术栈还包括 Biome(代码检查与格式化)、highlight.js(代码语法高亮)和 Tailwind CSS(工具类样式)。
使用流程上,安装依赖后可通过 npm run dev 启动本地开发服务器(默认 http://localhost:5173/),生产环境使用 npm run build 构建、npm run preview 预览。写文章时运行 npm run create:post,脚本会通过回答三个问题自动生成 mdx 文件。README 中给出了一个实际使用该模板的示例仓库链接。
仓库采用 MIT 许可,可免费使用、修改、商用和分发代码,但需保留版权声明与许可声明。演示站点为 Cloudflare Pages 上的线上地址。模板未在资料中说明内容模型、路由约定、部署配置或第三方素材的授权细节,这些需要自行查看仓库文件确认。
适合你的项目吗?
适用场景
- 需要一个可直接运行的 HonoX 博客起步项目
- 希望通过命令行交互快速创建新的博客文章文件
- 想参考 HonoX 与 Vite、Tailwind CSS、highlight.js 组合的项目结构
适合人群
- 熟悉 npm 与命令行操作的开发者
- 使用 HonoX 或 Hono 生态构建博客的个人开发者
- 需要一份 MIT 许可、可自由修改的博客模板的团队
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
安装依赖:npm install,也可使用 bun 或 pnpm 等包管理器
- 2
本地开发:npm run dev,默认访问 http://localhost:5173/
- 3
生产构建与预览:npm run build 后执行 npm run preview
- 4
新建文章:运行 npm run create:post,按提示回答三个问题生成 mdx 文件
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/yossydev/honox-blog-templete/blob/main/LICENSEhttps://github.com/yossydev/honox-blog-templete/blob/main/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 87 / 100
- 技术栈
- Vite
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-10-01
- 截图检查日期
- 2026-10-03
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Vite。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: cb3c09995d5a5f7acfdabf83771f1bb115fa16343e47aa650e1f29d66251e0c5
2026-10-03T07:11:52.476Z
来源文件 / 仓库# honox-blog-template This is a template repository that allows you to easily create a blog site using [HonoX](https://github.com/honojs/honox). ## Technology Stack - [HonoX](https://github.com/honojs/honox): HonoX is a simple and fast supersonic meta-framework for creating full-stack websites and web APIs. It is built on top of Hono, Vite, and a UI library. - [Biome](https://github.com/biomejs/biome): Biome is a performant toolchain for web projects, aimed at providing developer tools to maintain the health of the project. - [highlight.js](https://highlightjs.org/): Highlight.js is a syntax highlighter written in JavaScript. It works on both the browser and the server, operates with most markup, is independent of other frameworks, and has automatic language detection. - [tailwindcss](https://v2.tailwindcss.com/): A utility-first CSS framework packed with classes like flex, pt-4, text-center, and rotate-90, which allows you to apply any design directly within your markup. ## Example - https://github.com/yossydev/blog ## Getting Started This section explains how to set up your environment for local development and how to start writing your blog. ### Installing ``` $ npm install ``` Note that this step does not necessarily have to be done with npm; you may use other package managers like bun or pnpm. ## Starting the App ### Local Environment ``` $ npm run dev $ open http://localhost:5173/ ``` ### Production Environment ``` $ npm run build $ npm run preview $ b // open a brower ``` ## Writing a Blog Answering three questions will automatically generate an mdx file, making it easier to start writing your blog. ``` $ npm run create:post ``` 
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

starter-vite-react
A Vite and React single-page app for your Kookee help center, changelog, blog and roadmap, read live in the br…
Vite · 博客

vitepress-template
🍀 Vitepress 模板,开箱即用,快速搭建你的静态网站和博客。
Vue · 博客

vitepress-blog-starter
Vitepress Blog Starter Template
VitePress · 博客

sveltekit-mdsvex-blog-template
MDsveX blog starter template built with Sveltekit & Tailwind
Svelte · 作品集

blog
A generated static site blog template, with Vite, Vue 3, markdown-it, and syntax highlighting.
Vue · 博客

ryanuo.cc
🐲Personal Homepage (Introduction, Navigation, Blog, Projects).Refer Antfu Template
Vue · 博客
