Skip to content
Sample to demonstrate integrating WebViewer into an Electron App
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update to 5.1 Jun 24, 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.