This is proof-of-concept for embedding highlights into PDF documents.
- Client-side code fetches the PDF from arxiv.org (client-side)
- Client-side code pushes PDF as binary data to the server, together with coordinates for highlights
- Server code embeds the highlights into the PDF document
- Server code sends data back to the client
npm install
npm start
open http://localhost:3000