Annotate live HTML pages by simply providing URL. This way you can preserve all the animations and any interactive content. Watch the video to see a demo and walkthrough of the project.
The sample uses WebViewer HTML by PDFTron for annotating HTML, and Website-scraper for scraping the website from URL.
cd client
npm i
cd server
npm i
cd client
npm start
cd server
npm start
- Client app makes the request to the Node.js Express server.
- Node.js Express server serves the endpoint
/website?url=someurl.com
, - From the
url
query parameter, we download all the website dependencies (HTML, CSS, JS, images). - The server responds back with link to access downloaded resources and a thumbnail preview in
base64
. - WebViewer then renders out live HTML that can be annotated.