Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How I Built a 100% Client‑Side PDF Suite with WebAssembly and Web Workers (Zero Cloud Storage)

说明与用途

使用 WebAssembly 和 Web Workers 构建的完全客户端 PDF 套件,所有文件在浏览器本地处理,确保隐私和即时性能,无需云端依赖。

问题

Online PDF tools upload sensitive documents to third‑party servers, exposing them to privacy risks, network latency, and high cloud costs.

结果

PDFBlack delivers 40+ PDF tools (merge, compress, Bates numbering, etc.) entirely client‑side, achieving instant processing, zero upload, and no cloud costs.

工作流

  • Select PDF file in browser
  • Upload file to Web Worker via postMessage
  • Worker loads PDF with pdf-lib
  • Perform operations (merge, compress, reorder, numbering)
  • Worker posts modified ArrayBuffer back
  • Main thread creates Blob and triggers download
  • Revoke object URL to free memory

证据

PDFBlack: an open‑source suite of 40+ PDF tools that processes 100% of your documents locally in your browser.

来源

All document processing runs inside dedicated Web Workers.

来源

The project is live at pdf-black.com, and you can explore the codebase on our GitHub repository.

来源

  • 记录日期: 2026-10-10T22:56:16.213Z