{"repo":"hashangit/Extract2MD","free":true,"listed":false,"github":"https://github.com/hashangit/Extract2MD","clone":"git clone https://github.com/hashangit/Extract2MD.git","description":"Extract2MD is a powerful and versatile AI-enabled client-side JavaScript library for extracting text from PDF files and converting it into Markdown.","language":"JavaScript","stars":109,"topics":["ai","browser","browser-based","client-side","js","llm","markdown","ocr","pdf","react"],"license":"MIT","category":"media-processing","readme_excerpt":"Extract2MD - Enhanced PDF to Markdown Converter A powerful client-side JavaScript library for converting PDFs to Markdown with multiple extraction methods and optional LLM enhancement. Now with scenario-specific methods for different use cases. 🚀 Quick Start Extract2MD now offers 5 distinct scenarios for different conversion needs: 📋 Scenarios Explained Scenario 1: Quick Convert Only - Use case : Fast conversion when PDF has selectable text - Method : quickConvertOnly(pdfFile, config?) - Tech : PDF.js text extraction only - Output : Basic markdown formatting Scenario 2: High Accuracy Convert Only - Use case : PDFs with images, scanned documents, complex layouts - Method : highAccuracyConvertOnly(pdfFile, config?) - Tech : Tesseract.js OCR - Output : Markdown from OCR extraction Scenario 3: Quick Convert + LLM - Use case : Fast extraction with AI enhancement for better formatting - Method : quickConvertWithLLM(pdfFile, config?) - Tech : PDF.js + WebLLM - Output : AI-enhanced markdown with improved structure and clarity Scenario 4: High Accuracy + LLM - Use case : OCR extraction with AI enhancement - Method : highAccuracyConvertWithLLM(pdfFile, config?) - Tech : Tesseract.js OCR + WebLLM - Output : AI-enhanced markdown from OCR Scenario 5: Combined + LLM (Recommended) - Use case : Most comprehensive conversion using both extraction methods - Method : combinedConvertWithLLM(pdfFile, config?) - Tech : PDF.js + Tesseract.js + WebLLM with specialized prompts - Output : Best possi","default_branch":null,"files":null,"tree":[],"storefront":"/r/hashangit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hashangit/Extract2MD/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."}