Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dimasmith/highlights

A tool to convert highlights from Kindle application to various formats
https://github.com/dimasmith/highlights

kindle markdown obsidian

Last synced: 2 days ago
JSON representation

A tool to convert highlights from Kindle application to various formats

Awesome Lists containing this project

README

        

# 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:

```shell
cargo install highlights
```

## Usage

```shell
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.

```shell
highlights input.json
```

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

```shell
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](https://readwise.io/bookcision) service provides a way to export
kindle highlights to the json file.
Highlight support those files as an input.

## Samples

You can check resulting formatted highlights in `samples` directory.

- `default_markdown.md` - example of markdown highlights with default formatter;