kindle-clipping-sync

Checks for a kindle mount event and commits clippings to a git repository. Tested on a Kindle 3 (keyboard). Works on Linux.

Usage no npm install needed!

<script type="module">
  import kindleClippingSync from 'https://cdn.skypack.dev/kindle-clipping-sync';
</script>

README

app logo kindle-clipping-sync

Checks for a kindle mount event and commits clippings to a git repository. Tested on a Kindle 3 (keyboard). Works on Linux.

app screenshot

Installation

$ npm install -g kindle-clipping-sync

:warning: For ubuntu 16.04, if you're getting an error when trying to install nodegit that looks like this: configure: error: cannot find OpenSSL or Libgcrypt, try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH, install libssl-dev (sudo apt install libssl-dev). Relevant nodegit issue

Usage

$ kindle-clipping-sync --repo-path /path/to/repo/.git

When a kindle is mounted, clippings will be copied over to /path/to/repo/<serialNumber>/clippings.txt and committed if there are changes.

Building

Requires

  • node >= 4.0.0
  • npm
  • gulp

To install dependencies run npm install

To build run gulp build, the app will be in the lib/ folder