@rsletta Really appreciate you having a go at this!

1 Like

I just bought a Kobo and installed KOReader and I see that it support sending notes to joplin (because joplin offers API).
I’m a backend nodejs developer so creating a (partial) API compatible with joplin should be fairly easy, this way I can create a obsidian plugin to send highlights and notes from KOReader … is anyone interested or is something that can already be achieved in some way?

At this point I’m even considering buying a kindle because I can’t integrate my Kobo notes properly with my PKM system. So yes, Im definitely interested!!

Are you using koreader or the native reader on your kobo?

Native at the moment, had Koreader on it previously, but I think that got wiped off with an previous update and never bothered to install it again. But that would definitely change if I could export my notes with Koreader to Obsidian.

I don’t use a Kobo, I just really like the KOReader on Android since it offers many features and makes any tablet a good ereading device. I’m experienced in Python and it would be fairly easy to write a Python exporter and parser like the one posted above… I just don’t know how to package that into a Obsidian plugin. No experience with Javascript… yet.

I’m working on a proof of concept and I’m having fun with the Obsidian API.

I was thinking to create a single obsidian note for each note taken in a book (instead of the kindle plugin that put all the notes in a note for the book).

Not sure if I’m able to made myself clear (English isn’t my first language and I have a strong headache right now).

The code itself is ugly as hell but it’s a working proof of concept GitHub - Edo78/obsidian-koreader-sync: Obsidian.md plugin to sync highlights/notes from koreader

Right now I still haven’t released it yet so if you want to test it you must follow the same instructions as if you want to develop a plugin.

I’m planning to refactor the code and made a first beta release in the weekend so if you aren’t eager to test it you can wait a few days.

1 Like

Oooo I’m very eager! But since I’m not that technical and its weekend by now, I guess I’ll wait a few days more :slight_smile:

I had some free time, so I was ahead of my schedule. As soon as they approve my [PR] (Add obsidian-koreader-sync to community plugins list by Edo78 · Pull Request #738 · obsidianmd/obsidian-releases · GitHub) my plugin can be installed like any other community plugin.

BTW, I only have Linux, so I can’t test it with other operating systems (I’m pretty sure it shouldn’t have any major problems on Mac but I have no idea how it might behave on Windows).

Anyway any feedback will be welcomed

2 Likes

Perfect! I would be able to test it on Mac and Windows this weekend.

I took a look at the GitHub ReadMe. Will the plug-in generate a note for each highlight/note made in Koreader or a new note for each book with all associated highlights?

1 Like

The plugin KOReader Sync is now available :sunglasses:

Right now it generate an obsidian note for each note in koreader so a single book can have multiple notes.

Do you prefer a single big note for each book?

1 Like

Thank you very much for this. I’ve tested it with my rather large KoReader library that I use Syncthing to sync between multiple devices. Just pointed the plugin at the Sync folder, and setup the destination for the notes. Worked just as needed, and now I can read on other devices, click one button, and know the things I’ve highlighted will be captured/noted in Obsidian for later combination with other notes.

I’m fine with separate files vs one big file, since I don’t think the management of updating notes in the file is going to ever be a “nice” experience, my idea is to just link these extracted notes from other actual notes with my thoughts (and combine multiple together if I need to).

1 Like

An happy user is a great reward, thank you.

BTW I already found a bug. If the title of the book contains “forbidden” chars (eg. \ / : ) then Obsidian thrown an error if you click on it to create a note.

If you have any issues or suggestions you are more than welcome to report them Issues · Edo78/obsidian-koreader-sync · GitHub

I released a new version with a breaking change.
All the old notes have to be removed or they will be duplicated. I’m really sorry about this but now the name of the note can be freely changed.

Hi there, I’m using KoReader on an Android phone, is this plugin compatible? Clicking the button doesn’t do anything - is this because my phone isn’t mounted as a drive?

It should works … I’m not sure about the right path to have in the settings …
If your are you on linux/mac you can try:
find [path] -iname metadata.\*.lua (replace [path] with the path you use in the settings)
This way you can check if it’s right and if the system can find those files.

Ok this is marvelous work @Edo78! I had to adjust the path on a Mac to /Volumes/KOBOeReader and after that it worked like a charm. I love the fact that so many metadata is also captured. And I must say, I’m also very happy that I switched to KOReader again. Making notes and highlights is a much smoother proces than on the native reader :smile: .

For my workflow however, a singular big file for each book would be ideal. Maybe it’s a bit excessive, but I probably highlight something every 2 pages. I use those to make literature notes after I’ve finished the whole book, only after which I distill singular atomic notes from that big literature note.

I don’t like to make notes while reading, so I usually err on the side of too many highlights so I can still grasp the essence of the text just by rereading my highlights. So with the current setup that would mean around 150 separate notes for a 300 page book.

I would love to see an option that would result in something similar like the attached picture. I really like the fact that the chapter is captured. This would help me so much in quickly seeing the general outline of the book and my notes.

I really don’t know if this would be possible and I’m already extremely grateful for the current plugin, so sorry if I’m over-asking!

1 Like

I’m glad that you like my work. Don’t be afraid to ask new features, in the worst case I’m not gonna do it :wink:

This request is already an open issue All annotations in the same note · Issue #9 · Edo78/obsidian-koreader-sync · GitHub and if you want to be update (and if you have or want a github account) you can subscribe to that issue.

BTW I recently released version 0.2.0 with support for custom template so this should be fairly easy to do.

In the meantime, if you are familiar with Dataview, I have detailed few example that can help you creating a view similiar to your screenshot. Sadly it will be readonly but with a link to the original note you can quickly jump to a note to edit/remove it.