wildcatco/notion-blog
关于
Next.js blog template that uses Notion as CMS
网站与应用开发可以做什么
- Simple to sync Notion and blog
- Search posts by name
- Filter posts by categories
- Responsive design
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Notion Blog with Next.js 13
Contents
🚀 Introduction
This is a blog template that uses Notion as CMS.
Upload posts in Notion, share them through your blog!
This project uses App Router that is now stable in Next.js 13.4.
👀 Demo
Check out the demo site HERE
https://www.youtube.com/watch?v=rZgh8a4ZjA8
🌟 Features
- Simple to sync Notion and blog
- Search posts by name
- Filter posts by categories
- Related posts
- Dark mode
- Responsive design
- Sitemap
📦 Major Package Dependencies
- react-notion-x: Renderer for notion pages
- notion-client: Unofficial Notion API which is much faster than official Notion API
🏁 Getting Started
Duplicate this notion blog template to your notion workspace. (Make your notion page public.)

Visit your notion page with browser.
Check your database id in the url. (needed as an environment variable)

Check your auth token in the cookie. (needed as an environment variable)
Now you can run on local or deploy to Vercel with environment variables listed below.
Slug should be unique because it's used as url of the post page
Environment Variables
NOTION_DATABASE_ID: getting started step 3
NOTION_AUTH_TOKEN: getting started step 4
SITE_URL: URL of your site (http://localhost:3000 in local environment)
API_KEY: Choose your own password for route handler
Screenshots
Desktop
Tablet
Mobile
📝 TODO
- Light mode for code block
探索相关项目
加载中…
