Urgent.News

What's breaking now, across thousands of outlets.

Tech

How I Built a 100% Client-Side PDF Powerhouse with WebAssembly and React (Zero Cloud Uploads)

Why Does Every Online PDF Tool Want Your Credit Card and Your Tax Returns? Earlier this month, I had to upload a signed certificate to a government application portal. The portal had one strict requirement: "Uploaded PDF must be strictly below 100 KB." I did what everyone does: searched "compress PDF under 100kb" on Google. Every single top result was a multi-million-dollar SaaS product that:…

In this story, the reporter recounts their frustration with online PDF tools that require credit card information and upload sensitive documents to remote servers. The reporter sought a solution to compress PDF files under 100 KB without using costly SaaS products. After experimenting with modern web browser primitives like WebAssembly, HTML5 Canvas, Web Workers, and pdf-lib, the reporter developed PDFCraft, a completely private, zero-server alternative.

The technical breakdown reveals that PDFCraft operates entirely on the client device, using local memory, local processing engines, and instant download. To meet the strict 100KB target size, the tool extracts binary stream data, uses dynamic binary search quantization for resolution scaling and quantization factors, and performs iterative verification before download. For e-signing, the reporter implemented an in-browser vector signature pad that captures signatures via HTML5 Canvas and embeds them into the PDF page tree.

The ATS Resume Studio feature allows users to create single-page vector PDF resumes compatible with applicant tracking systems, includes a local keyword scanner, and exports the resume as clean, uncompressed vector text for machines to read. The reporter emphasizes that modern browser engines are powerful enough to replace most cloud utilities, and encourages feedback from the developer community on potential additions to the client-side suite. The live web app and open-source repository are linked for further exploration.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Checking Broken URLs After a Site Migration — a small on-demand tool

Checking Broken URLs After a Site Migration — a Small On-Demand Tool Migrations move URLs. A redirect map that looks complete in a spreadsheet can still produce 404s, redirect loops, or unresolved…

  • Tool checks URLs after migration without crawling or alerts
  • Accepts up to 200 URLs per run with customizable settings
  • Outputs status, final URL, redirect chain, and elapsed time

A keyboard-and-contrast baseline for a static CSS demo

Accessibility work often starts with a claim that is bigger than the evidence. A small static page is a good place to practise the opposite: measure what you can see, record what you did not test, and…

  • Five focusable controls emerge after adding accessibility section
  • Keyboard navigation through controls via Tab key
  • Text contrast meets minimum 4.5:1 ratio for all leaf text nodes

More from Thursday 19 November →