Disclaimer
- Is this project open source? No
- Is this project completely free? Yes (Free tier available on Chrome Web Store with full export features)
- Is this project made with AI beyond the author’s ability to comprehend how it works? No
Hi Obsidian Community,
I wanted to share a workflow I designed to solve a major bottleneck: syncing active, long-running AI threads (1,000+ messages) into Obsidian notes without manual copy-pasting or relying on third-party cloud servers.
The Problem
When working with AI on extensive research or coding projects, browser tabs often become unresponsive once threads exceed 1,000 messages. Standard browser exports usually produce messy HTML filled with unnecessary code snippets, which clutters local markdown vaults.
The Workflow & Integration with Obsidian
To bridge this gap locally, I built a Chrome extension called ChatCapsule that directly connects to your local Obsidian vault:
- Direct Vault Access (Local-First): Uses the browser’s native File System Access API to connect directly to your local Obsidian folder. Conversations are saved directly as
.mdfiles without sending data to any external server. - Obsidian-Native Properties: Each exported note includes structured YAML Frontmatter (
platform,messages_count,last_synced_at, and tags) so you can organize chats via Dataview or native properties. - Smart Noise Reduction: Automatically folds and cleans long code blocks (>15 lines), preserving only the conceptual thought process and prompt logic for clean reading.
- Incremental Appending: Instead of re-saving massive threads, it detects where your note left off and appends only new messages in ~1 second.
Demo Video:
Search the exact title on YouTube:
Never Lose Your Code Again-ChatCapsule Instantly Exports Claude, ChatGPT & Gemini to Obsidian
Getting Started:
Search on Chrome Web Store:
ChatCapsule: Export AI Chat to Markdown
(Note: If the link is not clickable due to new account restrictions, please copy and paste the URL above)
I would love to hear feedback from fellow Obsidian users on how this local-first markdown pipeline can be further improved!