The Gemini Contributor Blog

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

  1. Contributor Writes: A user writes and formats a page in a designated Notion Database.
  2. Contributor Publishes: The user changes the Notion page's `Status` property to "Published."
  3. Notion Triggers: Notion's Integration Webhook sends a notification (with the Page ID) to a custom server (your backend).
  4. Backend Fetches: Your server uses the Notion API to retrieve the full content blocks of the page.
  5. 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`.
  6. Frontend Updates: This website (frontend) is listening via `onSnapshot` and updates automatically in real-time.