{"repo":"paulocoutinhox/pdfium-lib","free":true,"listed":false,"github":"https://github.com/paulocoutinhox/pdfium-lib","clone":"git clone https://github.com/paulocoutinhox/pdfium-lib.git","description":"PDFium - Project to compile PDFium library to multiple platforms.","language":"Python","stars":1070,"topics":["pdfium","pdf","cpp","library","chromium","google","webassembly"],"license":"MIT","category":"media-processing","readme_excerpt":"PDFium Library Project to compile PDFium library to multiple platforms. Platforms This project currently compiles to these platforms: - [x] iOS device (arm64) - [x] iOS simulator (x86 64, arm64) - [X] Android (armv7, armv8, x86, x86 64) - [x] macOS (x86 64, arm64) - [x] WASM (Web Assembly) Platforms in roadmap: - Linux - Windows Obs: PDFium project is from Google and i only patch it to compile to all platforms above. Check all oficial details and PDFium license here: https://pdfium.googlesource.com/ Web demo Since this project generate WASM version, i published a demo that you can test PDFium direct on web browser here: https://pdfviewer.github.io Or with a public PDF as parameter: https://pdfviewer.github.io/?title=Demo%20PDF%20with%201MB&url=https://raw.githubusercontent.com/mozilla/pdf.js-sample-files/master/tracemonkey.pdf Requirements 1. Ninja Build 2. Python 3 3. PIP Obs: Generally Python 3 already come with PIP installed. Check it with command python3 -m pip --version . How to compile These are the general steps that need be executed before all others platforms steps. 1. Get the source: 2. Install PIP requirements: 3. Get Google Depot Tools: Obs: - The file make.py need be executed with Python version 3. - These steps you only need make one time. - If you want change pdfium git branch, edit file modules/config.py and others places with same branch name. How to compile for iOS Check tutorial here: Build for iOS How to compile for macOS (with Apple Silicon - M1) Check tu","default_branch":null,"files":null,"tree":[],"storefront":"/r/paulocoutinhox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paulocoutinhox/pdfium-lib/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."}