#highlight #kindle #productivity #convert #format #book #json

bin+lib highlights

Convert kindle highlights into different formats

2 unstable releases

0.2.0 Oct 2, 2022
0.1.0 Oct 2, 2022

#1689 in Text processing

MIT/Apache

21KB
468 lines

Highlight Converter

Converts exported kindle highlights to other formats.

Motivation

After reader finishes a Kindle book it is handy to place highlights from the book into some readable format for revisiting it later. The highlights utility is created to convert exported highlights to other formats more suitable for placing into note-taking software.

Installation

Use cargo to install the highlights tool locally:

cargo install highlights

Usage

Usage: highlights [SOURCE] [TARGET]

Arguments:
  [SOURCE]  input file
  [TARGET]  output file

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Examples

Read highlights from the bookcision json file and render to the output stream.

highlights input.json

Read highlights from the bookcision json file and render to the file.

highlights kasparov.json kasparov.md

Supported output formats

Markdown

The highlights are suitable for importing into the Obsidian or similar software that works with Markdown format.

Supported input formats

Bookcision JSON

A free bookcision service provides a way to export kindle highlights to the json file. Highlight support those files as an input.

Dependencies

~1.6–2.6MB
~50K SLoC