Skip to content

bingryan/obsidian-ibook-plugin

Repository files navigation

Obsidian ibook Plugin

It allows you to export your mac ibook hightlights and annotations into your obsidian vault.

Demo Screenshot

Attention

  • If you want to use highlighted text's color from ibook, use this template

  • plugin not work? -> allow obsidian access your mac data, more info visit #63

Requirements(exists default)

The data of mac ibook exists in local sqlite3. and this plugin select database use the local SQLite3

brew install sqlite3

How to Use

export all

cmd + p and input ibook export

export single book by search

cmd + shift + b and search by book name/author

export book info by search goodreads

cmd + shift + i use file name to search book info, and insert current cursor position

Features

[✓] support export by search book name/author

[✓] export ibook hightlights and annotations into your obsidian vault.

[✓] user-defined template

[✓] search book info by goodreads

[✗] More...

For User-Defined Templates

  1. templating language: https://handlebarsjs.com/
    1. built-in loaded handlebars-helpers, handlebars-group-by
  2. available parameters: docs/parameters.md

If you don't know how to use these, you can visit example, and anyone is welcome to provide templates by PR

How to Install

From within Obsidian

you can activate this plugin within Obsidian by doing the following:

  • Open Settings > Third-party plugin
  • Make sure Safe mode is off
  • Click Browse community plugins
  • Search for "Obsidian ibook"
  • Click Install
  • Once installed, close the community plugins window and activate the newly installed plugin