Project status: proof of concept
Extract annotations (highlights) from Kobo books into a markdown file.
Uses the .epub.annot
XML file as a source.
Run cargo run -- /full/path/to/file
It will output a file at /full/path/to/file.md
.
Run cargo test
.
- add tests
- properly handle XML namespaces ?! (check this conversation)
- separate into different files w/ own responsibility
- handle lines return
- add documentation (ADR, use cases...)
- templatize output?
- handle relative file path
- customize output destination
- (optionnally) use ebook to get highlight's context (e.g. nearest sub-title) ?
- ability to use as a library as well as a CLI? (i.e. decouple lib and CLI) / modules
- version
- generalize result pattern