omi icon indicating copy to clipboard operation
omi copied to clipboard

[Docs/Recipe proposal] Export Omi conversations to Markdown for Obsidian & Notion ($20 proposed)

Open ElvinGts opened this issue 2 months ago • 3 comments

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

  1. Obsidian / Notion Ready: Automatically formats YAML frontmatter with tags (#omi, #conversation, #category), ISO dates, and IDs for seamless graph indexing.
  2. Interactive Checklists: Maps conversation action items directly to standard Markdown task boxes (- [ ] and - [x]).
  3. Speaker Attribution & Timestamps: Chronological transcript segment parsing with speaker tags and clean [MM:SS] formatting.
  4. Flexible I/O: Supports direct Unix pipelines (omi --json conversation list | python conversations_to_markdown.py - --output-dir ./vault/) or saved JSON files.
  5. Cross-Platform & Safe: Tested against UTF-8 BOM encoding, handles special characters/newlines, and prefixes filenames with YYYY-MM-DD to 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! 🙏

ElvinGts avatar Sep 13 '26 11:09 ElvinGts

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?

Nordikdata avatar Sep 13 '26 11:09 Nordikdata

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! 🙏

ElvinGts avatar Sep 13 '26 12:09 ElvinGts

Closing as already fixed on current main.

Merged #13701; conversations_markdown.md + conversations_to_markdown.py on current main.

aryanorastar avatar Sep 20 '26 16:09 aryanorastar