Zotero Annotations and Metadata Importer

My very first library! Saw a few options floating around for importing metadata from Zotero, but wanted to take it a step further and import highlights and notes from PDFs in as well so that Silverbullet could remain the 'single point of truth' while still getting to keep Zotero's functionality for citation management etc. Not sure how much overlap there is between Zotero and Silverbullet, but oh well.

was inspired by this old thread, and I borrowed quite a lot from @Mr.Red's media manager, I hope you don't mind!

Repo is here: SilverBullet---Zotero-Annotations-and-Metadata-Importer/Library.md at main · hihyph/SilverBullet---Zotero-Annotations-and-Metadata-Importer · GitHub

Functionality:

And that's it!

The space-lua might be a bit convoluted, as I say I'm very new at all this, so feedback is more than welcome.

5 Likes

This is so cool. I was considering building a similar thing haha...

Quick question, importing seems to rely on zotero sync? If I do not have all items synced with zotero cloud, is it still possible to locally let zotero and SB talk to each other?

1 Like

Thank you!

Yeah, I did it via zotero sync because they have such good documentation on their online api so it was just easier.

Theoretically you could do it locally as long as Silverbullet and Zotero are on the same machine, but you might run into issues with the zotero program having to be running for it to work.

I believe there are some self hosted sync options for zotero which might work if you can be bothered, but I haven't done this myself.