{"id":13815146,"url":"https://github.com/paulocoutinhox/pdfium-lib","last_synced_at":"2026-01-08T19:18:09.904Z","repository":{"id":39802508,"uuid":"134439084","full_name":"paulocoutinhox/pdfium-lib","owner":"paulocoutinhox","description":"PDFium - Project to compile PDFium library to multiple platforms.","archived":false,"fork":false,"pushed_at":"2025-05-09T02:22:46.000Z","size":14449,"stargazers_count":978,"open_issues_count":27,"forks_count":99,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-09T03:31:04.427Z","etag":null,"topics":["chromium","cpp","google","library","pdf","pdfium","webassembly"],"latest_commit_sha":null,"homepage":"https://pdfviewer.github.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulocoutinhox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"paulocoutinhox","ko_fi":"paulocoutinho"}},"created_at":"2018-05-22T15:52:13.000Z","updated_at":"2025-05-08T11:10:43.000Z","dependencies_parsed_at":"2024-08-28T04:27:15.204Z","dependency_job_id":"25ca2ee8-88fc-487a-afa9-83fb3e41a4a2","html_url":"https://github.com/paulocoutinhox/pdfium-lib","commit_stats":{"total_commits":301,"total_committers":8,"mean_commits":37.625,"dds":0.4451827242524917,"last_synced_commit":"0a2328d07e35989d387c00961af4ee6ae20315c2"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulocoutinhox%2Fpdfium-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulocoutinhox%2Fpdfium-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulocoutinhox%2Fpdfium-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulocoutinhox%2Fpdfium-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulocoutinhox","download_url":"https://codeload.github.com/paulocoutinhox/pdfium-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249200,"owners_count":22039029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chromium","cpp","google","library","pdf","pdfium","webassembly"],"created_at":"2024-08-04T04:03:01.885Z","updated_at":"2026-01-08T19:18:09.899Z","avatar_url":"https://github.com/paulocoutinhox.png","language":"Python","funding_links":["https://github.com/sponsors/paulocoutinhox","https://ko-fi.com/paulocoutinho","https://ko-fi.com/A0A412XEV'"],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/paulocoutinhox/pdfium-lib\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg width=\"120\" src=\"extras/images/logo.png\" alt=\"PDFium Library Logo\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ePDFium Library\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/ios.yml\"\u003e\u003cimg src=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/ios.yml/badge.svg\" alt=\"PDFium - iOS\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/macos.yml\"\u003e\u003cimg src=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/macos.yml/badge.svg\" alt=\"PDFium - macOS\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/android.yml\"\u003e\u003cimg src=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/android.yml/badge.svg\" alt=\"PDFium - Android\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/wasm.yml\"\u003e\u003cimg src=\"https://github.com/paulocoutinhox/pdfium-lib/actions/workflows/wasm.yml/badge.svg\" alt=\"PDFium - WASM\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nProject to compile PDFium library to multiple platforms.\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Platforms\n\nThis project currently compiles to these platforms:\n\n- [x] iOS device (arm64)\n- [x] iOS simulator (x86_64, arm64)\n- [X] Android (armv7, armv8, x86, x86_64)\n- [x] macOS (x86_64, arm64)\n- [x] WASM (Web Assembly)\n\nPlatforms in roadmap:\n\n- Linux\n- Windows\n\nObs: PDFium project is from Google and i only patch it to compile to all platforms above. Check all oficial details and PDFium license here:\n\nhttps://pdfium.googlesource.com/\n\n## Web demo\n\nSince this project generate WASM version, i published a demo that you can test PDFium direct on web browser here:\n\nhttps://pdfviewer.github.io\n\nOr with a public PDF as parameter:\n\nhttps://pdfviewer.github.io/?title=Demo%20PDF%20with%201MB\u0026url=https://raw.githubusercontent.com/mozilla/pdf.js-sample-files/master/tracemonkey.pdf\n\n## Requirements\n\n1. Ninja Build\n2. Python 3\n3. PIP\n\nObs: Generally Python 3 already come with PIP installed. Check it with command `python3 -m pip --version`.\n\n## How to compile\n\nThese are the `general` steps that need be executed `before all` others platforms steps.\n\n1. Get the source:\n\n```\ngit clone https://github.com/paulocoutinhox/pdfium-lib.git\ncd pdfium-lib\n```\n\n2. Install PIP requirements:\n\n```\npython3 -m pip install -r requirements.txt\n```\n\n3. Get Google Depot Tools:\n\n```\npython3 make.py build-depot-tools\nexport PATH=$PATH:$PWD/build/depot-tools\n```\n\nObs:\n\n- The file `make.py` need be executed with Python version 3.\n- These steps you only need make `one` time.\n- If you want change `pdfium` git branch, edit file `modules/config.py` and others places with same branch name.\n\n## How to compile for iOS\n\nCheck tutorial here: [Build for iOS](docs/BUILD_IOS.md)\n\n## How to compile for macOS (with Apple Silicon - M1)\n\nCheck tutorial here: [Build for macOS](docs/BUILD_MACOS.md)\n\n## How to compile for Android\n\nCheck tutorial here: [Build for Android](docs/BUILD_ANDROID.md)\n\n## How to compile for WASM\n\nCheck tutorial here: [Build for WASM](docs/BUILD_WASM.md)\n\n## Prebuilt binary\n\nAccess releases page to download prebuilt binaries:\n\nhttps://github.com/paulocoutinhox/pdfium-lib/releases\n\n## How to include files and extend pdfium\n\nCheck tutorial here: [How to include files](docs/HOW_TO_INCLUDE_FILES.md)\n\n## Buy me a coffee\n\nSupport the continuous development of this project.\n\n\u003ca href='https://ko-fi.com/A0A412XEV' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n## My other projects\n\n- XPLPC - Cross Platform Lite Procedure Call: [https://github.com/xplpc/xplpc](https://github.com/xplpc/xplpc)\n- Nativium - C++ Multiplatform Modular Toolkit Template: [https://github.com/nativium/nativium](https://github.com/nativium/nativium)\n\n## License\n\nThis license informations is about this personal project, not the Google PDFium Library.\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2018-2025, Paulo Coutinho\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulocoutinhox%2Fpdfium-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulocoutinhox%2Fpdfium-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulocoutinhox%2Fpdfium-lib/lists"}