A Moonbit tool similar to Markitdown(Microsoft) synthesized using Codex
brew install ocrmypdfsudo apt update
sudo apt install -y ocrmypdfocrmypdf --versionmoon run cli -- normal <input> [output]moon run cli -- ocr <input> [output]moon run cli -- debug <all|extract|raw|pipeline> <input> [output]moon run cli -- normal --with-metadata <input> <output.md>
moon run cli -- ocr --with-metadata <input> <output.md>
moon run cli -- debug --with-metadata <all|extract|raw|pipeline> <input> <output.md>out/
demo.md
assets/
image01.png
image02.jpg
metadata/
demo.metadata.jsonNote: samples/test is an acceptance demo sample set, not a replacement for the full regression suites. Full regression still relies on samples/main_process, samples/metadata, and samples/assets.
./samples/check_samples.sh./samples/diff.sh./samples/check_metadata.sh./samples/check_assets.shInstall
Download zipA Moonbit tool similar to Markitdown(Microsoft) synthesized using Codex