Skip to content

Commit

Permalink
README: Add more info about json/mongodb exporter in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
yifan-gu committed May 29, 2024
1 parent cda37f1 commit b41dc90
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,28 @@ git clone git@github.com:yifan-gu/blueNote.git && go build
#### Export notes as html using the Kindle App
![Export Notes From Kindle App](screenshots/export-notes-from-kindle-app.png)


#### Convert notes to JSON
```
./blueNote convert -i kindle-html -o json --json.pretty examples/kindle_html_single_book_example.html ./
```

#### Convert notes to JSON and load into MongoDB
```
./blueNote convert -i kindle-html -o mongodb examples/kindle_html_single_book_example.html ./
```

#### Convert notes to org-roam files
```
./blueNote convert -i kindle-html -o org-roam examples/kindle_html_single_book_example.html ./
```

#### Add `-s` if the book is a collection of multiple books
```
./blueNote convert -i kindle-html -o org-roam -s examples/kindle_html_collection_example.html ./
./blueNote convert -i kindle-html -o json --json.pretty -s examples/kindle_html_collection_example.html ./
```

#### Browse and edit the notes with tags
#### Browse and edit the notes with tags with Emacs Org
![View and Edit Notes in Emacs Org-roam](screenshots/view-notes-with-emacs-org-roam.png)

#### Remember to run `M-x org-roam-db-sync` to sync the org-roam database
Expand Down

0 comments on commit b41dc90

Please sign in to comment.