bookcision /

Filename Size Date modified Message
374 B
2.2 KB
20 B
56 B
11.4 KB
2.0 KB
8.8 KB
104 B
376 B
1.1 KB
209.7 KB
2.9 KB
109 B


When highlights and notes are created on any Kindle device, they are synced up to Amazon's cloud. These are then visible at, but there is no reason to believe that Amazon will continue to provide this service forever, and our ability to work with text in that hosted browser-based environment is limited. This is a bookmarklet that permits one to excise notes/highlights from It yields a single page of cleanly styled notes/highlights, which can then be copied to one's clipboard and pasted into a local text repository (OneNote, Evernote, DevonThink, etc.). The highlights and notes can also be downloaded in a number of formats (e.g. JSON).



Setting up project for development

  1. hg clone the project locally.
  2. npm install
  3. Copy .example.json to .json and fill in real credentials.

Installing a module

rm npm-shrinkwrap.json & npm i [MODULE] --save & npm shrinkwrap

Updating all packages


Releasing a version

  1. Commit code with a sensible comment.
  2. grunt release:prerelease to:

    1. Increment the version number (using npm version prerelease).
    2. Commit the change to the repository.
    3. Publish to Azure (but not the directory served publicly).
    4. Notify Rollbar of the new sourcemap to download.

    or grunt release:major, release:minor, or release:patch to perform the steps above and additionally release live (publish to the 'latest' directory in Azure).

Testing CORS support on Azure

Preflight request:
curl -H "Origin:" -H "Access-Control-Request-Method: GET" -i -X OPTIONS --verbose
curl -H "Origin:" --verbose