Git Product home page Git Product logo

polar-bookshelf's Introduction

Polar Bookshelf

Polar Bookshelf is a PDF manager created using Electron framework and PDF.js with added support for incremental reading, pagemarks, and progress tracking.

Pagemarks are a new proof of concept reading style inspired from incremental reading. Essentially they allow suspend and resume of reading for weeks and months in the future until you're ready to resume, without losing your place. This works even if you jump around in a book (which is often in technical or research work).

Roadmap

The long term goal is to implement the following functionality:

  • Automatic metadata extraction of thumbnails, marked up text, and notes and support migration into 3rd party spaced repetition systems like Anki.

  • Additional annotation types like area highlight, text highlight, plus a complex feature set like notes and tags for these objects.

  • Flashcards will be notes designed and marked specifically to be converted to flashcards for usage in spaced repitition systems. They will have extended metadata including front and back of the card as well as support for cloze deletions, and the ability to include extended metadata like the source text to which the flashcard was attached.

  • Fully distributed. You control your notes. You can export them to Evernote, Google Drive, etc but Polar keeps track of your notes for you.

  • Distributed collaboration with other Polar users.

  • Tagging system and the ability to perform advanced functions on the tags.

  • Native cloud sync.

  • Management UI for all the notes you've worked on (editing, changing them, adding metadata, etc).

  • Ability to pull down ISBN metadata

  • Abilty to pull down metadata by academic paper ID using various platform APIs.

Principles

We believe the following design principles are core to seeing this as a successful project.

  • All the data should support long term file formats. The on disk format we use is JSON.

  • Portability to all platforms is critical. We're initially targeting Linux (Ubuntu), MacOS, and Windows. You shouldn't have to pick a tool, which you might be using for the next 5-10 years, and then get stuck to a platform which may or may not exist in the future.

Usage

We currently only support pagemarks but this is the main functionality I wanted implemented.

The pagemarks are persisted on disk in your ~/.polar directory and when you re-open a PDF your pagemarks are restored.

Additionally there is a progress bar that tracks the progress of the document based on the number of pagemarks you've created.

Right now usage is only via keyboard bindings (for pagemarks).

Linux / Windows key bindings

  • Control Alt N - create a new pagemark on the current page
  • Control Alt click - create a pagemark on the page up until the current mouse click
  • Control Alt E - erase the current pagemark

MacOS Key bindings

  • Meta-Command N - create a new pagemark on the current page
  • Meta-Command click - create a pagemark on the page up until the current mouse click
  • Meta-Command E - erase the current pagemark

Installation

Packages for MacOS and Linux are available in Releases

Windows builds are still alpha quality as I can't test them. The builds work and generate .exe setup files but I need feedback from the community on whether they work and how well they work.

Build from source

Install NodeJS and npm for your platform.

To run:

$ git clone https://github.com/burtonator/polar-bookshelf
$ cd Electron-PDF-Viewer
$ npm install && npm start

Run with advanced logging:

./node_modules/.bin/electron --enable-remote-debugging --interactive --enable-console-logging .

License

PDF.js is available under Apache License. Electron is released under MIT License. Rest of the code is MIT licensed.

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.