Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Sudiukil/PDFTron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDFTron

Because pdf.js + Electron = ❤

PDFTron is a simple and lightweight PDF reader which is simply Mozilla's pdf.js embedded in an Electron window. See it as a standalone desktop version of pdf.js.

Getting started

Environment

  • NodeJS v6.10.x (or above)

Quickstart

You can use a pre-built version of PDFTron available here.

If you want, you can also run it from source :

  1. git clone https://github.com/Sudiukil/PDFTron && cd PDFTron
  2. npm install
  3. npm start <file.pdf>

Or build it yourself (resume from step previous step 2) by running ./build.sh <platform>, with platform being linux, win32, darwin or all.

License

See LICENSE

For pdf.js license see: LICENSE

Why ?

I simply needed to change my PDF reader and I really like pdf.js, but I want my PDF reader to be a desktop-like app, not some webapp in my web browser.

And yes, I am aware that there are some other pdf.js + Electron apps somewhere on the web, but I wanted to try out Electron for a while, so...