liteparse
A fast, helpful, and open-source document parser
Streamline document processing with LiteParse batch-parse. Process multiple PDFs DOCXs and images with one command or API call minimizing resource overhead.
How to Enable or Disable Link Extraction in LiteParse Markdown OutputControl link extraction in LiteParse markdown output. Learn how to enable or disable links using the CLI flag or LiteParseConfig for precise control over your markdown.
How to Use LiteParse Node.js Bindings (@llamaindex/liteparse): A Complete GuideMaster LiteParse Node.js bindings with this guide. Learn to parse PDFs, perform OCR, and generate Markdown using type-safe TypeScript and Rust native binary integration.
How the OCR Merge Algorithm Works in LiteParse (`ocr_merge.rs`)Explore the OCR merge algorithm in LiteParse's ocr_merge.rs. Discover its two-stage pipeline for efficient OCR processing, parallel execution, and seamless text model integration.
How to Configure Image Output Mode (Placeholder, Embed, Off) in LiteParse MarkdownControl LiteParse Markdown image output modes (placeholder embed off) with image_mode parameter or CLI flag. Customize how raster images appear in your Markdown.
How to Generate PDF Screenshots with Custom DPI Using LiteParseGenerate PDF screenshots with custom DPI using LiteParse. Simply set the dpi field on LiteParseConfig before creating an instance and call screenshot() for desired resolution.
How to Handle Large PDF Documents with LiteParse's max_pages LimitLearn how to handle large PDF documents in LiteParse by overriding the default max_pages limit using CLI flags or code configurations for efficient parsing.
How to Use the LiteParse Rust API Directly for Custom ApplicationsLearn to use the LiteParse Rust API directly in your custom applications. Explore the LiteParse struct and its async parse methods for efficient file and byte data processing.
Understanding the Thread Safety Mechanism of PDFium within LiteParseDiscover LiteParse's PDFium thread safety mechanism. Learn how a process-wide mutex prevents undefined behavior in the native library, ensuring safe PDF operations.
How to Configure the Number of Concurrent OCR Workers in LiteParseEasily control concurrent OCR workers in LiteParse. Set num_workers in LiteParseConfig or use the --num-workers CLI flag for efficient page processing.
How LiteParse Detects Complex Content with the is_complex CommandLearn how LiteParse's is_complex command quickly analyzes PDFs for complex content using text density image coverage garbled text detection and vector outline analysis before OCR.
How to Integrate LiteParse with EasyOCR and PaddleOCR HTTP ServersEasily integrate LiteParse with EasyOCR and PaddleOCR HTTP servers using its REST API for powerful OCR capabilities. Streamline your text extraction workflows today.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →