🚀 Begin building your very own Notion Blog with Astro.
English | 日本語
astro-notion-blog enables you to create a blog using Notion and generates it statically, resulting in lightning-fast page views.
https://astro-notion-blog.pages.dev
DATABASE_ID
by noting the portion of the duplicated page (database) URL that appears as https://notion.so/your-account/<HERE>?v=xxxx.NOTION_API_SECRET
<your-account>/astro-notion-blog
, then click "Begin setup"NODE_VERSION
, NOTION_API_SECRET
and DATABASE_ID
NODE_VERSION
is v18.16.0
or higherPlease note that the astro-notion-blog requires manual deployment every time you publish a new post or make updates. You can deploy manually from the Cloudflare Pages dashboard or set up a scheduled deploy using CI tools such as GitHub Actions.
export NOTION_API_SECRET=<YOUR_NOTION_API_SECRET>
export DATABASE_ID=<YOUR_DATABASE_ID>
npm install
npm run dev
Ctrl+C
in the terminal to stopSee wiki.
To report an issue, please create a new Issue. You can use either English or Japanese to describe the issue. :wink:
If you like astro-notion-blog, sponsor me so that I can keep on developing software. Thank you.
astro-notion-blog is based otoyo/notion-blog