Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndyag/kindle2anki
Export Vocabulary Builder to Anki APKG
https://github.com/ndyag/kindle2anki
anki kindle
Last synced: 6 days ago
JSON representation
Export Vocabulary Builder to Anki APKG
- Host: GitHub
- URL: https://github.com/ndyag/kindle2anki
- Owner: NdYAG
- License: mit
- Created: 2018-02-26T01:09:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T07:39:42.000Z (3 months ago)
- Last Synced: 2024-10-30T22:07:38.246Z (6 days ago)
- Topics: anki, kindle
- Language: JavaScript
- Homepage:
- Size: 372 KB
- Stars: 94
- Watchers: 5
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Export Kindle Vocabulary Builder to Anki APKG
![](./kindle_anki.png)
[Vocabulary Builder](https://www.amazon.com/gp/help/customer/display.html?nodeId=201733850) is one of my favorite features on Kindle. With a tap on the word, it pops up a window displaying definitions and at the same time creates a flashcard in the background. What's more, it saves the sentences where the word appreares, which makes it easier to remember words. However, E-Ink is not ideal for frequent paging, and it seems that Vocabulary Builder doesn't have an algorithm on tracking forgeting curve.
This script helps to export Vocabulary Builder word list into an Anki apkg file.
```shell
npm install
node Kindle2Anki.js --vocab vocab.db --dict dict.rawml
```1. Find `vocab.db` located in `/[Kindle Volumn]/system/vocabulary/vocab.db`
2. Find the dictionary file in Kindle, for example `/[Kindle Volumn]/documents/现代汉英词典_B00771V9HS.azw`
3. Use [libmobi](https://github.com/bfabiszewski/libmobi) to export dictionary into a `rawml` format file (usually the dictionary file has DRM by Amazon, and keep in mind that libmobi and DeDRM is only for personal usages under such condition)
4. Run the command above.