Git cloning to local repository of the latest demo

Hi, we’ve been newly licensed to pdf.js express and rest utility API and have some basic questions below.

How can we clone “PDF.js Viewer Demo | PDF.js Express” module to local git repository? We already tried the “PDF.js Express Web Viewer Samples | Documentation” successfully, but want to try with the latest demo with “download” button on the left pane. Is this download button using rest utility API?

Hey there,

The demo on the website is not open source so there is no repo to clone.

But yes, the download button is using the rest API, but only to merge annotations into the document.

This guide should have enough information to implement this yourself.

In the website demo, we are using the merge endpoint to merge the annotations into the document.

If you have any more questions, please let me know!