落地页支持自定义背景图片和主标题文字
notion-web — Next.js 博客模板
作者 minhkhuong2404
基于 Next.js、TypeScript、Tailwind CSS 和 Notion API 的个人网站与博客模板,博客内容在 Notion 中管理,构建时拉取数据,并集成 Giscus 评论。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
博客页提供分页与搜索功能
每篇博客文章有独立页面
动态生成 RSS feed 并自动生成 sitemap
使用 Notion 作为博客内容 CMS,构建时通过 Notion API 拉取内容
集成 Giscus 作为评论系统
模板详细介绍
notion-web 是 Khuong Lu 的个人网站与博客项目,使用 Next.js、TypeScript、Tailwind CSS 和 Notion 构建。README 说明博客文章在 Notion 中管理,网站通过 Notion API 在构建时获取内容。功能方面,README 列出:带可自定义背景图和主标题文字的落地页、带分页和搜索的博客页、每篇博客的独立页面、动态生成的 RSS feed、自动生成 sitemap、以 Notion 作为博客内容 CMS,以及通过 Giscus 集成评论区。
配置上,README 要求克隆仓库并安装依赖,复制 .env 文件,然后设置 Notion 数据库:可复制提供的 Notion 模板页,创建 Notion 集成获取 NOTION_API_KEY,将集成连接到数据库页面,并从数据库链接中取得数据库 ID,用于 settings、navigation、footer 和 posts 数据库。Giscus 评论需要创建站点并配置仓库、仓库 ID、分类和分类 ID 等环境变量。运行项目使用 npm run start:all,访问 http://localhost:3000。README 未提供关于性能、生产就绪程度、浏览器兼容性或部署流程的说明。
适合你的项目吗?
适用场景
- 搭建个人网站并发布博客文章
- 用 Notion 数据库管理博客内容并自动同步到网站
- 为博客添加评论功能
- 生成 RSS 订阅和站点地图
适合人群
- 希望用 Notion 管理博客内容的个人开发者
- 熟悉 Next.js、TypeScript 和 Tailwind CSS 的前端开发者
- 需要个人网站包含博客、RSS 和评论功能的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后运行 npm install 安装依赖
- 2
复制 .env 文件为 .env.example 并填写环境变量
- 3
复制 Notion 数据库模板页,创建 Notion 集成获取 NOTION_API_KEY,并将集成连接到数据库页面
- 4
从 Notion 数据库链接中获取数据库 ID,用于 settings、navigation、footer 和 posts 数据库
- 5
配置 Giscus 相关环境变量(GISCUS_REPO、GISCUS_REPO_ID、GISCUS_CATEGORY、GISCUS_CATEGORY_ID),然后运行 npm run start:all 启动项目
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 网站内容依赖 Notion API,博客文章需在 Notion 中管理并在构建时拉取,因此使用该模板需要拥有 Notion 账号并配置相关集成。
- 运行项目必须获取 NOTION_API_KEY 和数据库 ID,即需要创建 Notion 集成并提供 API 密钥。
- 评论功能依赖 Giscus 外部服务,需要自行创建 Giscus 站点并获取仓库 ID 等配置信息。
- 启用评论需要注册 Giscus 账号并创建站点,属于额外的外部账号要求。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
💠 This is my personal website and blog, built using Next.js, TypeScript, Tailwind CSS, and Notion. The blog posts are managed in Notion, and the website pulls the content from the Notion API at build time.
README 原文
Once you have your own duplicate page, you can get the `NOTION_API_KEY` and database IDs needed to run the project. To get your `NOTION_API_KEY`, follow these steps:
README 原文
To enable commenting functionality using Giscus, you need to set up a repository and obtain a repository ID. You can find more information on the [Giscus website](https://giscus.app/).
README 原文
https://github.com/minhkhuong2404/notion-web/blob/main/LICENSEhttps://github.com/minhkhuong2404/notion-web/blob/main/README.md1. Sign up for a Giscus account and create a new site.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-13。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 68 / 100
- 技术栈
- Next.js · React
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2023-09-01
- 截图检查日期
- 2026-10-13
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15
查看当时使用的来源资料
SHA-256: 9288f7fe818928a7a42520725d04c2e883164f6028f805ad9f13f5b3e40e7d7a
2026-10-13T20:10:36.605Z
来源文件 / 仓库# Khuong Lu - Personal Website and Blog        💠 This is my personal website and blog, built using Next.js, TypeScript, Tailwind CSS, and Notion. The blog posts are managed in Notion, and the website pulls the content from the Notion API at build time. ## Notable Features - Landing page with customizable background image and hero text - Blog page with pagination and search functionality - Separate pages for each blog post - Dynamically generated RSS feed - Automatic sitemap generation - Notion as a CMS for blog content management - Integration with Giscus for comment section ## Setup & Config To get started with this project, follow these steps: To get started with this project, you can clone the repository and install the dependencies: ```bash git clone https://github.com/minhkhuong2404/notion-web.git cd howz.dev npm install ``` Copy the .env file to .env.example: ```bash cp .env .env.example ``` ### Notion Database Setup You can duplicate the Notion page for database template [here](https://luminhkhuong.notion.site/Blog-Template-d79d594e2dd14a1ab4b0f6b324c1cae8). Once you have your own duplicate page, you can get the `NOTION_API_KEY` and database IDs needed to run the project. To get your `NOTION_API_KEY`, follow these steps: 1. Go to your [Notion integrations page](https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration). 2. Click on the "Create new integration" button. 3. Give your integration a name and click the "Submit" button. 4. You'll now see your integration listed on the page. Click on the integration's name. 5. You should now see your integration details page. You can find your `NOTION_API_KEY` under the "Internal Integration Tokens" section. To add your app into page, folow these steps: 1. Open your duplicated database in Notion. 2. Click on the three dots in the top-right corner of the page. 3. Then you selecting "Add connections" and choosing your app name. To get the database IDs, follow these steps: 1. Open your duplicated database in Notion. 2. Click on the three dots in the top-right corner of the page. 3. Click on "Copy link URL." 4. You should see the database ID in the URL. It's the long string of characters between the last two forward slashes. Update the `.env` file with your `NOTION_API_KEY` and the database IDs for your settings, navigation, footer, and posts databases. Use the `.env.example` file as a guide. ### Giscus Setup To enable commenting functionality using Giscus, you need to set up a repository and obtain a repository ID. You can find more information on the [Giscus website](https://giscus.app/). 1. Sign up for a Giscus account and create a new site. 2. Choose the "GitHub Discussions" option as your comment platform. 3. Configure your site by providing your GitHub repository information and choosing a category name. 4. In your `.env` file, add the following variables with the values for your Giscus site: ```env GISCUS_REPO=username/repository GISCUS_REPO_ID=repository-id GISCUS_CATEGORY=category-name GISCUS_CATEGORY_ID=category-id ``` ### Running the Project To run the project, you can use the following command: ```bash npm run start:all ``` The project will be available at [http://localhost:3000](http://localhost:3000).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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

Nextjs-tailwindcss-blog-template
使用 Tailwind CSS 的 Next.js 博客。当前分支通过 Velite 处理 Markdown,早期 Contentlayer 实现保留在单独的历史分支中。
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 · 博客
