{"repo":"riddleling/docOCR","free":true,"listed":false,"github":"https://github.com/riddleling/docOCR","clone":"git clone https://github.com/riddleling/docOCR.git","description":"macOS CLI and HTTP OCR tool for converting document images to Markdown.","language":"Swift","stars":35,"topics":["cli","markdown","ocr","vision-framework","http-server","macos"],"license":"MIT","category":"media-processing","readme_excerpt":"docOCR docOCR is a macOS command-line OCR tool that converts document images into Markdown text. It can run as a batch CLI tool or as a local HTTP server for browser uploads and API clients. Table of Contents - Features - Requirements - CLI Usage - HTTP Server - API Usage - Build - Install - Development - macOS Shortcuts: Screenshot to Markdown - Codex Skill Features - Converts image files to Markdown text. - Writes batch OCR output next to each source image using the same basename and a .md extension. - Converts detected paragraphs, lists, and tables into Markdown when Apple's document recognition API identifies them. - Provides a local web UI for uploading an image and viewing OCR output. - Provides a JSON API for image upload and OCR response. - Uses Apple's RecognizeDocumentsRequest API, available on macOS 26+. - Performs OCR locally on the Mac. OCR recognition does not require sending images to an external network service. The HTTP server is implemented with Vapor. Requirements - macOS 26 or later. - Xcode / Swift toolchain that supports the package's Swift tools version. - Network access may be required during the first build so Swift Package Manager can fetch dependencies such as Vapor. CLI Usage Show help: Show version: Convert image files to Markdown: This prints the OCR Markdown text to the terminal. Write Markdown files next to the source images: Each input file is written as a Markdown file next to the image: Existing .md files with the same name are overwritten. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/riddleling","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/riddleling/docOCR/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}