Because pdf.js + Electron = ❤
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.
You can use a pre-built version of PDFTron available here.
If you want, you can also run it from source :
git clone https://github.com/Sudiukil/PDFTron && cd PDFTron
npm install
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.
See LICENSE
For pdf.js license see: LICENSE
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…