使用 Next.js、TypeScript、MDX、shadcn-ui 与 Tailwind CSS 构建
next-blog — Next.js 博客模板
作者 imyuanli
基于 Next.js 与 shadcn/ui 风格的极简响应式博客模板,使用 MDX 撰写文章,通过配置文件定制站点。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
文章以 posts 目录下的 .mdx 或 .md 文件管理,站点配置集中在 blog.config.ts
内置移动端响应式、深色模式、标签、分页与语法高亮
包含评论、搜索、订阅与 SEO 相关功能项
支持通过 Vercel 或 Netlify 一键部署,也可本地克隆运行
模板详细介绍
NextBlog 是一个以内容为中心的博客模板,强调简洁与响应式布局,让读者注意力集中在文章本身。技术栈包括 Next.js、TypeScript、MDX、shadcn-ui 与 Tailwind CSS,文章以 posts 目录下的 .mdx 或 .md 文件形式组织,站点信息集中在 blog.config.ts 中配置。模板内置移动端响应式、评论、搜索、SEO、深色模式、标签、分页、remark/rehype 插件、语法高亮与订阅等功能项。使用方式为克隆仓库后执行 npm install 与 npm run dev,也可通过 Vercel 或 Netlify 一键部署;README 提到国内用户可优先考虑 Netlify。仓库采用 MIT 许可,允许免费使用、修改、商用与分发代码,但演示图片、字体、图标等第三方素材需单独核对许可,域名、托管等外部服务可能另行收费。
适合你的项目吗?
适用场景
- 个人技术博客或写作站点的起步模板
- 希望用 Markdown/MDX 管理文章并自行部署的开发者
- 需要移动端适配与深色模式的内容型网站
适合人群
- 熟悉 Next.js 与 React 的前端开发者
- 偏好极简排版、以阅读体验优先的博客作者
- 计划部署到 Vercel 或 Netlify 的个人项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后执行 npm install 与 npm run dev 启动本地开发
- 2
修改 blog.config.ts 配置站点信息,在 posts 目录下新增 .mdx 或 .md 文章
- 3
可通过 Vercel 或 Netlify 一键部署,README 建议国内用户优先使用 Netlify
- 4
评论、搜索、订阅等外部服务可能需要单独申请与配置
- 5
演示图片、字体、图标等第三方素材需按各自许可核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 部署依赖 Vercel 或 Netlify 等第三方托管服务,这些外部服务可能产生费用或需要注册账号,README 建议国内用户优先使用 Netlify。
- 使用需自行克隆仓库并本地运行 npm install 与 npm run dev,属于自托管方式,不提供官方托管服务。
- 站点信息需在 blog.config.ts 中手动配置,文章需以 posts 目录下的 .mdx 或 .md 文件形式自行撰写。
- README 由外部服务 RMX 生成,该外部链接服务与模板本身无关,可能涉及第三方服务。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
NextBlog can be deployed with Vercel or Netlify, with a single click.
README 原文
Then you can clone the repository and run the following commands:
README 原文
You only need to modify the configuration file content and write articles.
README 原文
https://github.com/imyuanli/next-blog/blob/main/LICENSEhttps://github.com/imyuanli/next-blog/blob/main/README.mdThe README.md file powered by [RMX](https://readme.imyuanli.cn/).
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 92 / 100
- 技术栈
- Next.js · React
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-01
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 36e441765dc2d3ac2b172d299d2b6125edc701f178b961077949c98ecdbf3faf
2026-10-02T20:47:45.461Z
来源文件 / 仓库# NextBlog A minimal, responsive, and easy-to-use blog template.  [Perview](https://next-blog.imyuanli.cn/) | [Changelog](https://next-blog.imyuanli.cn/blog?tag=Features) |  ## Introduction NextBlog is **True simplicity rather than simplicity**✨, it is a minimal, responsive, and easy-to-use blog template ⚡. Simple and clean, it is designed to place the reader's attention on what really matters: the content. ## Tech Stack - [Next.js](https://nextjs.org/) - [TypeScript](https://www.typescriptlang.org/) - [MDX](https://mdxjs.com/) - [Shadcn-ui](https://ui.shadcn.com/) - [Tailwind CSS](https://tailwindcss.com/) ## How to use? NextBlog can be deployed with Vercel or Netlify, with a single click. > PS: 如果你是国内用户的话,我推荐你使用 [Netlify](https://app.netlify.com/) [](https://vercel.com/new/git/external?repository-url=https://github.com/imyuanli/next-blog) [](https://app.netlify.com/start/deploy?repository=https://github.com/imyuanli/next-blog) Then you can clone the repository and run the following commands: ```bash git clone cd next-blog npm install npm run dev ``` You only need to modify the configuration file content and write articles. - configuration file: `blog.config.ts` - article file: `posts/*.mdx | posts/*.md` ## Features 1. [x] **Mobile responsive** 2. [x] **Comments** 3. [x] **Search** 4. [x] **SEO friendly** 5. [x] **Dark mode** 6. [x] **Tags** 7. [x] **Pagination** 8. [x] **remark and rehype plugins** 9. [x] **Syntax highlighting** 10.[x] **Subscribe** ...To be updated If you have any ideas, please let me know. ## License NextBlog is licensed under the MIT License. The README.md file powered by [RMX](https://readme.imyuanli.cn/).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog 是一个面向个人技术博客的 Next.js 与 Tailwind CSS 启动模板,其 v2 版本基于 App Router 与 React Server Comp…
Next.js · 博客

Nextjs-tailwindcss-blog-template
⭐Build SEO optimized personal blog website with Next.js, Tailwind CSS and Contentlayer. If you want to learn t…
Next.js · 博客

Next-js-Blog-Boilerplate
Next-js-Blog-Boilerplate 是一套面向个人与技术博客的启动代码,基于 Next.js 12 与 Tailwind CSS 3 构建,同时集成了 TypeScript、ESLint、Prettier …
Next.js · 博客

nextjs-blog-theme
nextjs-blog-theme 是 Netlify 团队维护的一个博客启动模板,基于 Next.js 15(Pages Router)和 Tailwind CSS 4.x 构建,设计由 Bejamas 机构完成。
Next.js · 博客

blog
🚀 My personal blog made with Tailwind CSS and NextJS. Template from Timlrx. Feel free to fork, follow and use…
Next.js · 博客

tailnext
Tailnext 是一个基于 Next.js 14 App Router 和 Tailwind CSS 的免费开源模板,由 onWidget 团队创建并维护。
Next.js · 博客
