1.7.0 • Published 2 years ago

@ekamil/kindle-vocab-cli v1.7.0

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

Export kindle vocabulary to Markdown

This program (script) is a way to liberate your "Vocabulary Builder" highlights from Kindle.

There are alternatives but my goal here was to export in a way compatible with Obsidian - ie. into a directory of markdown files.

Important: backup the output directory before running

The script shouldn't delete anything, but better safe than sorry!

Usage

  1. Connect Kindle with a cable, mount it
  2. (Optional) Copy Kindle's database to your drive cp /Volumes/Kindle/system/vocabulary/vocab.db ./vocab.db
  3. Run the script with npx @ekamil/kindle-vocab-cli --database ./vocab.db --output ./out
  4. Enjoy words and books in the ./out directory

Features

  • grabs all words and books from your Kindle vocabulary database
  • creates WikiLinks between from words to books
  • safe to run repeatedly in the same directory (šŸ¤žšŸ½)

Issues

See issues

āš ļø Unknown how it works with multiple languages and other versions of Kindle. āš ļø

Example output

šŸ“‚ ./out
┣━━ šŸ“‚ books
ā”ƒ   ┣━━ šŸ“„ A Desolation Called Peace 2 Teixcalaan.md (212 bytes)
ā”ƒ   ┣━━ šŸ“„ Accelerate The Science of Lean Software and DevOps Building and Scaling High Performing Technology Organizations.md (290 bytes)
ā”ƒ   ┣━━ šŸ“„ All the Birds in the Sky.md (200 bytes)
ā”ƒ   ┣━━ šŸ“„ Anathem.md (189 bytes)
ā”ƒ   ┣━━ šŸ“„ Ancillary Justice 1 Imperial Radch.md (204 bytes)
ā”ƒ   ┗━━ šŸ‘€ ...
┗━━ šŸ“‚ words
    ┣━━ šŸ“„ abode.md (598 bytes)
    ┣━━ šŸ“„ abseil.md (452 bytes)
    ┣━━ šŸ“„ abstruse.md (656 bytes)
    ┣━━ šŸ“„ abut.md (335 bytes)
    ┣━━ šŸ“„ actively.md (408 bytes)
    ┗━━ šŸ‘€ ...

Inspired by

Heavily inspired by obsidian-kindle-plugin, but without actual integration with Obsidian šŸ˜

Assumptions

  • for reading: highly depends on structure of the Kindle vocabulary database
  • for deduplication: the files have to have readable front matter see this for technical details

Next steps

See issues

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.3-alpha.0

2 years ago

1.0.2-alpha.0

2 years ago

1.0.1-alpha.0

2 years ago