https://github.com/daneden/kindle-airtable-sync
A JavaScript/Node utility to publish Kindle Highlights to an Airtable base
https://github.com/daneden/kindle-airtable-sync
Last synced: 5 months ago
JSON representation
A JavaScript/Node utility to publish Kindle Highlights to an Airtable base
- Host: GitHub
- URL: https://github.com/daneden/kindle-airtable-sync
- Owner: daneden
- Created: 2020-06-08T17:04:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T08:42:39.000Z (almost 3 years ago)
- Last Synced: 2024-05-09T10:02:00.312Z (about 2 years ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kindle Highlights to Airtable Sync
This little JavaScript utility syncs your Kindle Highlights to a specified Airtable base.
## Instructions
1. **Create an Airtable base with the following fields:**
| name | type |
|------|------|
| title | `string` |
| author | `string` |
| note | `string` |
| date | `string (ISO 8601 formatted date)` |
| pageNumber | `number` |
| locStart | `number` |
| locEnd | `number` |
2. **Populate `.env` file.** Copy the `.env.example` file to `.env` and replace the placeholder values. If you plug your Kindle into your Mac, you’ll find your clippings at `/Volumes/Kindle/documents/My Clippings.txt`
3. **Run `yarn install`** to install dependencies.
4. **Run `yarn start` to run.**
## Known Issues/Caveats
- This has only been tested on a relatively small clippings file so there are almost definitely edge cases I haven't caught yet.
- Sometimes the regex used to parse the metadata may fail, causing the record creation to fail altogether
- There's no deduplication that happens (yet), so subsequent runs may create identical records