Content powered by Notion, published in real-time.
Loading user status...
**Note:** This is the *frontend* of the blog. A separate server is needed to pull content from Notion's API.
Loading posts...
How This Works with Notion
Contributor Writes: A user writes and formats a page in a designated Notion Database.
Contributor Publishes: The user changes the Notion page's `Status` property to "Published."
Notion Triggers: Notion's Integration Webhook sends a notification (with the Page ID) to a custom server (your backend).
Backend Fetches: Your server uses the Notion API to retrieve the full content blocks of the page.
Backend Publishes: Your server converts the Notion blocks to clean HTML/Markdown and saves the formatted content to this live, public Firestore collection: `/artifacts/${appId}/public/data/blog_posts`.
Frontend Updates: This website (frontend) is listening via `onSnapshot` and updates automatically in real-time.