greatgc-flow1k downloadsConvert text documents to Markdown and identify originals that need external OCR.
Convert local documents to Markdown in Obsidian Desktop. Flow saves a complete note only when the document qualifies for direct text conversion. A PDF with 99 text pages and a single scanned page stays in the external OCR queue. You can inspect the original, extract its existing text to a separate partial note, or hand it to a transcription tool of your choice.
Use an isolated Python environment and the matching desktop plugin bundle. The 2.1 candidate requires markitdown-gc 0.3.10 or newer in the 0.3 series. Under Settings → MarkItDown Flow, enter the absolute path to the environment's Python and choose an output directory relative to the vault. Setup checks the interpreter, dependencies and protocol. The desktop plugin uses isolated Python and an argument array. Installation, upgrade and rollback instructions are in BOOTSTRAP.md.
| Action | How to use it | Result |
|---|---|---|
| Convert a folder | Run Convert folder to Markdown, or use the ribbon, context menu or confirmed drop | Qualified sources create notes under Complete/. Each excluded original has its own reason. |
| Inspect composition | Run Inspect document composition or choose Inspect in the results | Shows how many pages were inspected and measured, their roles, and estimated text, image, background and other area. Preview writes no note. |
| Save partial text | Choose Extract existing text for a mixed PDF | Creates a separate Partial/*.text-only.md with page locations and omission markers. The source remains excluded. |
| Hand off to another tool | Filter results by External OCR needed | Reveal the original, select individual rows or all filtered results, copy their relative paths as CSV, or make byte-identical copies under External-OCR/. |
| Copy photo information | Select a standalone JPG/JPEG/PNG and choose Photo information | If ExifTool is available, copy selected fields. GPS, author and device identifiers require explicit selection. |
| Retry or inspect a conflict | Review the per-file result and rerun after correcting the cause | Identical output can be reused. A note with different bytes is preserved and reported as a conflict. |
mdflow run ./inbox -o ./notes
mdflow run --dry-run ./paper.pdf
mdflow extract-text ./mixed.pdf -o ./notes
mdflow run --input-list paths.json -o ./notes
mdflow version
mdflow selftest
The input list is a UTF-8 JSON array of absolute paths. The output stream uses JSON Lines with a header, file results and a footer. Exit 0 includes expected exclusions, 1 indicates invalid usage or an incompatible runtime, and 2 indicates an operational failure. An interrupted stream without a footer has incomplete results.
For a selected source, use handoff-copy or photo-info with its path, --sha256 and --original-sha256 from the file record. Add --member for an archive member. A changed digest blocks the action. Metadata requires one or more explicit --field choices.
The GitHub release host supplies plugin assets. The Python package index supplies engine dependencies. The legacy CLI defaults to provider none and can explicitly select openai-compatible. Strict conversion, inspection, partial export, handoff and photo metadata are local operations. The user chooses any external transcription tool and initiates uploads separately. Installing a package or downloading a plugin release requires the selected package registry or GitHub. Open external documentation links only when you choose to do so.
The desktop plugin launches the configured virtual-environment interpreter, reads selected files and folders, and stages transient parser data or large input selections in private temporary directories. Durable job results stay under ~/.mdflow/jobs. They contain the absolute paths of selected inputs, output directories and written files, source hashes, relative names and archive member names. The vault plugin’s data.json also holds up to 100 conversion or partial-export summaries with the first input, output folder, time and outcome. Paths under the home directory use a tilde. Other paths may be absolute and can travel with vault settings sync. Migration may preserve a sanitized data.v1.json. Preview and photo-information actions create no job history. Optional diagnostic logs in the plugin directory rotate across five 1 MiB files. Each vault retains its eight most recent completed conversions. Interrupted records remain available locally. Each journal is limited to 128 MiB. The legacy CLI cache under ~/.mdflow/cache can retain extracted text and OCR results. Opening Setup or checking the engine version may launch short local ExifTool and LibreOffice version probes. The optional ExifTool process receives a private copy of the selected image for a bounded, field-scoped read. Local original copies preserve the source file's own metadata, including GPS or Artist when present.
Flow sends no client telemetry. Flow disables ONNX Runtime telemetry for engine operations. Diagnostics and composition previews contain no transcribed page text. Source paths appear in results so you can reopen the original. CSV uses relative paths by default. Choose Include full local paths in CSV to export absolute paths. Clipboard actions can expose the displayed fields to applications with clipboard access.
A legacy CLI caller using an authenticated endpoint needs an account or access granted by that provider and can pass MDFLOW_API_KEY in its environment. The strict workflow requires no API key or paid transcription provider. Prior selective-OCR CLI automations can explicitly use mdflow legacy-run on the new engine. That entry point can contact a configured provider and incur charges under its historical approval and cache policy. A configured legacy endpoint can receive selected image data under its own retention and billing terms. A trusted external command can use the network regardless of its caller-declared egress setting. The legacy plan and provider commands are intended for those callers. Historical CLI and provider disclosures
Install the shell and its virtual environment as a matched pair. Keep a snapshot of the prior configuration for rollback. Version 1 settings and old backups can hold credentials. If settings migration fails, jobs are blocked and the original settings are preserved. Secure the original and backups before syncing the vault. A 2.0 environment uses the old protocol. Keep its environment and plugin assets together for rollback. Reliable page geometry and partial export are available for PDF. Missing evidence, ambiguous media, unreadable text layers and limited inspection produce a separate outcome. The preview shows measured-page coverage so missing pages do not inflate area estimates.
The English product specification records the acceptance criteria. The packaging verification guide describes the evidence required before distribution.
Use Reopen last conversion results to revisit a completed or interrupted local job. Re-running the original selection rechecks source bytes and existing outputs.
Required CI targets include Windows x64, Ubuntu x64 and macOS arm64. Use Python for the engine and Node 24 for the shell. Run pytest under engine/ and run npm ci, npm run typecheck, npm test and npm run build under shell/. The original obsidian-markitdown project by Ethan Troy is credited under the MIT license. The license notice is included in LICENSE.