<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Baruna Abirawa</title>
    <description>The latest articles on DEV Community by Baruna Abirawa (@baruna_abirawa_374ef1f781).</description>
    <link>https://dev.to/baruna_abirawa_374ef1f781</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3594397%2Fa36b00c5-bcbf-4403-860e-ce84738fac6d.jpg</url>
      <title>DEV Community: Baruna Abirawa</title>
      <link>https://dev.to/baruna_abirawa_374ef1f781</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/baruna_abirawa_374ef1f781"/>
    <language>en</language>
    <item>
      <title>Life Doc AI: Transforming Notion Journals into Cinematic Documentaries</title>
      <dc:creator>Baruna Abirawa</dc:creator>
      <pubDate>Sat, 28 Mar 2026 13:23:04 +0000</pubDate>
      <link>https://dev.to/baruna_abirawa_374ef1f781/life-doc-ai-transforming-notion-journals-into-cinematic-documentaries-336</link>
      <guid>https://dev.to/baruna_abirawa_374ef1f781/life-doc-ai-transforming-notion-journals-into-cinematic-documentaries-336</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/notion-2026-03-04"&gt;Notion MCP Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Life Doc AI&lt;/strong&gt; is a Python-based intelligent web application that transforms your Notion workspace—specifically your Life Events and Journal Entries—into a beautifully structured, cinematic documentary of your personal journey. &lt;/p&gt;

&lt;p&gt;Instead of looking at raw text or Kanban boards, Life Doc AI uses the &lt;strong&gt;Notion Model Context Protocol (MCP)&lt;/strong&gt; to securely fetch your milestones and reflections, and relies on an AI Agent (powered by OpenAI GPT-4o with robust rule-based fallbacks) to process them. The result is a Premium Streamlit UI that presents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📜 &lt;strong&gt;The Story of You&lt;/strong&gt;: An AI-crafted, dramatic narrative of your life.&lt;/li&gt;
&lt;li&gt;⏳ &lt;strong&gt;Chronological Timeline&lt;/strong&gt;: Analyzing the dots and connecting your journey.&lt;/li&gt;
&lt;li&gt;📚 &lt;strong&gt;Era Chapters&lt;/strong&gt;: Automatically grouping your life into meaningful, thematic chapters.&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;Psychological Insights&lt;/strong&gt;: Extracting hidden patterns, your most active years, and measuring your resilience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Video Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/_2vWrjqrQkA"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Show us the code
&lt;/h2&gt;

&lt;p&gt;Here is the complete open-source repository on GitHub!&lt;br&gt;
&lt;a href="https://github.com/barunaxyz/life-doc-ai" rel="noopener noreferrer"&gt;&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;a href="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;&lt;/a&gt;
      &lt;a href="https://github.com/barunaxyz" rel="noopener noreferrer"&gt;
        barunaxyz
      &lt;/a&gt; / &lt;a href="https://github.com/barunaxyz/life-doc-ai" rel="noopener noreferrer"&gt;
        life-doc-ai
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🎬 Life Doc AI&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;Transform your Notion journals and life events into an AI-crafted cinematic documentary of your personal journey.&lt;/p&gt;


&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Life Doc AI&lt;/strong&gt; connects to your Notion workspace via the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;, reads your life events and journal entries, and generates a beautiful documentary narrative — complete with timeline, chapters, and psychological insights.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Features&lt;/h2&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;🔌 &lt;strong&gt;Notion MCP Integration&lt;/strong&gt; — Communicates with Notion through MCP protocol (JSON-RPC over HTTP)&lt;/li&gt;
&lt;li&gt;📖 &lt;strong&gt;Life Events Timeline&lt;/strong&gt; — Chronological visualization of your milestones&lt;/li&gt;
&lt;li&gt;📚 &lt;strong&gt;Auto-Generated Chapters&lt;/strong&gt; — Groups your life into meaningful eras&lt;/li&gt;
&lt;li&gt;💡 &lt;strong&gt;Psychological Insights&lt;/strong&gt; — Analyzes patterns, most active years, and impact metrics&lt;/li&gt;
&lt;li&gt;📜 &lt;strong&gt;AI Narrative&lt;/strong&gt; — Crafts a cinematic story from your data (via OpenAI GPT-4 or built-in generator)&lt;/li&gt;
&lt;li&gt;🎨 &lt;strong&gt;Premium UI&lt;/strong&gt; — Dark theme with glassmorphism, gradient accents, and smooth animations&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;

&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;┌───────────────────┐     MCP Protocol     ┌──────────────────────┐     Notion API    ┌─────────┐
│  Streamlit App    │ ◄──────────────────► │  Python&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/barunaxyz/life-doc-ai" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Notion MCP
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Notion MCP&lt;/strong&gt; was the absolute core of this project, bridging the gap between my private workspace and my AI generation engine securely.&lt;/p&gt;

&lt;p&gt;I built a custom Python MCP Server (&lt;code&gt;mcp/mcp_server.py&lt;/code&gt;) that wraps the Notion REST API and exposes tools like &lt;code&gt;notion_query_database&lt;/code&gt; over a JSON-RPC HTTP transport layer. &lt;br&gt;
When the user clicks "Generate", the Streamlit UI (acting as the MCP Client) fires a remote procedure call to the local server. The MCP Server negotiates with Notion, retrieves the &lt;code&gt;Life Events&lt;/code&gt; and &lt;code&gt;Journal Entries&lt;/code&gt; databases, and returns a clean, structured JSON payload.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Developer Journey
&lt;/h3&gt;

&lt;p&gt;This project represents the culmination of my recent developer journey. A few weeks ago, I was figuring out static web portfolios. That evolved into mastering containerized &lt;code&gt;FastAPI&lt;/code&gt; backends, and eventually wrestling with complex NLP text preprocessing errors. &lt;/p&gt;

&lt;p&gt;When the Notion MCP Challenge was announced, I realized I could combine all those skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The backend architecture knowledge helped me build a robust, thread-safe Python MCP Server.&lt;/li&gt;
&lt;li&gt;The NLP experience allowed me to craft intelligent prompts and structured LLM parsing.&lt;/li&gt;
&lt;li&gt;The web development skills helped me design a "Glassmorphism" Dark Theme Premium UI in Streamlit (&lt;code&gt;.streamlit/config.toml&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Life Doc AI&lt;/strong&gt; doesn't just read data; it understands it. The Notion MCP unlocked the ability to treat Notion not just as a note-taking app, but as the &lt;em&gt;engine of a person's life story&lt;/em&gt;.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>notionchallenge</category>
      <category>mcp</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
