Skip to content
Sample to demonstrate integrating WebViewer into an Electron App
JavaScript HTML
Branch: master
Clone or download
Latest commit aaad5e8 Aug 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update to 5.1 Jun 24, 2019
LICENSE Initial Commit Feb 11, 2019 Update Aug 15, 2019
package.json update sample to remove license key requirements Jun 6, 2019

WebViewer - Electron sample

WebViewer is a powerful JavaScript-based PDF Library that's part of the PDFTron PDF SDK. It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.

WebViewer UI

This repo is specifically designed for any users interested in integrating WebViewer into an Electron project.

Initial setup

Before you begin, make sure your development environment includes Node.js.


git clone
cd webviewer-electron-sample
npm install


npm start


Since Electron builds are platform specific, please refer to the guides to learn how to build your project for production.

WebViewer APIs

See API documentation.


See license.

You can’t perform that action at this time.