Compare PDFs

Drag and drop two PDF files here, or click to select files

Claude 3.5 Sonnet prompts used:

  1. Build a tool where I can drag and drop on two PDF files and it uses PDF.js to turn each of their pages into canvas elements and then displays those pages side by side with a third image that highlights any differences between them, if any differences exist
  2. rewrite that code to not use React at all