https://github.com/akatopo/kindle-clipping-sync
Checks for a kindle mount event and commits clippings to a git repository
https://github.com/akatopo/kindle-clipping-sync
git kindle nodegit
Last synced: about 2 months ago
JSON representation
Checks for a kindle mount event and commits clippings to a git repository
- Host: GitHub
- URL: https://github.com/akatopo/kindle-clipping-sync
- Owner: akatopo
- License: isc
- Created: 2016-07-05T16:12:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T16:51:43.000Z (almost 5 years ago)
- Last Synced: 2024-03-24T12:40:40.910Z (about 2 years ago)
- Topics: git, kindle, nodegit
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
#
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.

## 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](https://github.com/nodegit/nodegit/issues/728#issuecomment-247030632)
## Usage
```
$ kindle-clipping-sync --repo-path /path/to/repo/.git
```
When a kindle is mounted, clippings will be copied over to `/path/to/repo//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