[Docs/Recipe proposal] Export Omi conversations to Markdown for Obsidian & Notion ($20 proposed)
Overview
The Python CLI allows users to retrieve full conversation histories and audio transcripts via omi --json conversation list --include-transcript and omi --json conversation get <id>, but the CLI examples directory currently lacks a recipe for exporting these transcripts into structured Markdown files for personal knowledge bases and note-taking apps.
Many Omi wearable users actively manage their second brains in Obsidian, Notion, or Logseq. Having an official, zero-dependency recipe that automatically converts conversation JSON exports into individual, dated Markdown notes with YAML frontmatter, action-item checklists, and formatted speaker dialogue significantly enhances developer experience and utility.
Proposed Scope
- New recipe guide:
sdks/python-cli/examples/conversations_markdown.md - Standalone converter script:
sdks/python-cli/examples/conversations_to_markdown.py(pure Python standard library:json,argparse,pathlib,re,datetime— zero third-party dependencies). - Index link: Update
sdks/python-cli/examples/README.md.
Key Features
- Obsidian / Notion Ready: Automatically formats YAML frontmatter with tags (
#omi,#conversation,#category), ISO dates, and IDs for seamless graph indexing. - Interactive Checklists: Maps conversation action items directly to standard Markdown task boxes (
- [ ]and- [x]). - Speaker Attribution & Timestamps: Chronological transcript segment parsing with speaker tags and clean
[MM:SS]formatting. - Flexible I/O: Supports direct Unix pipelines (
omi --json conversation list | python conversations_to_markdown.py - --output-dir ./vault/) or saved JSON files. - Cross-Platform & Safe: Tested against UTF-8 BOM encoding, handles special characters/newlines, and prefixes filenames with
YYYY-MM-DDto prevent collisions.
Bounty Request
Following the Contribution Guide, would a US$20 documentation/recipe bounty, payable via Wise (@ellyboyj) or PayPal upon acceptance and merge, be appropriate for this contribution?
@josancamon19 @kodjima33 — The code, documentation, and local test verification are fully prepared and ready for PR. Looking forward to your guidance! 🙏
The omi --json conversation list --include-transcript output is straightforward to parse into dated Markdown files with YAML frontmatter. I can put together a recipe script for the examples/ directory that covers Obsidian, Notion, and Logseq conventions. Want to take a stab at this?
Hi @Nordikdata! 👋 Thanks for reaching out!
I have already completed the implementation, tested it locally across synthetic and live exports, and submitted the pull request: #13701.
It includes the standalone Python converter (conversations_to_markdown.py), the recipe guide (conversations_markdown.md), and the examples index entry. Feel free to review the PR and leave any feedback or suggestions! 🙏
Closing as already fixed on current main.
Merged #13701; conversations_markdown.md + conversations_to_markdown.py on current main.