/Notion-Blog-React

Blog powered by Notion, built with React, Next.JS, tailwindcss, TypeScript, Notion-Api-Worker and more.

Primary LanguageCSSMIT LicenseMIT

Notion Blog with React

A fast serverless Blog powered by Notion.

A Blog powered by Notion, built with React, Next.js, tailwindcss, TypeScript, Notion-Api-Worker, React-Notion-X and more.

Features

Please see the features section on React-Notion-X by NotionX.

And also, you can...

Performance

Notion-Blog-React-Lighthouse-Performance-Desktop

Known Issues

  • ❌ Some Notion blocks is not supported. (Please see here for more info.)

How to deploy

Preparation

  • Notion API: See here for how to deploy a notion-api by yourself. (You can use https://notion-api.splitbee.io/ instead)
  • Public Notion Table: Create a notion table with below properties. (You can duplicate a template here. Please make sure you have content inside a property box)
    • title: Title
    • tag: Multi-select
    • published: Checkbox
    • date: Date
    • slug: Text
    • author: Person
    • description: Text
  • Change your site config: via config/site.config.js

Deploy locally

  1. Git Clone to local
  2. Copy .env.example file to .env.local
  3. Add your NOTION_API and NOTION_TABLE_SLUG (for instance, 2f01c9cec94d4925b2e9aec68b0e850b) to .env.local file
  4. run yarn to initialize the project
  5. run yarn build && yarn start to start the project

Deploy on Vercel

Deploy with Vercel

  1. Click the button above or visit here
  2. Add NOTION_API and NOTION_TABLE_SLUG to Environment Variables
  3. Deploy

Improvement / Plans

Related (Examples or Technology being used)

Alternatives

Turn Notion to Blog/Page

Credits

Copyright (c) 2022 Harry Yep

  • All Authors & Contributors who own its repository