{"repo":"majcheradam/ocrbase","free":true,"listed":false,"github":"https://github.com/majcheradam/ocrbase","clone":"git clone https://github.com/majcheradam/ocrbase.git","description":"📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable.","language":"TypeScript","stars":28,"topics":[],"license":"MIT","category":"media-processing","readme_excerpt":"ocrbase: Model-Agnostic OCR API 📄 ocrbase is a lightweight, model-agnostic API that standardizes document parsing across visual language models (VLMs). Key Features of ocrbase 🪶 Lightweight : Tiny Bun + Elysia service, single container, minimal footprint. 🔌 Model-Agnostic : Point at any supported VLM — GLM-OCR, PaddleOCR-VL — via env vars. 📊 State of the Art : Backed by models scoring ≥94.5 on OmniDocBench v1.5. 💎 Easy to Deploy : One command away from a working OCR API. 🧩 Core - /v1/parse — turn a document into text - /v1/parse/async — enqueue a parse job - /v1/extract — extract structured JSON from a document - /v1/extract/async — enqueue an extract job - /v1/job/:jobId — inspect parse or extract job status 🧠 Models Both models are state of the art: - paddleocr — 94.5 on OmniDocBench v1.5 - glmocr — 94.6 on OmniDocBench v1.5 📋 Requirements [!IMPORTANT] ocrbase does not ship the models — point it at a running inference server: - paddleocr — set up PaddleOCR-VL - glmocr — self-host GLM-OCR with vLLM 🚀 Quick Start 🛠️ Develop ☁️ Optional S3 Input Staging If S3 ACCESS KEY ID , S3 SECRET ACCESS KEY , S3 BUCKET , and S3 ENDPOINT are set, /v1/parse will: - upload incoming File inputs to S3 - fetch remote document URLs and upload the contents to S3 - upload base64 or data URL payloads to S3 - pass a presigned GET URL into the selected document model If those env vars are not set, ocrbase keeps the current direct behavior and sends the original input to the model. 📬 Option","default_branch":null,"files":null,"tree":[],"storefront":"/r/majcheradam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/majcheradam/ocrbase/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."}